More actions
chore: add proper infoboxes for gamemode Tag: Reverted |
GamingTwist (talk | contribs) 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|}}} | |||
| 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.