Template:Item: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
mNo edit summary |
(Additional fields support: Character, SplashIcon) |
||
Line 2: | Line 2: | ||
<includeonly><table class="wikitable itemtable"> |
<includeonly><table class="wikitable itemtable"> |
||
<tr class="itemtable-summary"> |
<tr class="itemtable-summary"> |
||
<td colspan="4"> |
|||
⚫ | |||
{{#if: {{{SplashIcon|}}} |
|||
| [[File:{{{SplashIcon|}}}|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> |
<div class="item-description"><tabber> |
||
English={{{DescriptionEN|}}} |
English={{{DescriptionEN|}}} |
||
Line 16: | Line 20: | ||
<td>{{{Category|}}}</td> |
<td>{{{Category|}}}</td> |
||
</tr> |
</tr> |
||
{{#if: {{{Tag1|}}} | <tr> |
|||
<th>Tags</td> |
<th>Tags</td> |
||
<td colspan="3">{{#sub:{{#forargs: Tag |
<td colspan="3">{{#sub:{{#forargs: Tag |
||
Line 24: | Line 28: | ||
}}|0|-6}}</td> |
}}|0|-6}}</td> |
||
</tr> |
</tr> |
||
}} |
|||
{{#if: {{{Favorite1|}}} | <tr><th>Favorite gift</td><td colspan="3" class="itemtable-related">{{#forargs: Favorite |
{{#if: {{{Favorite1|}}} | <tr><th>Favorite gift</td><td colspan="3" class="itemtable-related">{{#forargs: Favorite |
||
| key |
| key |
||
Line 34: | Line 39: | ||
| {{#ifexist: {{#var: value }} | <div>[[File:{{#var: value }}.png|frameless|48px|alt={{#var: value }}|link={{#var: value }}|class=related-portrait]] [[{{#var: value }}]]</div> |
| {{#ifexist: {{#var: value }} | <div>[[File:{{#var: value }}.png|frameless|48px|alt={{#var: value }}|link={{#var: value }}|class=related-portrait]] [[{{#var: value }}]]</div> |
||
}} }}</td></tr> }} |
}} }}</td></tr> }} |
||
{{#if: {{{Character|}}} | <tr><th>From</td><td colspan="3" class="itemtable-related">{{#ifexist: {{{Character|}}} | <div>[[File:{{{Character|}}}.png|frameless|48px|alt={{{Character|}}}|link={{{Character|}}}|class=related-portrait]] [[{{{Character|}}}]]</div> |
|||
}} </td></tr> }} |
|||
</table>{{#ifeq:{{NAMESPACE}}||{{#if: {{{Category|}}} | [[Category:{{{Category|}}}]]}} }}{{#ifexist: Image:{{{Icon|{{PAGENAMEE}}.png}}} | {{#seo: |image = {{{Icon|{{PAGENAMEE}}.png}}} |image_alt = {{{NameEN|}}} }} | }}{{#seo: |
</table>{{#ifeq:{{NAMESPACE}}||{{#if: {{{Category|}}} | [[Category:{{{Category|}}}]]}} }}{{#ifexist: Image:{{{Icon|{{PAGENAMEE}}.png}}} | {{#seo: |image = {{{Icon|{{PAGENAMEE}}.png}}} |image_alt = {{{NameEN|}}} }} | }}{{#seo: |
||
|title={{{NameEN|}}} |
|title={{{NameEN|}}} |
||
|title_mode=append |
|title_mode=append |
||
|keywords={{{NameEN|}}},item,crafting,gift |
|keywords={{{NameEN|}}},item,crafting,gift |
||
|description={{{NameEN|}}} is a {{{Rarity|}}}-star |
|description={{{NameEN|}}} is a {{{Rarity|}}}-star {{lc: {{{Category|}}} }} item. {{{DescriptionEN|}}} |
||
}}</includeonly> |
}}</includeonly> |
||
<noinclude> |
<noinclude> |