Template:Tag: Difference between revisions
Jump to navigation
Jump to search
Marblemadmax (talk | contribs) (Move switch into an array to simplify the template - limit 'type' after tag to only furniture, crafted furniture, and clothing, move category generation into this template from infobox (to unify assembly)) |
Marblemadmax (talk | contribs) (Add category param) |
||
Line 95: | Line 95: | ||
|Wallpaper= | |Wallpaper= | ||
|Flooring= | |Flooring= | ||
|#default={{{2|}}}}}}}|{{{1|}}}}}|{{{1|}}}]]{{#switch:{{#arrayprint:a-tagtype}} | |#default={{{2|}}}}}}}|{{{1|}}}}}|{{{1|}}}]]{{#if:{{{category|}}}|{{#switch:{{#arrayprint:a-tagtype}} | ||
|zone=[[Category:{{{1|}}}]] | |zone=[[Category:{{{1|}}}]] | ||
|#default={{#switch:{{{2|}}} | |#default={{#switch:{{{2|}}} | ||
Line 103: | Line 103: | ||
|Wallpaper=[[Category:{{{1|}}}]] | |Wallpaper=[[Category:{{{1|}}}]] | ||
|Flooring=[[Category:{{{1|}}}]] | |Flooring=[[Category:{{{1|}}}]] | ||
|#default=}}}}</div></includeonly><noinclude><!-- | |#default=}}}}|}}</div></includeonly><noinclude><!-- | ||
{{tag|Lavish|Clothing}} | {{tag|Lavish|Clothing}} | ||
{{tag|Playful|Furniture}} | {{tag|Playful|Furniture}} | ||
Line 110: | Line 110: | ||
{{tag|WALL-E|Clothing}} | {{tag|WALL-E|Clothing}} | ||
{{tag|brown|Clothing}} | {{tag|brown|Clothing}} | ||
{{tag|Living Room|Clothing}} | {{tag|Living Room|Clothing|category=yes}} | ||
{{tag|Hats|Clothing}}--></noinclude> | {{tag|Hats|Clothing}}--></noinclude> |