Template:GM/cat/legacy: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
m (Hats -> Category:Clothing)
No edit summary
Line 6: Line 6:
     #if: {{{3|}}}
     #if: {{{3|}}}
       |{{#set: Menu_Usage ={{#replace:{{{2}}}|$}} }}{{
       |{{#set: Menu_Usage ={{#replace:{{{2}}}|$}} }}{{
        #switch: {{#replace:{{{2}}}|$}}
          | (Optional Other case's)
          | The Symbel =[[Category:{{#replace:{{{2}}}|$}}]]
        }}{{
       #if: {{{4|}}}
       #if: {{{4|}}}
         |{{#set: Menu_Usage ={{#replace:{{{3}}}|$}} }}{{
         |{{#set: Menu_Usage ={{#replace:{{{3}}}|$}} }}{{
          #switch: {{#replace:{{{3}}}|$}}
            | Hats =[[Category:Clothing]]
            | Sausages =[[Category:{{#replace:{{{3}}}|$}}]]
          }}{{
         #if: {{{5|}}}
         #if: {{{5|}}}
           |{{#set: Menu_Usage ={{#replace:{{{4}}}|$}} }}{{
           |{{#set: Menu_Usage ={{#replace:{{{4}}}|$}} }}{{

Revision as of 22:00, 31 January 2017

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.