Template:Game/doc: Difference between revisions

From Zombie Panic! Official Wiki
Jump to navigation Jump to search
Created page with "{{Documentation/Header}} This template creates the icon and link for a Faction. ==Parameters== This template has 2 unnamed parameters: # '''(mandatory)''' Name of the Faction. # '''(optional)''' Size of the icon. Defaults to 80. This template has the following named parameters: *'''text''' (optional) Changes text to something other than character name. *'''link''' (optional) Changes link to something other than character. *'''nobr''' (optional) Set to '''1'..."
(No difference)

Revision as of 13:44, 10 June 2025

This is the documentation page for Game.
It contains usage information, categories, and other content not part of the original template page.

This template creates the icon and link for a Faction.

Parameters

This template has 2 unnamed parameters:

  1. (mandatory) Name of the Faction.
  2. (optional) Size of the icon. Defaults to 80.

This template has the following named parameters:

  • text (optional) Changes text to something other than character name.
  • link (optional) Changes link to something other than character.
  • nobr (optional) Set to 1 for no new line.
  • notext (optional) Set to 1 for no text.
  • minOuterWidth (optional) Set minimum width of the container element.
  • maxOuterWidth (optional) Set maximum width of the container element.
  • outerWidth (optional) Set the width of the container element.

Example

{{Game|Zombie Panic!}}

Zombie Panic! Zombie Panic!

{{Game|Zombie Panic!|notext=1|nobr=1}}

Zombie Panic!

{{Game|Zombie Panic! Source}}

Zombie Panic! Source Zombie Panic! Source

{{Game|Zombie Panic!|minOuterWidth=150}}

Zombie Panic! Zombie Panic!

{{Game|Zombie Panic!|30|nobr=1}}

Zombie Panic! Zombie Panic!

Template Data

Display a link to a faction with icon.

Template parameters

ParameterDescriptionTypeStatus
Game Name1

Name of the game.

Example
Anby
Stringrequired
Icon size2

Size of the game icon

Default
80
Numberoptional
Custom Texttext

Changes text to something other than game name.

Stringoptional
Custom Linklink

Changes link to something other than game.

Page nameoptional
nobrnobr

Set to "1" for no new line.

Booleanoptional
notextnotext

Set to "1" for no text.

Booleanoptional