Template:Infobox: Difference between revisions

101 bytes added ,  03:23, 2 May 2023
no edit summary
(add "default" placement value for items that can be placed on untiled or tiled ground, not surfaces - basically the most common category. Perhaps not the best name, could be changed later.)
No edit summary
Line 344: Line 344:
           |surfaces
           |surfaces
           |default=Can Place on Surfaces:
           |default=Can Place on Surfaces:
          |2x2 (Surfaces)=Placement:
           |#default=Environment:}}
           |#default=Environment:}}
   {{!}} {{#switch:{{{placement|}}}
   {{!}} {{#switch:{{{placement|}}}
           |surfaces=[[Category:Surfaces]][[:Category:Surfaces|Yes]]
           |surfaces=[[Category:Surfaces]][[:Category:Surfaces|Yes]]
          |2x2 (Surfaces)=2x2 (Surfaces) [[Category:Surfaces]]
           |default=No<!--Tiled or Untiled Ground-->
           |default=No<!--Tiled or Untiled Ground-->
           |indooronly=[[Category:Indoor Only]][[:Category:Indoor Only|Indoor Only]]
           |indooronly=[[Category:Indoor Only]][[:Category:Indoor Only|Indoor Only]]
Line 352: Line 354:
           |wateronly=[[Category:Outdoor Only]][[:Category:Outdoor Only|Outdoor Only, On Water]]
           |wateronly=[[Category:Outdoor Only]][[:Category:Outdoor Only|Outdoor Only, On Water]]
           |#default=}}
           |#default=}}
}}{{#if:{{{pieces|}}}|<nowiki/>
}}{{#if:{{{pieces|}}}|<nowiki/>
   {{!}}-
   {{!}}-
moderator
26,810

edits