Template:GM: Difference between revisions
Jump to navigation
Jump to search
m (+Inline support (Main GM template).) |
m (Apply direct trimming on parm's -- (+Doc linkup).) |
||
Line 1: | Line 1: | ||
<includeonly | |||
>{{#if:{{{copy|}}}<!-- | >{{#if:{{{copy|}}}<!-- | ||
Line 13: | Line 11: | ||
-->}}<!-- | -->}}<!-- | ||
-->|{{Menu usage box<!-- | -->|{{Menu usage box<!-- | ||
-->|{{{1|}}}<!-- | -->|{{#if:x|{{{1|}}}}}<!-- | ||
-->|{{{2|}}}<!-- | -->|{{#if:x|{{{2|}}}}}<!-- | ||
-->|{{{3|}}}<!-- | -->|{{#if:x|{{{3|}}}}}<!-- | ||
-->|{{{4|}}}<!-- | -->|{{#if:x|{{{4|}}}}}<!-- | ||
-->|{{{5|}}}<!-- | -->|{{#if:x|{{{5|}}}}}<!-- | ||
-->|{{{6|}}}<!-- | -->|{{#if:x|{{{6|}}}}}<!-- | ||
-->|inline={{#ifeq:{{{inline|+}}}|{{{inline|-}}}|true}}<!-- | -->|inline={{#ifeq:{{{inline|+}}}|{{{inline|-}}}|true}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 24: | Line 22: | ||
-->}}</includeonly | -->}}</includeonly | ||
><noinclude></noinclude> | ><noinclude>{{Documentation}}</noinclude> |
Revision as of 18:09, 25 October 2023
Template documentation (for the template shown above, sometimes hidden or invisible)
- Purpose
- Pre-processor of GM(Game Menu) data.
- Intended shorter template calling name. Instead of "GM/sub" (initially).
- Detects and processes "copy" cases.
- Also trims used menu strings (general cleanup).
- See Template:GM/sub for general GM documentation.
Visit Template:GM/doc to edit this text! (How does this work?)