Template:Tag: Difference between revisions

css class for categories
(add ability to feed in type param)
(css class for categories)
 
(19 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=
           |Wondrous=trait
           |#default=}}">[[:Category:{{#if:{{{2|}}}|{{{1|}}} {{{2|}}}|{{{1|}}}}}|{{{1|}}}]][[Category:{{#if:{{{2|}}}|{{{1|}}} {{{2|}}}|{{{1|}}}}}]]</div></includeonly><noinclude>
          |Aladdin Universe
<!--
          |Alice in Wonderland
          |Ancient Civilization
          |Beauty and the Beast
          |Big Hero 6
          |Brave Universe
          |Cars
          |Cinderella
          |Coco
          |Disney
          |Dreamlight Valley
          |Elemental
          |Encanto
          |Fantasia
          |Finding Nemo
          |Frozen
          |Hercules
          |Hocus Pocus
          |Inside Out
          |Lightyear
          |Lilo & Stitch
          |Mickey & Friends
          |Moana
          |Monsters, Inc.
          |Pirates of the Caribbean
          |Pocahontas
          |Ratatouille
          |Sleeping Beauty
          |Snow White
          |Tangled
          |The Incredibles
          |The Lion King
          |The Little Mermaid
          |The Princess and the Frog
          |The Sword in the Stone
          |Tim Burton's The Nightmare Before Christmas
          |Toy Story
          |Turning Red
          |Up
          |WALL-E
          |Wreck-It Ralph
          |Other
          |other
          |General
          |general=universe
          |non-themed=
          |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|}}}}}
          |blue=rgb(87, 162, 244)
          |green=rgb(105, 214, 143)
          |red=rgb(215, 73, 76)
          |pink=rgb(232, 143, 202)
          |white=white /*rgb(219, 222, 246)*/
          |black=rgb(48, 48, 48)
          |yellow=rgb(230, 203, 89)
          |orange=rgb(237, 138, 88)
          |brown=#aa6f00 /*rgb(124, 78, 40)*/
          |purple=rgb(144, 115, 216)
          |starpath=#9c76dd
           |#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}}
{{tag|Simple}}
{{tag|Simple}}
-->
{{tag|Bold}}
</noinclude>
{{tag|WALL-E|Clothing}}
{{tag|brown|Clothing}}
{{tag|starpath|The Wonder of Pixar|event=The Wonder of Pixar Star Path}}
{{tag|Living Room|Clothing|category=yes}}
{{tag|Hats|Clothing}} {{tag|Hats}}
{{tag|Foliage|Furniture}} {{tag|Foliage}}-->[[Category:Formatting templates]]</noinclude>
moderator
26,807

edits