Modèle:MapDetails : Différence entre versions
Version du 26 avril 2016 à 14:44 | Version du 27 septembre 2018 à 08:47 | |||
Ligne 1 : | Ligne 1 : | |||
<div style="position:relative; overflow:hidden; width:100%; min-height: 250px; margin-bottom: 0px; margin-bottom: 15px"> | <div style="position:relative; overflow:hidden; width:100%; min-height: 250px; margin-bottom: 0px; margin-bottom: 15px"> | |||
? | <div style="position:absolute; top: 0px; left:0px; right:0px; bottom:0px; margin-top:-10%; z-index:1">[[File:{{{1|{{{ | + | <div style="position:absolute; top: 0px; left:0px; right:0px; bottom:0px; margin-top:-10%; z-index:1">[[File:{{{1|{{{File|{{BASEPAGENAME}}}}}}}}_screen.jpg|1100px|link=]]</div> | |
<div style="position:relative;z-index:2; padding: 5px 1em 1em 1em; color:#000;"> | <div style="position:relative;z-index:2; padding: 5px 1em 1em 1em; color:#000;"> | |||
<div style="color:#EFEDE1; text-shadow: 0px 0px 3px #000000,0px 0px 12px #000000; font-size: 46px; text-align:center; font-family:WarHeliosCondCBold; line-height: 1em; margin-bottom: 5px">{{{1|{{{Map|{{BASEPAGENAME}}}}}}}}</div> | <div style="color:#EFEDE1; text-shadow: 0px 0px 3px #000000,0px 0px 12px #000000; font-size: 46px; text-align:center; font-family:WarHeliosCondCBold; line-height: 1em; margin-bottom: 5px">{{{1|{{{Map|{{BASEPAGENAME}}}}}}}}</div> | |||
Ligne 13 : | Ligne 13 : | |||
Encounter Battle | Encounter Battle | |||
? | --> {{#ifexist: File:{{{1|{{{ | + | --> {{#ifexist: File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Encounter Battle).png | [[File:Encounter.png|link=Game_Modes#Encounter_Battle|60px]] }} <!-- | |
Assault | Assault | |||
? | --> {{#ifexist: File:{{{1|{{{ | + | --> {{#ifexist: File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Assault).png | [[File:Assault_attack.png|link=Game_Modes#Assault|60px]] }} <!-- | |
Team Battle | Team Battle | |||
Ligne 41 : | Ligne 41 : | |||
<!-- | <!-- | |||
--> {{#vardefine:mapdescription_modes|0}} <!-- | --> {{#vardefine:mapdescription_modes|0}} <!-- | |||
? | --> {{#ifexist: File:{{{1|{{{ | + | --> {{#ifexist: File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Assault).png|{{#vardefine:mapdescription_modes| {{#expr:{{#var:mapdescription_modes|0}}+1}} }} }} <!-- | |
? | --> {{#ifexist: File:{{{1|{{{ | + | --> {{#ifexist: File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Encounter Battle).png|{{#vardefine:mapdescription_modes| {{#expr:{{#var:mapdescription_modes|0}}+2}} }} }} <!-- | |
? | --> {{#ifexist: File:{{{1|{{{ | + | --> {{#ifexist: File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (условные обозначения).png|{{#vardefine:mapdescription_modes| {{#expr:{{#var:mapdescription_modes|0}}+4}} }} }} <!-- | |
? | --> {{#ifeq: {{BASEPAGENAME: Fisherman's Bay}} | {{BASEPAGENAME}} | {{#gw_switcher:|align=right|float=1|background=[[File:Fishermans Bay.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{ | + | --> {{#ifeq: {{BASEPAGENAME: Fisherman's Bay}} | {{BASEPAGENAME}} | {{#gw_switcher:|align=right|float=1|background=[[File:Fishermans Bay.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Standard battle).png|300px|link=]]}} | {{#switch: {{#var:mapdescription_modes|0}} | |
? | | 0 = {{#gw_switcher:|align=right|float=1|background=[[File:{{{1|{{{?????|{{BASEPAGENAME}}}}}}}}.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{ | + | | 0 = {{#gw_switcher:|align=right|float=1|background=[[File:{{{1|{{{?????|{{BASEPAGENAME}}}}}}}}.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Standard battle).png|300px|link=]]}} | |
? | | 1 = {{#gw_switcher:|align=right|float=1|background=[[File:{{{1|{{{?????|{{BASEPAGENAME}}}}}}}}.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{ | + | | 1 = {{#gw_switcher:|align=right|float=1|background=[[File:{{{1|{{{?????|{{BASEPAGENAME}}}}}}}}.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Standard battle).png|300px|link=]]|Assault#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Assault).png|300px|link=]]}} | |
? | | 2 = {{#gw_switcher:|align=right|float=1|background=[[File:{{{1|{{{?????|{{BASEPAGENAME}}}}}}}}.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{ | + | | 2 = {{#gw_switcher:|align=right|float=1|background=[[File:{{{1|{{{?????|{{BASEPAGENAME}}}}}}}}.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Standard battle).png|300px|link=]]|Encounter Battle#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Encounter Battle).png|300px|link=]]}} | |
? | | 3 = {{#gw_switcher:|align=right|float=1|background=[[File:{{{1|{{{?????|{{BASEPAGENAME}}}}}}}}.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{ | + | | 3 = {{#gw_switcher:|align=right|float=1|background=[[File:{{{1|{{{?????|{{BASEPAGENAME}}}}}}}}.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Standard battle).png|300px|link=]]|Assault#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Assault).png|300px|link=]]|Encounter Battle#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Encounter Battle).png|300px|link=]]}} | |
? | | 4 = {{#gw_switcher:|align=right|float=1|background=[[File:{{{1|{{{?????|{{BASEPAGENAME}}}}}}}}.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{ | + | | 4 = {{#gw_switcher:|align=right|float=1|background=[[File:{{{1|{{{?????|{{BASEPAGENAME}}}}}}}}.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Standard battle).png|300px|link=]]|br#|Условные обозначения#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (условные обозначения).png|300px|link=]]}} | |
? | | 5 = {{#gw_switcher:|align=right|float=1|background=[[File:{{{1|{{{?????|{{BASEPAGENAME}}}}}}}}.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{ | + | | 5 = {{#gw_switcher:|align=right|float=1|background=[[File:{{{1|{{{?????|{{BASEPAGENAME}}}}}}}}.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Standard battle).png|300px|link=]]|Assault#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Assault).png|300px|link=]]|br#|Условные обозначения#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (условные обозначения).png|300px|link=]]}} | |
? | | 6 = {{#gw_switcher:|align=right|float=1|background=[[File:{{{1|{{{?????|{{BASEPAGENAME}}}}}}}}.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{ | + | | 6 = {{#gw_switcher:|align=right|float=1|background=[[File:{{{1|{{{?????|{{BASEPAGENAME}}}}}}}}.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Standard battle).png|300px|link=]]|Encounter Battle#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Encounter Battle).png|300px|link=]]|br#|Условные обозначения#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (условные обозначения).png|300px|link=]]}} | |
? | | 7 = {{#gw_switcher:|align=right|float=1|background=[[File:{{{1|{{{?????|{{BASEPAGENAME}}}}}}}}.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{ | + | | 7 = {{#gw_switcher:|align=right|float=1|background=[[File:{{{1|{{{?????|{{BASEPAGENAME}}}}}}}}.png|300x300px]]|Map#|Standard battle#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Standard battle).png|300px|link=]]|Assault#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Assault).png|300px|link=]]|Encounter Battle#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (Encounter Battle).png|300px|link=]]|br#|Условные обозначения#[[File:{{{1|{{{Map|{{BASEPAGENAME}}}}}}}} Layer (условные обозначения).png|300px|link=]]}} | |
}} }} | }} }} | |||
<noinclude> | <noinclude> |
Version du 27 septembre 2018 à 08:47
- Map
- Standard battle
Usage
{{MapDetails |Size = |Map type = |Battle Tier limit = }}
Template for Map details and description.
- Size = given in meters, ie. 1000x1000
- Map type = Summer/Winter/Desert
- Battle Tier limit = ie. 4-10
In order to make everything working properly and to populate all the different game modes available for the map, it requires several images to be uploaded:
- map_name/page_name screen.jpg - background image
- map_name/page_name.png - minimap image
- map_name/page_name Layer (battle mode).png - minimap layer for the proper game mode (the following battle modes can be used: Standard battle, Encounter Battle, Assault, Team Battle, Historical Battle). For the Team and Historical Battle mode it is required to add maps to the list in row 23 (Team Battle) and 27 (Historical Battle).
All the required images can be found in World_of_Tanks\res\packages\gui.pkg\gui\maps\icons\map\
Catégories :