Difference between revisions of "Template:Material"
Jump to navigation
Jump to search
>Eave (optionally show (small) variation of icon in tabber) |
>Eave (attempt to remove the small icons from the list of wanted pages - if this doesn't work then I'll revert until there's a better solution) |
||
| Line 48: | Line 48: | ||
<div style="width:350px;text-align:center">{{#vardefine:icon|{{#ifexist: File:{{{Id|}}}.png | [[File:{{{Id|}}}.png|160px]] | [[File:Unknown.png|160px|link=File:{{{Id|}}}.png]] }}}}<!-- | <div style="width:350px;text-align:center">{{#vardefine:icon|{{#ifexist: File:{{{Id|}}}.png | [[File:{{{Id|}}}.png|160px]] | [[File:Unknown.png|160px|link=File:{{{Id|}}}.png]] }}}}<!-- | ||
If the (Small) version of the icon exists, show it in a tabber, otherwise just show the main icon | If the (Small) version of the icon exists, show it in a tabber, otherwise just show the main icon | ||
| − | -->{{ | + | -->{{exists|File:{{{Id|}}} (Small).png | |
| − | | | + | then={{#tag:tabber| |
| − | + | Icon = {{#var:icon}} | |
| − | + | {{!}}-{{!}}Alt = [[File:{{{Id|}}} (Small).png|160px]] }} | | |
| − | + | else={{#var:icon}} }}</div> | |
<div style="flex-grow:1;text-align:center"> | <div style="flex-grow:1;text-align:center"> | ||
<p style="width:300px;margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Description</p> | <p style="width:300px;margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Description</p> | ||
Revision as of 15:28, 18 October 2019
Usage
{{Material
|Id=
|Name=
|Description=
|Rarity=
|QuestEventId=
|Category=
|SortId=
|Obtain=
|Usage=
|MoveQuest1=
|MoveQuest2=
|MoveQuest3=
|MoveQuest4=
|MoveQuest5=
|PouchRarity=
|Exp=
|MaterialType=
}}
This template defines the table "Materials". This table has not been created yet.