Template:Infobox map: Difference between revisions
Jump to navigation
Jump to search
Ratboy Slim (talk | contribs) Set infobox width explicitly as 320px |
VivaRomania (talk | contribs) m Figured out I could source some proper French translations for these templates from the TF2 wiki |
||
| (One intermediate revision by the same user not shown) | |||
| Line 6: | Line 6: | ||
{{!}} class="infobox-image" colspan="2" {{!}} [[File:{{{map-image|}}}|320px]] | }} | {{!}} class="infobox-image" colspan="2" {{!}} [[File:{{{map-image|}}}|320px]] | }} | ||
|+ | |+ | ||
! colspan="2" | Basic Information | ! colspan="2" | {{Lang | ||
| en = Basic Information | |||
| fr = Informations de base | |||
}} | |||
{{#if: {{{game-type|}}} | | {{#if: {{{game-type|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} Map type {{!!}} [[{{{game-type|}}}]] {{#if: {{{four-team|}}} | ([[Four-Team]])}} {{#if: {{{medieval|}}} | ([[Medieval]])}} | {{!}} {{Lang | ||
| en = Map type | |||
| fr = Type de carte | |||
}} {{!!}} [[{{{game-type|}}}]] {{#if: {{{four-team|}}} | ([[Four-Team]])}} {{#if: {{{medieval|}}} | ([[Medieval]])}} | |||
}} | }} | ||
{{#if: {{{file-name|}}} | | {{#if: {{{file-name|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} File name {{!!}} <code>{{{file-name|}}}</code> | {{!}} {{Lang | ||
| en = File name | |||
| fr = Nom du fichier | |||
}} {{!!}} <code>{{{file-name|}}}</code> | |||
}} | }} | ||
{{#if: {{{release-date|}}} | | {{#if: {{{release-date|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} Release date {{!!}} {{{release-date|}}} | {{!}} {{Lang | ||
| en = Release date | |||
| fr = Date d'ajout | |||
}} {{!!}} {{{release-date|}}} | |||
}} | }} | ||
{{#if: {{{developer|}}} | | {{#if: {{{developer|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} Developer(s) {{!!}} {{{developer|}}} | {{!}} {{Lang | ||
| en = Developer(s) | |||
| fr = Développeur(s) | |||
}} {{!!}} {{{developer|}}} | |||
}} | }} | ||
{{#if: {{{link|}}} | | {{#if: {{{link|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} Link(s) {{!!}} {{{link|}}} | {{!}} {{Lang | ||
| en = Link(s) | |||
| fr = Lien(s) | |||
}} {{!!}} {{{link|}}} | |||
}} | }} | ||
|+ | |+ | ||
! colspan="2" | Map info | ! colspan="2" | {{Lang | ||
| en = Map info | |||
| fr = Informations sur la carte | |||
}} | |||
{{#if: {{{map-environment|}}} | | {{#if: {{{map-environment|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} Environment {{!!}} {{{map-environment|}}} | {{!}} {{Lang | ||
| en = Environment | |||
| fr = Environnement | |||
}} {{!!}} {{{map-environment|}}} | |||
}} | }} | ||
{{#if: {{{map-setting|}}} | | {{#if: {{{map-setting|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} Setting {{!!}} {{{map-setting|}}} | {{!}} {{Lang | ||
| en = Setting | |||
| fr = Cadre | |||
}} {{!!}} {{{map-setting|}}} | |||
}} | }} | ||
|} | |} | ||
| Line 102: | Line 129: | ||
} | } | ||
</templatedata> | </templatedata> | ||
[[Category:Infobox]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 02:04, 26 June 2025
Infobox for map pages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| map-name-override | map-name-override | Title of the map. | String | optional |
| map-image | map-image | In-game image of the map. | File | suggested |
| game-type | game-type | Which gamemode(s) the map is. | String | suggested |
| four-team | four-team | Map is four-team | Boolean | optional |
| medieval | medieval | Map is in Medieval mode | Boolean | optional |
| file-name | file-name | File name of the map (excluding the extension). | String | suggested |
| developer | developer | Developer(s) of the map, whether person, company, or project. | String | suggested |
| link | link | Link(s) to the map | String | optional |
| release-date | release-date | The date in which the map was released. | String | suggested |
| map-environment | map-environment | What environment is the map in. | String | suggested |
| map-setting | map-setting | What setting is the map in. | String | suggested |