Difference between revisions of "Template:Game navbox"

From Worms Knowledge Base

Jump to: navigation, search
m (change description and preview)
m
Line 1: Line 1:
{|class="block" border="0" width="550" style="display: block;"
+
{|class="block" border="0" cellspacing="0" width="550" style="display: block;"
 
|-
 
|-
 
|width="60%" style="vertical-align: top"|
 
|width="60%" style="vertical-align: top"|
<includeonly>{{Game navbox/{{{box1|Releases}}}|{{{param1|}}}}}</includeonly><noinclude>{| border="0"
+
<includeonly>{{Game navbox/{{{box1|Releases}}}|{{{param1|}}}}}</includeonly><!--
 +
--><noinclude>{| border="0"
 
|-
 
|-
 
| {{navimg|Team17-box.png|Releases|size=64}} ||
 
| {{navimg|Team17-box.png|Releases|size=64}} ||
Line 21: Line 22:
 
{{Game navbox/{{{box5|Community}}}|{{{param5|}}}}}
 
{{Game navbox/{{{box5|Community}}}|{{{param5|}}}}}
 
|style="vertical-align: top"|
 
|style="vertical-align: top"|
<includeonly>{{#if:{{{box6|}}}|{{Game navbox/{{{box6}}}|{{{param6|}}}}}|{{#ifeq:{{PAGENAME}}|Worms Armageddon|{{Game navbox/FAQs}}}}}}</includeonly><noinclude>{{Game navbox/FAQs}}</noinclude>
+
{{#if:{{{box6|}}}|{{Game navbox/{{{box6}}}|{{{param6|}}}}}}}<!--
 +
--><noinclude>{{Game navbox/FAQs}}</noinclude>
 
|}<noinclude>__NOTOC____NOEDITSECTION__
 
|}<noinclude>__NOTOC____NOEDITSECTION__
 
----
 
----

Revision as of 01:51, 5 April 2010

Releases

Releases

Software Software
Game technology Game technology
Online play Online play
Community Community
FAQs FAQs

How to use

  1. Make sure the "__NOTOC__" and "__NOEDITSECTION__" switches are set when using this template.
  2. 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.

Customization

This panel contains 6 sub-templates:

{{Game navbox/Releases}} {{Game navbox/Software}}
{{Game navbox/Game technology}} {{Game navbox/Online play}}
{{Game navbox/Community}} {{Game navbox/FAQs}} (WA 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}}} }}
Personal tools