Template:GM/cat: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
(Created page with "<includeonly >{{#if: {{{1|}}}|{{#if: {{{2|}}}|{{ #switch: {{#replace:{{{1}}}|$}} |(dummy case)=Category:foobar1 }}{{#if: {{{3|}}}|{{ #switch: {{#replace:{{{2}}}|$}} |...")
 
mNo edit summary
Line 21: Line 21:


#switch: {{#replace:{{{5}}}|$}}
#switch: {{#replace:{{{5}}}|$}}
|(dummy case)[[Category:foobar5]]
|(dummy case)=[[Category:foobar5]]
}}}}}}}}}}}}
}}}}}}}}}}}}



Revision as of 17:50, 10 July 2018

Template documentation (for the template shown above, sometimes hidden or invisible)

Info

Game-Menu supplement template.
Category assignment on specific menu's.
Currently supporting up to 6 parameters. (anonymous type)
(Only intended to be used from "GM/sub" template.)

Usage

{{GM/cat|Parm1|Parm2|..|Parm6}}

Used By template

GM/sub

Auto Categorising

(TODO-UPDATE)
Notes:
- Not all categories allowed for this.
- Most auto categorising is (should be?) managed by Infobox metaobj
- Case-sensitive.

Visit Template:GM/cat/doc to edit this text! (How does this work?)