Template:Infobox map: Difference between revisions
Template page
More actions
Technochips (talk | contribs) m optimization attempt? |
VivaRomania (talk | contribs) m Figured out I could source some proper French translations for these templates from the TF2 wiki |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> {| class="infobox" | <includeonly> {| class="infobox" width=320px | ||
|+ | |+ | ||
! class="infobox-title" colspan="2" | {{{map-name-override|{{PAGENAME}}}}} | ! class="infobox-title" colspan="2" | {{{map-name-override|{{PAGENAME}}}}} | ||
{{#ifexist: File:{{{map-image|}}} | | {{#ifexist: File:{{{map-image|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} class="infobox-image" colspan="2" {{!}} [[File:{{{map-image|}}}| | {{!}} 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]])}} | {{!}} {{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 41: | Line 68: | ||
[[Category:Maps]] | [[Category:Maps]] | ||
{{#if: {{{game-type|}}} | [[Category:{{{game-type}}} maps]]}} | {{#if: {{{game-type|}}} | [[Category:{{{game-type}}} maps]]}} | ||
{{#if: {{{medieval|}}} | [[Category:Medieval maps]]}} | |||
{{#if: {{{four-team|}}} | [[Category:Four-Team maps]] {{#if: {{{game-type|}}} | [[Category:{{{game-type}}} (Four-Team) maps]]}}}} | {{#if: {{{four-team|}}} | [[Category:Four-Team maps]] {{#if: {{{game-type|}}} | [[Category:{{{game-type}}} (Four-Team) maps]]}}}} | ||
}} </includeonly> | }} </includeonly> | ||
| Line 62: | Line 90: | ||
"four-team": { | "four-team": { | ||
"description": "Map is four-team", | "description": "Map is four-team", | ||
"type": "boolean" | |||
}, | |||
"medieval": { | |||
"description": "Map is in Medieval mode", | |||
"type": "boolean" | "type": "boolean" | ||
}, | }, | ||
| Line 97: | Line 129: | ||
} | } | ||
</templatedata> | </templatedata> | ||
[[Category:Infobox]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> | ||