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)
m fix: fix infobox
Tag: Reverted
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
|name=
|name=
|icon=
|icon=
|caption=
}}
}}
</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
{{Infobox
| name            = {{{name|}}}
| name            = {{{name|}}}
| icon           = {{#if: {{{icon|}}}|[[File:{{{icon|}}}|250px|alt=Alt text|caption]]}}
| image           = {{#if: {{{icon|}}}|[[File:{{{icon|}}}|250px|alt=Gamemode Icon|Gamemode Icon]]}}
| caption        =  
| caption        = Gamemode Icon
| above           = {{#if: {{{name|}}}|{{{name|}}}|{{#titleparts:{{SUBPAGENAME}}}} }}
 
| header1        = Gamemode Information
 
| label2          = Name
| data2           = {{{name|}}}
 
| label3          = Icon
| data3          = {{{icon|}}}
}}
}}


[[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.