Template:Accessories: Difference between revisions
From Ethene
Content added Content deleted
m (Removed auto link on Inheritance) |
m (Add switch parser to check for type field to render icon.) |
||
Line 5: | Line 5: | ||
[[Category:Templates/Headers|{{PAGENAME}}]] |
[[Category:Templates/Headers|{{PAGENAME}}]] |
||
<pre>{{Accessories |
<pre>{{Accessories |
||
|Type= |
|||
|Image= |
|Image= |
||
|Description= |
|Description= |
||
Line 15: | Line 16: | ||
</noinclude><includeonly>[[category:Accessories]] |
</noinclude><includeonly>[[category:Accessories]] |
||
{| class=wikitable style="padding=10px; width: 50%; margin: left;" |
{| class=wikitable style="padding=10px; width: 50%; margin: left;" |
||
!colspan="4" style="font-size:20px; position:relative" | {{#if: {{{Name|}}}|{{{Name}}}|{{PAGENAME}}}}<span style="position:absolute;left:4px">{{#switch: {{{Type}}} | Ring = [[File:Akuse-yubi-ico.png]] | Chest = [[File:Akuse-mune-ico.png]] | Crest = [[File:Akuse-monsyou-ico.png]] | Waist = [[File:Akuse-kuse-ico.png]] | Necklace = [[File:Akuse-kubi-ico.png]] | Other = [[File:Akuse-hoka-ico.png]] | Card = [[File:Akuse-fuda-ico.png]] | Face = [[File:Akuse-kao-ico.png]] ||}}</span> |
|||
!scope="col" colspan ="4" style=font-size:20px; | {{#if: {{{Name|}}}|{{{Name}}}|{{PAGENAME}}}} |
|||
|- |
|- |
||
| colspan="5" style="border: 0px ; text-align: center;" | |
| colspan="5" style="border: 0px ; text-align: center;" | |