Template:GM/cat: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Mvg bot moved page Template:Menu usage-set catg to Template:GM/cat: GM name-restructure: Rename Code Pages.) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly | <includeonly | ||
>{{#if: {{{1|}}}|{{#if: {{{2|}}}|{{ | >{{#if: {{{1|}}} | ||
|{{#if: {{{2|}}}|{{ | |||
#switch | #switch: {{{1}}} | ||
|(dummy case)=[[Category:foobar1]] | | (dummy case) = [[Category:foobar1]] | ||
}}{{#if: {{{3|}}}|{{ | }}{{#if: {{{3|}}}|{{ | ||
#switch | #switch: {{{2}}} | ||
| | | (dummy case) = [[Category:foobar2]] | ||
}}{{#if: {{{4|}}}|{{ | }}{{#if: {{{4|}}}|{{ | ||
#switch | #switch: {{{3}}} | ||
|Hats=[[Category:Clothing]] | | Hats = [[Category:Clothing]] | ||
|Sausages=[[Category:Sausages]] | | Sausages = [[Category:Sausages]] | ||
}}{{#if: {{{5|}}}|{{ | }}{{#if: {{{5|}}}|{{ | ||
#switch | #switch: {{{4}}} | ||
|(dummy case)=[[Category:foobar4]] | | (dummy case) = [[Category:foobar4]] | ||
}}{{#if: {{{6|}}}|{{ | }}{{#if: {{{6|}}}|{{ | ||
#switch | #switch: {{{5}}} | ||
|(dummy case)=[[Category:foobar5]] | | (dummy case) = [[Category:foobar5]] | ||
}}}}}}}}}}}} | }}}}}}}}}}}} | ||
Latest revision as of 16:07, 11 September 2024
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
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?)