Template:Infobox: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(Undo revision 43141 by KingofFables (talk))
Tags: Undo Reverted
No edit summary
Tag: Reverted
Line 95: Line 95:
   {{!}} id="infobox-label" {{!}} Categories:
   {{!}} id="infobox-label" {{!}} Categories:
   {{!}} {{#arraydefine:a-category|{{{category|}}}}}{{#arrayprint:a-category|<br/>|@@@@|<span id="nametemplate">{{category|@@@@}}</span>}}
   {{!}} {{#arraydefine:a-category|{{{category|}}}}}{{#arrayprint:a-category|<br/>|@@@@|<span id="nametemplate">{{category|@@@@}}</span>}}
}}}}{{#if:{{{size|}}}|<nowiki/>
}}}}{{#if:{{{tags|}}}|{{#ifeq: {{{tags|}}}|none|[[Category:No Tags|No Tags]]|<nowiki/>
  {{!}}-
  {{!}} id="infobox-label" {{!}} {{#if:{{{placement|}}}|Placement:|Size:}}
  {{!}} <span style="letter-spacing: 5px; font-weight: bold;">{{{size|}}}</span> {{#if:{{{placement|}}}|{{#switch:{{{placement|}}}
          |surfaces=([[:Category:Surfaces|Surfaces]][[Category:Surfaces]])
          |walls=([[:Category:Walls|Walls]][[Category:Walls]])
          |ceilings=([[:Category:Ceilings|Ceilings]][[Category:Ceilings]])
          |untiled=
          |#default=}}|}}
}}{{#if:{{{tags|}}}|{{#ifeq: {{{tags|}}}|none|[[Category:No Tags|No Tags]]|<nowiki/>
   {{!}}-
   {{!}}-
   {{!}} id="infobox-label" {{!}} Tags:
   {{!}} id="infobox-label" {{!}} Tags:
Line 361: Line 352:
   {{!}} id="infobox-label" {{!}} Pieces:
   {{!}} id="infobox-label" {{!}} Pieces:
   {{!}} {{{pieces|}}}
   {{!}} {{{pieces|}}}
}}
{{#if:{{{size|}}}|<nowiki/>
  {{!}}-
  {{!}} id="infobox-label" {{!}} {{#if:{{{placement|}}}|Placement:|Size:}}
  {{!}} <span style="letter-spacing: 5px; font-weight: bold;">{{{size|}}}</span> {{#if:{{{placement|}}}|{{#switch:{{{placement|}}}
          |surfaces=([[:Category:Surfaces|Surfaces]][[Category:Surfaces]])
          |walls=([[:Category:Walls|Walls]][[Category:Walls]])
          |ceilings=([[:Category:Ceilings|Ceilings]][[Category:Ceilings]])
          |untiled=
          |#default=}}|}}
}}
}}
|}{{#if:{{{character|}}}|{{TOC Right}}|}}{{#if:{{{voice|}}}|{{TOC Right}}|}}{{SEO
|}{{#if:{{{character|}}}|{{TOC Right}}|}}{{#if:{{{voice|}}}|{{TOC Right}}|}}{{SEO
|image={{#if:{{{image|}}}|{{{image|}}}|}}
|image={{#if:{{{image|}}}|{{{image|}}}|}}
|keywords={{#if:{{{ingredients|}}}|recipe, cooking recipe, ingredients|}}{{#if:{{{recipe|}}}|recipe, crafting recipe, materials|}}{{#if:{{{favfood|}}}|critter, schedule, critter schedule, favorite, food, feed, catch|}}}}</includeonly><noinclude>[[Category:Infobox templates]]</noinclude>
|keywords={{#if:{{{ingredients|}}}|recipe, cooking recipe, ingredients|}}{{#if:{{{recipe|}}}|recipe, crafting recipe, materials|}}{{#if:{{{favfood|}}}|critter, schedule, critter schedule, favorite, food, feed, catch|}}}}</includeonly><noinclude>[[Category:Infobox templates]]</noinclude>

Revision as of 19:55, 5 May 2023