Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Game: Difference between revisions

Template page
m Make infobox add category to pages
Undo revision 8279 by MTOnline69 (talk)
Tag: Undo
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<infobox>
<infobox>
<title source="title">
    <title source="title">
<default>{{PAGENAME}}</default>
          <default>{{PAGENAME}}</default>
</title>
    </title>
<data source="image">
    <data source="image">
    <format>[[File:{{{image}}}|link=|class=infobox-image]]</format>
          <format>[[File:{{{image}}}|link=|class=infobox-image]]</format>
</data>
    </data>
<data source="type">
    <data source="description">
<label>Game Type</label>
          <format><center>{{{description}}}</center></format>
</data>
    </data>
<data source="abbreviation">
    <group>
<label>Abbreviation</label>
          <header><center>General Information</center></header>
</data>
      <data source="type">
<data source="introduced">
      <label>Game Type</label>
<label>Introduced</label>
      </data>
</data>
      <data source="abbreviation">
<data source="maps">
      <label>Abbreviation</label>
<label>Maps</label>
      </data>
</data>
      <data source="introduced">
<data source="rounds">
      <label>Introduced</label>
<label>Rounds</label>
      </data>
</data>
      <data source="maps">
<data source="duration">
      <label>Maps</label>
<label>Round Duration</label>
      </data>
</data>
    </group>
<data source="players">
    <group>
<label>Players</label>
          <header><center>Round Information</center></header>
</data>
      <data source="rounds">
      <label>Rounds</label>
      </data>
      <data source="duration">
      <label>Round Duration</label>
      </data>
      <data source="players">
    <label>Players</label>
      </data>
    </group>
</infobox>
</infobox>
[[Category:Games]]
<includeonly>[[Category:Games]]</includeonly>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 40: Line 49:
"suggested": true
"suggested": true
},
},
        "description": {
"description": "The game's description in the Navigator",
"type": "string",
"required": true,
"suggested": true
        },
"abbreviation": {
"abbreviation": {
"label": "Abbreviation",
"label": "Abbreviation",
Line 97: Line 112:
"paramOrder": [
"paramOrder": [
"image",
"image",
        "description",
"type",
"type",
"abbreviation",
"abbreviation",

Latest revision as of 12:10, 20 November 2024


Adds a game infobox to the page.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Imageimage

Game logo

Filerequired
descriptiondescription

The game's description in the Navigator

Stringrequired
Typetype

Type of game

Suggested values
Movement PvP
Example
Movement
Stringrequired
Abbreviationabbreviation

The game's abbreviation

Example
BB
Stringrequired
Introducedintroduced

Patch and date introduced

Example
[[0.9.0]] (July 4th, 2023)
Stringrequired
Mapsmaps

Number of maps

Numberoptional
Roundsrounds

Number of rounds per game

Numbersuggested
Durationduration

The duration of each round (excluding modifiers)

Example
2 Minutes
Stringoptional
Playersplayers

Number of players.

Example
16-20
Stringrequired