Jump to content

Template:Furniture Infobox: Difference between revisions

From The Petit Planet Wiki
Gloompyon (talk | contribs)
Remove buy price, format sell price
Shirra (talk | contribs)
m Moving the size out of the horizontal group so later once we have the icons of the size, we can add the icon to it
 
(10 intermediate revisions by 3 users not shown)
Line 7: Line 7:
     <default>{{#if:{{{type|}}}|{{#switch:{{type|}}|Building Kit=Building Kit Icon.png|#default=}}}}</default>
     <default>{{#if:{{{type|}}}|{{#switch:{{type|}}|Building Kit=Building Kit Icon.png|#default=}}}}</default>
   </image>
   </image>
   <data source="category">
   <group layout="horizontal">
    <label>Category</label>
    <data source="category">
    <format>[[{{{category}}}]]</format>
      <label>Category</label>
  </data>
      <format>[[{{{category}}}]]</format>
  <data source="type">
    </data>
    <label>Type</label>
    <data source="type">
    <format>[[{{{type}}}]]</format>
      <label>Type</label>
   </data>
      <format>[[{{{type}}}]]</format>
    </data>
   </group>
   <data source="quality">
   <data source="quality">
     <label>Quality</label>
     <label>Quality</label>
Line 24: Line 26:
   </data>
   </data>
   <data source="size">
   <data source="size">
    <label>Size</label>
    <label>Size</label>
  </data>
    <format>{{{size}}}</format>
  <data source="color">
    <label>Color</label>
    <format>{{List|{{{color}}}}}</format>
  </data>
  <data source="material">
    <label>Material</label>
    <format>{{List|{{{material}}}}}</format>
   </data>
   </data>
   <data source="score">
   <data source="score">
     <label>MomentFolio Score</label>
     <label>MomentFolio Score</label>
   </data>
   </data>
  <group layout="horizontal">
    <data source="color">
      <label>Color</label>
      <format>{{Array|{{{color}}}|;|{item}|,&nbsp;}}</format>
    </data>
    <data source="material">
      <label>Material</label>
      <format>{{Array|{{{material}}}|;|{item}|,&nbsp;}}</format>
    </data>
  </group>
   <data source="sellPrice">
   <data source="sellPrice">
     <label>Sell Price</label>
     <label>Sell Price</label>
Line 61: Line 66:
   |#default = 4
   |#default = 4
   }}]]}}<!--
   }}]]}}<!--
   set
   Set
-->{{#if:{{{set|}}}|[[Category:{{{set}}}]]}}<!--
-->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Furniture]]}}<!--
   Size
   Size
-->{{#if:{{{size|}}}|[[Category:{{{size}}} Furniture]]}}<!--
-->{{#if:{{{size|}}}|[[Category:{{{size}}} Furniture]]}}<!--
-->}}<!--
-->}}<!--
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>

Latest revision as of 11:04, 17 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.