Jump to content

Template:Dress Up Infobox: Difference between revisions

From The Petit Planet Wiki
Eleiyas (talk | contribs)
idk what tags is doing here, but I fixed the categorization stuff.
Eleiyas (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><infobox>
<includeonly><infobox>
   <title source="title">
   <title source="name">
    <default>{{PAGENAME|{{{title}}}}}</default>
  <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 38: Line 39:
-->{{Namespace|main=<!--
-->{{Namespace|main=<!--
-->[[Category:Dress Up]]<!--
-->[[Category:Dress Up]]<!--
   ID
   Number
-->{{#if:{{{id|}}}|[[Category:Dress Up Items|{{{id|}}}]]|[[Category:Dress Up Items]][[Category:Dress Up Items Missing ID]]}}<!--
-->{{#if:{{{number|}}}|[[Category:Dress Up Items|{{{number|}}}]]|[[Category:Dress Up Items]][[Category:Dress Up Items Missing Number]]}}<!--
   Category
   Category
-->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!--
-->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!--
   Type
   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
     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}}}]]}}}}}}<!--

Latest revision as of 10:57, 16 November 2025

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


Infobox for Dress Up items.

Syntax[edit source]

{{Outfit Infobox
|name         = Page Name
|number       = Sorting Number
|image        = [Image].png
|category     = Outfit/Styling
|type         = Headwear/Skin Tone
|quality      = Quality Color
|set          = Set (If Any)
|sellPrice    = Sell Price at Glenn's
|source       = Source of Item
}}

Example[edit source]