Template:GM/cat/legacy: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
(New (testing))
 
m (...)
Line 2: Line 2:
Self check:
Self check:
:A:{{Menu_usage_scan}}:(empty)
:A:{{Menu_usage_scan}}:(empty)
:B:{{Menu_usage_scan|foobar1}}:(empty)
:B:{{Menu_usage_scan|foo$bar1}}:(empty)
:C:{{Menu_usage_scan|foobar1|foobar2}}:(a)
:C:{{Menu_usage_scan|foo$bar1|foo $bar2}}:(a)
:D:{{Menu_usage_scan|foobar1|foobar2|foobar3|foobar4}}:(c)
:D:{{Menu_usage_scan|foo$bar1|foo $bar2|foobar3|foobar4}}:(abc)
:E:{{Menu_usage_scan|foobar1|foobar2|foobar3|||foobar6}}:(b)
:E:{{Menu_usage_scan|foo$bar1|foo $bar2|foobar3|||foobar6}}:(ab)
</noinclude><includeonly>{{
:x:{{#replace:foo $bar2|$}}:(foo bar2)
:y:{{#set: Menu_Usage = foo bar9 }}:(empty)
</noinclude><includeonly


#if: {{{1|}}}
>{{#if: {{{1|}}}
   |{{#if: {{{2|}}}
   |{{#if: {{{2|}}}
     |a{{#set: Menu_Usage = {{#replace:{{{1}}}|$}} }}{{
     |a{{#set: Menu_Usage = {{#replace:{{{1}}}|$}} }}{{
Line 24: Line 26:
     }}
     }}
   }}
   }}
}}</includeonly


}}</includeonly><noinclude>{{documentation}}</noinclude>
><noinclude>{{documentation}}</noinclude>

Revision as of 16:14, 1 May 2015

Self check:

A:Template:Menu usage scan:(empty)
B:Template:Menu usage scan:(empty)
C:Template:Menu usage scan:(a)
D:Template:Menu usage scan:(abc)
E:Template:Menu usage scan:(ab)
x:foo bar2:(foo bar2)
y::(empty)
Template documentation (for the template shown above, sometimes hidden or invisible)

Info

Game-Menu supplement template. (Legacy specific version)
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.