Editing Template:Set Infobox
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><infobox> | ||
<title source="name"> | |||
<default>{{PAGENAME}}</default> | |||
<format>{{#if:{{{icon|}}}|{{Icon|{{{name|}}}}}|}} {{#if:{{{number|}}}|<span class="number">{{{number}}} </span>}}{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}</format> | |||
</title> | |||
<header name="secondary_title">{{{subtitle|}}}</header> | |||
<image source="image"> | |||
<caption source="caption"/> | |||
</image> | |||
<data source="type"> | |||
<label>Type</label> | |||
<format>[[{{{type}}}]]{{#if:{{{type2|}}}|<br />[[{{{type2}}}]]}}{{#if:{{{type3|}}}|<br />[[{{{type3}}}]]}}{{#if:{{{type4|}}}|<br />[[{{{type4}}}]]}}{{#if:{{{type5|}}}|<br />[[{{{type5}}}]]}}</format> | |||
</data> | |||
<data source="group"> | |||
<label>Group</label> | |||
<format>[[{{{group}}}]]{{#if:{{{group2|}}}|<br />[[{{{group2}}}]]}}{{#if:{{{group3|}}}|<br />[[{{{group3}}}]]}}{{#if:{{{group4|}}}|<br />[[{{{group4}}}]]}}{{#if:{{{group5|}}}|<br />[[{{{group5}}}]]}}</format> | |||
</data> | |||
<data source="description"> | |||
<label>Description</label> | |||
</data> | |||
<data source="quality"> | |||
<label>Quality</label> | |||
<format>{{{quality}}}</format> | |||
</data> | |||
</infobox>{{Namespace|main=[[Category:Sets]]<!-- | |||
Set page display title if title is different from page name | |||
Set page display title if | |||
-->{{#ifeq:{{NAMESPACE}}||<!-- | -->{{#ifeq:{{NAMESPACE}}||<!-- | ||
-->{{#if:{{{name|}}}{{{displaytitle|}}}|{{#ifeq:{{{PAGENAME}}}|{{{name}}}||{{#ifeq:{{lc:{{{displaytitle|}}}}}|no||{{DISPLAYTITLE:{{{displaytitle|{{{name}}}}}}|noreplace}}}}}}}}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
Sort | Sort | ||
-->{{#if:{{{number|}}}|[[Category:Set|{{{number}}}]]|[[Category:Set]][[Category:Set Missing Number]]}}<!-- | -->{{#if:{{{number|}}}|[[Category:Set|{{{number}}}]]|[[Category:Set]][[Category:Set Missing Number]]}}<!-- | ||
Type | |||
-->{{#if:{{{type|}}}| | -->{{#if:{{{type|}}}|[[Category:{{{type|}}}]]}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{type2|}}}|[[Category:{{{type2|}}}]]}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{type3|}}}|[[Category:{{{type3|}}}]]}}<!-- | ||
-->{{#if:{{{type4|}}}|[[Category:{{{type4|}}}]]}}<!-- | |||
-->{{#if:{{{type5|}}}|[[Category:{{{type5|}}}]]}}<!-- | |||
Quality | |||
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | -->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | ||
{{#if:{{{quality|}}}|[[Category: | {{#if:{{{quality|}}}|[[Category:Set by Quality|{{#switch:{{{quality|}}} | ||
|Gray | |Gray = 0 | ||
|Green | |Green = 1 | ||
|Purple | |Purple = 2 | ||
|Gold | |Gold = 3 | ||
|#default = 4 | |#default = 4 | ||
}}]]}}<!-- | }}]]}}<!-- | ||
-->}}<!-- | -->{{#if:{{{group|}}}|[[Category:{{{group|}}}]]}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | -->{{#if:{{{group2|}}}|[[Category:{{{group2|}}}]]}}<!-- | ||
-->{{#if:{{{group3|}}}|[[Category:{{{group3|}}}]]}}<!-- | |||
-->{{#if:{{{group4|}}}|[[Category:{{{group4|}}}]]}}<!-- | |||
-->{{#if:{{{group5|}}}|[[Category:{{{group5|}}}]]}}<!-- | |||
-->}}</includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | |||