Template:Game: Difference between revisions
Template page
More actions
TheMysterys (talk | contribs) m Remove category from applying to template page |
Test |
||
Line 1: | Line 1: | ||
<infobox> | <infobox> | ||
<title source="title"> | |||
<default>{{PAGENAME}}</default> | |||
</title> | |||
<data source="image"> | |||
<format>[[File:{{{image}}}|link=|class=infobox-image]]</format> | |||
</data> | |||
<group> | |||
<header>General Information</header> | |||
<data source="type"> | |||
<label>Game Type</label> | |||
</data> | |||
<data source="abbreviation"> | |||
<label>Abbreviation</label> | |||
</data> | |||
<data source="introduced"> | |||
<label>Introduced</label> | |||
</data> | |||
<data source="maps"> | |||
<label>Maps</label> | |||
</data> | |||
</group> | |||
<group> | |||
<header>Round Information</header> | |||
<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> | ||
<includeonly>[[Category:Games]]</includeonly> | <includeonly>[[Category:Games]]</includeonly> |
Revision as of 02:15, 5 October 2023
There is a problem with parsing the infobox
-
0
-
1<title source="title">
-
2<default>{{PAGENAME}}</default>
-
3</title>
-
4<data source="image">
-
5<format>[[File:{{{image}}}|link=|class=infobox-image]]</format>
-
6</data>
-
7<group>
-
8<header>General Information</header>
-
9<data source="type">
-
10<label>Game Type</label>
-
11</data>
-
12<data source="abbreviation">
-
13<label>Abbreviation</label>
-
14</data>
-
15<data source="introduced">
-
16<label>Introduced</label>
-
17</data>
-
18<data source="maps">
-
19<label>Maps</label>
-
20</data>
-
21</group>
-
22<group>
-
23<header>Round Information</header>
-
24<data source="rounds">
-
25<label>Rounds</label>
-
26</data>
-
27<data source="duration">
-
28<label>Round Duration</label>
-
29</data>
-
30<data source="players">
-
31<label>Players</label>
-
32</data>
-
33<group>
-
34
Adds a game infobox to the page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | Game logo | File | required |
Type | type | Type of game
| String | required |
Abbreviation | abbreviation | The game's abbreviation
| String | required |
Introduced | introduced | Patch and date introduced
| String | required |
Maps | maps | Number of maps | Number | optional |
Rounds | rounds | Number of rounds per game | Number | suggested |
Duration | duration | The duration of each round (excluding modifiers)
| String | optional |
Players | players | Number of players.
| String | required |