Template:Game: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>{{Image Template Base|1={{{1}}} |2{{UndefParam|{{{2|}}}}}={{{2}}} |text{{UndefParam|{{{text|}}}}}={{{text}}} |link{{UndefParam|{{{link|}}}}}={{{link}}} |nobr{{UndefParam|{{{nobr|}}}}}={{{nobr}}} |notext{{UndefParam|{{{notext|}}}}}={{{notext|}}} |minOuterWidth{{UndefParam|{{{minOuterWidth|}}}}}={{{minOuterWidth}}} |maxOuterWidth{{UndefParam|{{{maxOuterWidth|}}}}}={{{maxOuterWidth}}} |outerWidth{{UndefParam|{{{outerWidth|}}}}}={{{outerWidth}}} |type=Faction |d..." |
(No difference)
|
Revision as of 13:42, 10 June 2025
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
This template creates the icon and link for a Game.
Parameters
This template has 2 unnamed parameters:
- (mandatory) Name of the Game.
- (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!}}
{{Game|Zombie Panic!|notext=1|nobr=1}}
{{Game|Zombie Panic! Source}}
{{Game|Zombie Panic!|minOuterWidth=150}}
{{Game|Zombie Panic!|30|nobr=1}}
Template Data
Display a link to a faction with icon.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Game Name | 1 | Name of the game.
| String | required |
| Icon size | 2 | Size of the game icon
| Number | optional |
| Custom Text | text | Changes text to something other than game name. | String | optional |
| Custom Link | link | Changes link to something other than game. | Page name | optional |
| nobr | nobr | Set to "1" for no new line. | Boolean | optional |
| notext | notext | Set to "1" for no text. | Boolean | optional |