Difference between revisions of "Template:Map"
Bird Thing (talk | contribs) m (slight compatibility "fix") |
DragonGod004 (talk | contribs) (I think I fixed it now.) |
||
| Line 3: | Line 3: | ||
! colspan="3" style="background:#2a2a2a; text-align:center; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}; font-size:12pt" | {{PAGENAME}} | ! colspan="3" style="background:#2a2a2a; text-align:center; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}; font-size:12pt" | {{PAGENAME}} | ||
|- | |- | ||
| − | | colspan="3" style="text-align:center" | [[{{{Image}}} | {{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}]] | + | | colspan="3" style="text-align:center" | [[{{{Image}}} | {{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}]] |
|- | |- | ||
{{#if: {{{Environment|}}} | | {{#if: {{{Environment|}}} | | ||
| Line 12: | Line 12: | ||
{{#if: {{{Temperature|}}} | | {{#if: {{{Temperature|}}} | | ||
{{!}} Temperature: | {{!}} Temperature: | ||
| − | {{!}} colspan="2" style="background:#383838" {{!}} {{{Temperature}}} | + | {{!}} colspan="2" style="background:#383838" {{!}} {{{Temperature}}} |
|}} | |}} | ||
|- | |- | ||
| Line 37: | Line 37: | ||
! colspan="3" style="background:#2a2a2a; text-align:center; font-size:12pt"| Assets | ! colspan="3" style="background:#2a2a2a; text-align:center; font-size:12pt"| Assets | ||
|- | |- | ||
| − | {{# | + | | Assets: |
| + | ! style="background:#383838" | | ||
| + | {{#if:{{{Mech}}} | * [[Mechs]] |}} | ||
| + | {{#if:{{{Tank}}} | * [[Vehicles]] |}} | ||
| + | {{#if:{{{VTOL}}} | * [[VTOLs]] |}} | ||
| + | {{#if:{{{Aero}}} | * [[Aerospace Fighters]] |}} | ||
|- | |- | ||
| − | + | | Base Defenses: | |
| − | + | ! style="background:#383838" | | |
| − | + | {{#ifeq: {{{Base Defenses|}}} | Yes | Yes | None}} | |
| − | |}} | ||
|- | |- | ||
{{#if: {{{BaseIS|}}} | | {{#if: {{{BaseIS|}}} | | ||
| − | {{!}} | + | {{!}} Number of Bases: |
| − | {{!}} colspan="2" style="background:#383838" {{!}} {{{BaseIS}}} | + | {{!}} colspan="2" style="background:#383838" {{!}} IS: {{{BaseIS}}}<br>Clan: {{{BaseCL|}}}<br>Neutral: {{{BaseNtl|}}} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|}} | |}} | ||
|- | |- | ||
| Line 57: | Line 56: | ||
|- | |- | ||
{{#if: {{{Map|}}} | | {{#if: {{{Map|}}} | | ||
| − | {{!}} colspan="3" style=" | + | {{!}} colspan="3" style="text-align:center" {{!}} [[{{{Map}}} {{!}} {{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}]] |
|}} | |}} | ||
| + | |- | ||
|} | |} | ||
[[Category:Maps]] | [[Category:Maps]] | ||
| Line 68: | Line 68: | ||
| Image = File:Clearcut.jpg | | Image = File:Clearcut.jpg | ||
| Environment = Forest | | Environment = Forest | ||
| − | + | | Size = 8192 x 8192 | |
| − | | Size =8192 x 8192 | ||
| Game Modes = <ul> | | Game Modes = <ul> | ||
<li>[[Team Solaris Arena]] | <li>[[Team Solaris Arena]] | ||
| Line 78: | Line 77: | ||
| VTOL = 1 | | VTOL = 1 | ||
| Aero = 1 | | Aero = 1 | ||
| − | | Base Defenses = | + | | Base Defenses = Yes |
| − | | Map = | + | | Map = File:Clearcut minimap.jpg |
}} | }} | ||
| Line 85: | Line 84: | ||
==Usage== | ==Usage== | ||
<nowiki>{{Map|</nowiki><br> | <nowiki>{{Map|</nowiki><br> | ||
| − | | Image = | + | | Image = File:'''Name Of Image'''.jpg<br> |
| − | | | + | | ImageSize = '''Number only (in px; optional; default 350)'''<br> |
| Environment = '''Environment description'''<br> | | Environment = '''Environment description'''<br> | ||
| Temperature = '''Number only, if multiple add after slash'''<br> | | Temperature = '''Number only, if multiple add after slash'''<br> | ||
| Planet = '''Name of planet, from loading screen'''<br> | | Planet = '''Name of planet, from loading screen'''<br> | ||
| − | | Coords = ''' | + | | Coords = '''Planet coordinates, from loading screen'''<br> |
| Size = '''Number ''' x '''Number'''<br> | | Size = '''Number ''' x '''Number'''<br> | ||
| Game Modes = '''Bullet list, see: [[:Category:Game Modes|Game Modes]]'''<br> | | Game Modes = '''Bullet list, see: [[:Category:Game Modes|Game Modes]]'''<br> | ||
| Available = '''First [[MWLL]] version in which map was available, Number only'''<br> | | Available = '''First [[MWLL]] version in which map was available, Number only'''<br> | ||
| − | | Mech = ''' | + | | Mech = '''Yes or blank'''<br> |
| − | | Tank = ''' | + | | Tank = '''Yes or blank'''<br> |
| − | | VTOL = ''' | + | | VTOL = '''Yes or blank'''<br> |
| − | | Aero = ''' | + | | Aero = '''Yes or blank'''<br> |
| − | | Base Defenses = ''' | + | | Base Defenses = '''Yes or blank'''<br> |
| BaseIS = '''Number (in brackets a number of ASF+VTOL or VTOL pads, eg. ASF: 2)'''<br> | | BaseIS = '''Number (in brackets a number of ASF+VTOL or VTOL pads, eg. ASF: 2)'''<br> | ||
| BaseCL = '''Number (in brackets a number of ASF+VTOL or VTOL pads, eg. VTOL: 1)'''<br> | | BaseCL = '''Number (in brackets a number of ASF+VTOL or VTOL pads, eg. VTOL: 1)'''<br> | ||
| − | | Map = | + | | Map = File:'''Name Of Image'''.jpg<br> |
| + | }} | ||
| + | {{Clear}} | ||
| + | |||
| + | ==Template== | ||
| + | <pre> | ||
| + | {{Map | ||
| + | | Image = | ||
| + | | ImageSize = | ||
| + | | Environment = | ||
| + | | Temperature = | ||
| + | | Planet = | ||
| + | | Coords = | ||
| + | | Size = | ||
| + | | Game Modes = | ||
| + | | Available = | ||
| + | | Mech = | ||
| + | | Tank = | ||
| + | | VTOL = | ||
| + | | Aero = | ||
| + | | Base Defenses = | ||
| + | | BaseIS = | ||
| + | | BaseCL = | ||
| + | | Map = | ||
}} | }} | ||
| + | </pre> | ||
==Notes== | ==Notes== | ||
* Primary image should be pictured from default camera location before starting the match (if camera is misplaced - random location may be chosen) | * Primary image should be pictured from default camera location before starting the match (if camera is misplaced - random location may be chosen) | ||
* Map image needs to be minimap.dds converted to JPG file and downsized to 1024 before the upload. | * Map image needs to be minimap.dds converted to JPG file and downsized to 1024 before the upload. | ||
| − | * Mech, Tank, VTOL and Aero are automatically placed on template with proper links, so only | + | * Mech, Tank, VTOL and Aero are automatically placed on template with proper links, so only '''"Yes"''' should be added, otherwise these will default to blank. |
| + | * Base Defenses should be '''"Yes"''' if there are any, anything else will display '''"None"'''. | ||
| + | * Multiple Game Modes require <nowiki><ul> and <li></nowiki> to function properly as unordered lists. | ||
[[Category:Infoboxes]] | [[Category:Infoboxes]] | ||
</noinclude> | </noinclude> | ||
Revision as of 01:08, 15 August 2017
| Map | ||
|---|---|---|
| | ||
| Environment: | Forest | |
| Size: | 8192 x 8192 | |
| Game Modes: | ||
| First Available In: | Beta 1.0 | |
| Assets | ||
| Assets: | ||
| Tactical Map | ||
Template for maps
Usage
{{Map|
| Image = File:Name Of Image.jpg
| ImageSize = Number only (in px; optional; default 350)
| Environment = Environment description
| Temperature = Number only, if multiple add after slash
| Planet = Name of planet, from loading screen
| Coords = Planet coordinates, from loading screen
| Size = Number x Number
| Game Modes = Bullet list, see: Game Modes
| Available = First MWLL version in which map was available, Number only
| Mech = Yes or blank
| Tank = Yes or blank
| VTOL = Yes or blank
| Aero = Yes or blank
| Base Defenses = Yes or blank
| BaseIS = Number (in brackets a number of ASF+VTOL or VTOL pads, eg. ASF: 2)
| BaseCL = Number (in brackets a number of ASF+VTOL or VTOL pads, eg. VTOL: 1)
| Map = File:Name Of Image.jpg
}}
Template
{{Map
| Image =
| ImageSize =
| Environment =
| Temperature =
| Planet =
| Coords =
| Size =
| Game Modes =
| Available =
| Mech =
| Tank =
| VTOL =
| Aero =
| Base Defenses =
| BaseIS =
| BaseCL =
| Map =
}}
Notes
- Primary image should be pictured from default camera location before starting the match (if camera is misplaced - random location may be chosen)
- Map image needs to be minimap.dds converted to JPG file and downsized to 1024 before the upload.
- Mech, Tank, VTOL and Aero are automatically placed on template with proper links, so only "Yes" should be added, otherwise these will default to blank.
- Base Defenses should be "Yes" if there are any, anything else will display "None".
- Multiple Game Modes require <ul> and <li> to function properly as unordered lists.