Jump to content

Template:Item Infobox: Difference between revisions

From The Petit Planet Wiki
Eleiyas (talk | contribs)
Created page with "<includeonly><!-- --><infobox> <title source="name"> <format>{{#if:{{{number|}}}|<span class="number">{{{number}}} </span>}}{{{name|{{PAGENAME}}}}}</format> </title> <image source="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 sou..."
 
Eleiyas (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 31: Line 31:
</infobox><!--
</infobox><!--
-->{{Namespace|main=<!--
-->{{Namespace|main=<!--
-->[[Category:Materials]]<!--
-->[[Category:Items]]<!--
   Sort
   Sort
-->{{#if:{{{number|}}}|[[Category:Material|{{{number}}}]]|[[Category:Material]][[Category:Material Missing Number]]}}<!--
-->{{#if:{{{number|}}}|[[Category:Item|{{{number}}}]]|[[Category:Item]][[Category:Item Missing Number]]}}<!--
   Category
   Category
-->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!--
-->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!--
   Type
   Type
-->{{#if:{{{type|}}}|[[Category:{{{type}}} Material]]}}<!--
-->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!--
Quality
Quality
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}}
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}}
   {{#if:{{{quality|}}}|[[Category:Material by Quality|{{#switch:{{{quality|}}}
   {{#if:{{{quality|}}}|[[Category:Item by Quality|{{#switch:{{{quality|}}}
   |Gray        = 0
   |Gray        = 0
   |Green      = 1
   |Green      = 1
Line 48: Line 48:
   }}]]}}<!--
   }}]]}}<!--
   Set
   Set
-->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Material]]}}<!--
-->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Item]]}}<!--
   Size
   Size
-->{{#if:{{{size|}}}|[[Category:{{{size}}} Material]]}}<!--
-->{{#if:{{{size|}}}|[[Category:{{{size}}} Item]]}}<!--
-->}}<!--
-->}}<!--
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>

Latest revision as of 22:38, 24 November 2025

Template documentation
Note: parts of or the entire template might not be visible without values provided.

The documentation for this template is missing. Click here to create it.