Difference between revisions of "Template:ItemRow"
Jump to navigation
Jump to search
m (Fix typo) |
|||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
|}} | |}} | ||
<td style="padding:2px;">[[File:{{lc:{{{2|Name}}} }} icon1.png{{!}}link={{{2|Name}}}]]</td> | <td style="padding:2px;">[[File:{{lc:{{{2|Name}}} }} icon1.png{{!}}link={{{2|Name}}}]]</td> | ||
<td style="padding-left:10px;padding-right:10px;{{#if:{{{1|Number|}}}||colspan="2";}}">{{{2|Name}}} {{#switch:{{{3| | <td style="padding-left:10px;padding-right:10px;{{#if:{{{1|Number|}}}||colspan="2";}}">{{{2|Name}}} {{#switch:{{{3|HighQuality|}}} |HQ=[[File:hq small icon1.png{{!}}link=]]|default=}}</td> | ||
</tr> | </tr> | ||
</includeonly> | </includeonly> | ||
Line 15: | Line 15: | ||
|Number= The ammount of item to display | |Number= The ammount of item to display | ||
|Name= of the item | |Name= of the item | ||
|HQ(Optional to display the symbol) | |HighQuality=HQ (Optional to display the symbol) | ||
}} | }} | ||
</pre> | </pre> | ||
Line 22: | Line 22: | ||
{{GameContainer| | {{GameContainer| | ||
{{ItemRow|5|Darksteel Ingot}} | {{ItemRow|5|Darksteel Ingot}} | ||
{{ItemRow| | {{ItemRow|99|Darksteel Ingot|HQ}} | ||
}} | }} | ||
</pre> | </pre> |
Latest revision as of 21:47, 19 May 2021
An item row. It must be placed inside a <table> tag or in a {{GameContainer}}
{{ItemRow |Number= The ammount of item to display |Name= of the item |HighQuality=HQ (Optional to display the symbol) }}
{{GameContainer| {{ItemRow|5|Darksteel Ingot}} {{ItemRow|99|Darksteel Ingot|HQ}} }}
5 | Darksteel Ingot | |
99 | Darksteel Ingot |