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

Template:Infobox Gamemode: Difference between revisions

Template page
Sophie (talk | contribs)
chore: add proper infoboxes for gamemode
Tag: Reverted
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 9: Line 9:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=Gamemode|name=String|icon=URL}}
</noinclude><includeonly>{{#cargo_store:_table=Gamemode}}
{{Infobox
| name            = {{{name|}}}
| image          = {{#if: {{{icon|}}}|[[File:{{{icon|}}}|250px|alt=Gamemode Icon|Gamemode Icon]]}}
| caption        = Gamemode Icon
| header1        = Gamemode Information
| label2          = Name
| data2          = {{{name|}}}


{{Infobox
| label3          = Icon
| name            = {{{gamemode|}}}
| data3           = {{{icon|}}}
| icon           = {{#if: {{{image|}}}|[[File:{{{image|}}}|250px|alt=Alt text|Caption]]}}
| caption        =
| above          = {{#if: {{{name|}}}|{{{name|}}}|{{#titleparts:{{SUBPAGENAME}}}} }}
}}
}}


[[Category:Gamemodes]]
</includeonly>
</includeonly>

Latest revision as of 04:58, 30 December 2024

This is the "Infobox Gamemode" template. It should be called in the following format:

{{Infobox Gamemode
|name=
|icon=
}}

Edit the page to see the template text. This template defines the table "Gamemode". View table.