Template:Dress Up Infobox: Difference between revisions
Template page
More actions
ReisuDesign (talk | contribs) Created page with "<includeonly><infobox> <title source="title"> <default>{{PAGENAME|{{{title}}}}}</default> </title> <image source="image"> <caption source="caption-image"/> </image> <group layout="horizontal> <data source="category"> <label>Category</label> <format>[[{{{category}}}]]</format> </data> <data source="type"> <label>Type</label> <format>[[{{{type}}}]]</format> </data> </group> <data source="quality"> <label>Quality</label> <..." |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><infobox> | <includeonly><infobox> | ||
<title source=" | <title source="name"> | ||
<format>{{#if:{{{number|}}}|<span class="number">{{{number}}} </span>}}{{{name|{{PAGENAME}}}}}</format> | |||
</title> | </title> | ||
<image source="image"> | <image source="image"> | ||
<caption source="caption-image"/> | <caption source="caption-image"/> | ||
</image> | </image> | ||
<group layout="horizontal> | <group layout="horizontal"> | ||
<data source="category"> | <data source="category"> | ||
<label>Category</label> | <label>Category</label> | ||
| Line 18: | Line 18: | ||
<data source="quality"> | <data source="quality"> | ||
<label>Quality</label> | <label>Quality</label> | ||
<format>{{{quality}}}</format> | |||
</data> | </data> | ||
<data source="set"> | <data source="set"> | ||
| Line 37: | Line 38: | ||
</infobox><!-- | </infobox><!-- | ||
-->{{Namespace|main=<!-- | -->{{Namespace|main=<!-- | ||
-->[[Category:Dress Up | -->[[Category:Dress Up]]<!-- | ||
Number | |||
-->{{#if:{{{category|}}}|[[Category:{{{category}}} | -->{{#if:{{{number|}}}|[[Category:Dress Up Items|{{{number|}}}]]|[[Category:Dress Up Items]][[Category:Dress Up Items Missing Number]]}}<!-- | ||
Category | |||
-->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!-- | |||
Type | |||
-->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!-- | -->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!-- | ||
Quality | |||
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | |||
{{#if:{{{quality|}}}|[[Category:Dress Up Items by Quality|{{#switch:{{{quality|}}} | |||
|Gray = 0 | |||
|Green = 1 | |||
|Purple = 2 | |||
|Gold = 3 | |||
|#default = 4 | |||
}}]]}}<!-- | |||
Tags | |||
-->{{#if:{{{tags|}}}|{{Cat List|{{{tags}}}|{item} Dress Up|{{#if:{{{category|}}}|[[Category:{item} {{{category}}}]]}}{{#if:{{{type|}}}|[[Category:{item}{{{type}}}]]}}}}}}<!-- | -->{{#if:{{{tags|}}}|{{Cat List|{{{tags}}}|{item} Dress Up|{{#if:{{{category|}}}|[[Category:{item} {{{category}}}]]}}{{#if:{{{type|}}}|[[Category:{item}{{{type}}}]]}}}}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||