Template:Rarity: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:Name|Abbr|Sets (label=Sets Used In)|Notes}} | {{#template_params:Name|Abbr|Sets (label=Sets Used In)|Notes}} | ||
{{#cargo_declare:_table=Rarities|Name=String(unique,mandatory)|Abbr=String(mandatory)|Sets=List (,) of String|Notes=String}} | {{#cargo_declare:_table=Rarities|Order=Integer|Name=String(unique,mandatory)|Abbr=String(mandatory)|Sets=List (,) of String|Notes=String}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Rarities}} | </noinclude><includeonly>{{#cargo_store:_table=Rarities}} | ||
{{#template_display:_format=infobox}}</includeonly> | {{#template_display:_format=infobox}}</includeonly> |
Revision as of 06:19, 25 September 2022
This is the "Rarity" template.
It should be called in the following format:
{{Rarity |Name= |Abbr= |Sets= |Notes= }}
Edit the page to see the template text.
Error: "Order" cannot be used as a Cargo field name, because it is an SQL keyword.