Difference between revisions of "Template:AstralPrice"

From DDO Compendium
Line 4: Line 4:
|description = This template is used to render the cost of something, in Astral currency.
|description = This template is used to render the cost of something, in Astral currency.
|category=Shared Templates
|category=Shared Templates
|example1=<nowiki>{{AstralPrice|10}}</nowiki>
|example1=<nowiki>{{AstralPrice|1}}</nowiki>
|example1output={{AstralPrice|10}}
|example1output={{AstralPrice|1}}
|example2=<nowiki>{{AstralPrice|10}}</nowiki>
|example2output={{AstralPrice|10}}
|parameter1name = cost
|parameter1name = cost
|parameter1description = The number of shards
|parameter1description = The number of shards
}}
}}
</noinclude><onlyinclude>{{formatnum:{{{1}}}}}x [[File:Astral Shard.png|link=|Shard]] Astral Shard</onlyinclude>
</noinclude><onlyinclude>{{formatnum:{{{1}}}}}x [[File:Astral Shard.png|link=|Shard]] Astral Shard{{#ifexpr: {{{1}}}>1|s}}</onlyinclude>

Revision as of 17:03, 21 July 2021


AstralPrice[edit]

This template is used to render the cost of something, in Astral currency.

Example Usage
{{AstralPrice|1}}1x Shard Astral Shard
{{AstralPrice|10}}10x Shard Astral Shards

Usage[edit]

{{AstralPrice|(cost)}}

Parameter Documentation
costThe number of shards

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


{{{1}}}x Shard Astral ShardExpression error: Unrecognized punctuation character "{".