Template:Tag: Difference between revisions

css class for categories
(Fix for linking tags to crafted furniture categories)
(css class for categories)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="tag-box" id="{{#switch:{{{1|}}}
<includeonly>{{#arraydefine:a-tagtype|{{#switch:{{{1|}}}
           |Bathroom
           |Bathroom
           |Bedroom
           |Bedroom
Line 7: Line 7:
           |Outdoors
           |Outdoors
           |Rec Room
           |Rec Room
           |Study=tag-room
           |Study=zone
          |Costumes
           |Back
           |Back
           |Tops
           |Beards
          |Bracelets
           |Coats
           |Coats
          |Costumes
           |Dresses
           |Dresses
           |Earrings
           |Earrings
          |Face Paint
           |Glasses
           |Glasses
           |Gloves
           |Gloves
          |Hairstyle
           |Hats
           |Hats
          |Hose Socks
          |Masks
          |Mustaches
           |Neckwear
           |Neckwear
           |Pants
           |Pants
Line 22: Line 28:
           |Shorts
           |Shorts
           |Skirts
           |Skirts
           |Bracelets
           |Tops=category
           |Tops=tag-room
          |Essentials
          |Decor
          |Trimmings
          |Tables
          |Beds
          |Seating
          |Storage
          |Appliance
          |Electronics
          |Utilities
          |Art
          |Lighting
          |Foliage
          |Rugs
          |Misc.
          |Miscellaneous
          |Wallpaper
          |Floors
          |Doors
          |Windows
          |Landscaping
           |Wall
          |Ceiling
          |Trees=category
           |Lavish
           |Lavish
           |Simple
           |Simple
Line 31: Line 60:
           |Strong
           |Strong
           |Familiar
           |Familiar
           |Wondrous=tag-trait
           |Wondrous=trait
          |Aladdin Universe
           |Alice in Wonderland
           |Alice in Wonderland
           |Ancient Civilization
           |Ancient Civilization
           |Beauty and the Beast
           |Beauty and the Beast
           |Big Hero 6
           |Big Hero 6
          |Brave Universe
           |Cars
           |Cars
           |Cinderella
           |Cinderella
Line 47: Line 78:
           |Frozen
           |Frozen
           |Hercules
           |Hercules
          |Hocus Pocus
           |Inside Out
           |Inside Out
           |Lightyear
           |Lightyear
Line 53: Line 85:
           |Moana
           |Moana
           |Monsters, Inc.
           |Monsters, Inc.
          |Pirates of the Caribbean
          |Pocahontas
           |Ratatouille
           |Ratatouille
           |Sleeping Beauty
           |Sleeping Beauty
Line 62: Line 96:
           |The Princess and the Frog
           |The Princess and the Frog
           |The Sword in the Stone
           |The Sword in the Stone
          |Tim Burton's The Nightmare Before Christmas
           |Toy Story
           |Toy Story
           |Turning Red
           |Turning Red
           |Up
           |Up
           |WALL-E
           |WALL-E
           |Wreck-It Ralph=tag-universe
           |Wreck-It Ralph
           |Other
           |Other
           |other
           |other
           |General
           |General
           |general=tag-universe
           |general=universe
           |non-themed=
           |non-themed=
           |none=
           |none=
          |#default=}}}}<div class="tag-box" id="{{#switch:{{#arrayprint:a-tagtype}}
          |zone=tag-room
          |category=tag-category
          |trait=tag-trait
          |universe=tag-universe
           |#default=}}" style="background:{{#switch:{{lc:{{{1|}}}}}
           |#default=}}" style="background:{{#switch:{{lc:{{{1|}}}}}
           |blue=rgb(87, 162, 244)
           |blue=rgb(87, 162, 244)
Line 84: Line 124:
           |brown=#aa6f00 /*rgb(124, 78, 40)*/
           |brown=#aa6f00 /*rgb(124, 78, 40)*/
           |purple=rgb(144, 115, 216)
           |purple=rgb(144, 115, 216)
           |gray=rgb(143, 143, 143)
           |starpath=#9c76dd
           |#default=}}">[[:Category:{{#if:{{{2|}}}|{{#ifeq: {{{2|}}}|Crafted Furniture|Furniture|{{{2|}}}}} {{{1|}}} {{{2|}}}|{{{1|}}}}}|{{{1|}}}]]</div></includeonly><noinclude>
           |#default=}}">{{#if:{{{event|}}}|[[:Category:{{{event|}}}{{!}}{{{2|}}}]]|[[:Category:{{#if:{{{2|}}}|{{{1|}}} {{#switch:{{#arrayprint:a-tagtype}}
<!--
          |category=
          |zone=
          |#default={{#switch:{{{2|}}}
          |Timebending
          |Crafted Furniture=Furniture
          |Wallpaper=
          |Flooring=
          |#default={{{2|}}}}}}}|{{{1|}}}}}|{{{1|}}}]]}}{{#if:{{{category|}}}|{{#switch:{{#arrayprint:a-tagtype}}
          |category
          |zone=[[Category:{{{1|}}}]]
          |#default={{#switch:{{{2|}}}
          |Timebending
          |Furniture
          |Crafted Furniture=[[Category:{{{1|}}} Furniture]]
          |Clothing=[[Category:{{{1|}}} Clothing]]
          |Wallpaper=[[Category:{{{1|}}}]]
          |Flooring=[[Category:{{{1|}}}]]
          |#default=}}}}|}}</div></includeonly><noinclude><!--
{{tag|Lavish|Clothing}}
{{tag|Lavish|Clothing}}
{{tag|Playful|Furniture}}
{{tag|Playful|Furniture}}
Line 93: Line 150:
{{tag|WALL-E|Clothing}}
{{tag|WALL-E|Clothing}}
{{tag|brown|Clothing}}
{{tag|brown|Clothing}}
-->
{{tag|starpath|The Wonder of Pixar|event=The Wonder of Pixar Star Path}}
</noinclude>
{{tag|Living Room|Clothing|category=yes}}
{{tag|Hats|Clothing}} {{tag|Hats}}
{{tag|Foliage|Furniture}} {{tag|Foliage}}-->[[Category:Formatting templates]]</noinclude>
moderator
26,624

edits