Template:Item: Difference between revisions

1,383 bytes added ,  2 years ago
no edit summary
(Initial setup)
 
No edit summary
Line 1:
<templatestyles src="Item/item.css" />
<includeonly>[[File:{{{1|}}}|64px|link={{#explode:{{{1|}}}|.|0}}|alt={{#explode:{{{1|}}}|.|0}}]]</includeonly><noinclude>{{Item|Equipment_Icon_Badge_Tier1.png}}</noinclude>
<includeonly><table class="wikitable itemtable">
<tr class="itemtable-summary">
<td colspan="4">[[File:{{{Icon|}}}|center|{{{NameEN|}}}]]{{#if: {{{NameEN|}}} | <span class="item-name-main">{{{NameEN|}}}</span> }}{{#if: {{{NameJP|}}} | <span class="item-name-sub">{{{NameJP|}}}</span> }}
<div class="item-description"><tabber>
English={{{DescriptionEN|}}}
|-|
Japanese={{{DescriptionJP|}}}
</tabber></div>
</td>
</tr>
<tr class="data-row">
<th>Rank</th>
<td>{{Rarity|{{{Rarity|}}}}}</td>
<th>Comfort</th>
<td>{{{Comfort|}}}</td>
</tr>
<tr>
<th>Tags</td>
<td colspan="3">{{#forargs: Tag
| key
| value
| {{#var: value }}
}}</td>
</tr>
{{#if: {{{Favorite1|}}} | <tr><th>Favorite gift</td><td colspan="3">{{#forargs: Favorite
| key
| value
| [[File:{{{value|}}}.png|frameless|48px|alt={{{value|}}}|link={{{value|}}}|class=interaction-portrait]] [[{{{value|}}}]]
}}</td></tr> }}
 
 
</table>{{#ifeq:{{NAMESPACE}}||[[Category:Items]] {{#if: {{{Category|}}} | [[Category:{{{Category|}}}]]}} }}{{#ifexist: Image:{{{Icon|{{PAGENAMEE}}.png}}} | {{#seo: |image = {{{Icon|{{PAGENAMEE}}.png}}} |image_alt = {{{NameEN|}}} }} | }}{{#seo:
|title={{{NameEN|}}}
|title_mode=append
|keywords={{{NameEN|}}},item,crafting,gift
|description={{{NameEN|}}} is a {{{Rarity|}}}-star {{{Category|}}} item. {{{DescriptionEN|}}}
}}</includeonly>