Difference between revisions of "Template:ItemRow"
Jump to navigation
Jump to search
m (Fix typo) |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<tr style="text-align:center;"> | <tr style="text-align:center;"> | ||
<td style="font-size:200%;padding-left:10px;padding-right:10px;">{{{1| | {{#if:{{{1|Number|}}}| | ||
<td style="padding:2px;">[[File:{{lc:{{{2| | <td style="font-size:200%;padding-left:10px;padding-right:10px;">{{{1|Number|}}}</td> | ||
<td style="padding-left:10px;padding-right:10px; | |}} | ||
<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|HighQuality|}}} |HQ=[[File:hq small icon1.png{{!}}link=]]|default=}}</td> | |||
</tr> | </tr> | ||
</includeonly> | </includeonly> | ||
Line 13: | 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 20: | 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 |