Difference between revisions of "Template:Game navbox"
From Worms Knowledge Base
Explorer09 (Talk | contribs) m |
Explorer09 (Talk | contribs) (description text) |
||
Line 1: | Line 1: | ||
− | {|class="block" border="0" cellspacing="0" width="550" style="display: block;" | + | <includeonly>{|class="block" border="0" cellspacing="0" width="550" style="display: block;" |
|- | |- | ||
|width="60%" style="vertical-align: top"| | |width="60%" style="vertical-align: top"| | ||
− | + | {{Game navbox/{{{box1|Releases}}}|{{{param1|}}}}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|style="vertical-align: top"| | |style="vertical-align: top"| | ||
{{Game navbox/{{{box2|Software}}}|{{{param2|}}}}} | {{Game navbox/{{{box2|Software}}}|{{{param2|}}}}} | ||
Line 22: | Line 14: | ||
{{Game navbox/{{{box5|Community}}}|{{{param5|}}}}} | {{Game navbox/{{{box5|Community}}}|{{{param5|}}}}} | ||
|style="vertical-align: top"| | |style="vertical-align: top"| | ||
− | {{#if:{{{box6|}}}|{{Game navbox/{{{box6}}}|{{{param6|}}}}}}}< | + | {{#if:{{{box6|}}}|{{Game navbox/{{{box6}}}|{{{param6|}}}}}}} |
− | + | |}</includeonly><noinclude>__NOTOC__ | |
− | + | {{Game navbox|param1=preview|box6=FAQs}} | |
---- | ---- | ||
=== How to use === | === How to use === | ||
− | + | Simply add "<nowiki>{{Game navbox}}</nowiki>" to put a navigation panel (with default items). | |
− | + | ||
Note: For first-generation games, use <nowiki>{{Game navbox|param3=First generation}}</nowiki> instead. This will change the "Tricks and glitches" link to the correct one. | Note: For first-generation games, use <nowiki>{{Game navbox|param3=First generation}}</nowiki> instead. This will change the "Tricks and glitches" link to the correct one. | ||
− | === | + | === Customisation === |
− | This panel contains | + | This panel contains 7 sub-templates: |
:{| border="1" | :{| border="1" | ||
|- | |- | ||
Line 42: | Line 34: | ||
|- | |- | ||
| <nowiki>{{</nowiki>[[Template:Game navbox/Community|Game navbox/Community]]<nowiki>}}</nowiki> | | <nowiki>{{</nowiki>[[Template:Game navbox/Community|Game navbox/Community]]<nowiki>}}</nowiki> | ||
− | | | + | | |
|} | |} | ||
+ | *<nowiki>{{</nowiki>[[Template:Game navbox/FAQs|Game navbox/FAQs]]<nowiki>}} (WA only)</nowiki> | ||
+ | *<nowiki>{{</nowiki>[[Template:Game navbox/Wormopaedia|Game navbox/Wormopaedia]]<nowiki>}} (WWP only)</nowiki> | ||
You can change them by using ''boxN'' and ''paramN'' parameters. ''boxN'' specifies the name of the sub-templates, while ''paramN'' are their parameters. | You can change them by using ''boxN'' and ''paramN'' parameters. ''boxN'' specifies the name of the sub-templates, while ''paramN'' are their parameters. |
Revision as of 11:23, 17 April 2010
|
| ||||
|
| ||||
|
|
How to use
Simply add "{{Game navbox}}" to put a navigation panel (with default items).
Note: For first-generation games, use {{Game navbox|param3=First generation}} instead. This will change the "Tricks and glitches" link to the correct one.
Customisation
This panel contains 7 sub-templates:
{{Game navbox/Releases}} {{Game navbox/Software}} {{Game navbox/Game technology}} {{Game navbox/Online play}} {{Game navbox/Community}}
- {{Game navbox/FAQs}} (WA only)
- {{Game navbox/Wormopaedia}} (WWP only)
You can change them by using boxN and paramN parameters. boxN specifies the name of the sub-templates, while paramN are their parameters.
{{Game navbox/ {{{box1}}} | {{{param1}}} }} {{Game navbox/ {{{box2}}} | {{{param2}}} }} {{Game navbox/ {{{box3}}} | {{{param3}}} }} {{Game navbox/ {{{box4}}} | {{{param4}}} }} {{Game navbox/ {{{box5}}} | {{{param5}}} }} {{Game navbox/ {{{box6}}} | {{{param6}}} }}