Difference between revisions of "Template:Maps"

From QWiki
*>AlexMax
 
(Created page with "<includeonly>{{#if:{{{map10|}}}| {{{!}} class="wikitable mapstable" style="text-align:center; background:#e4e8eb; {{#if:{{{tablestyle|}}}|{{{tablestyle|}}};}}" {{#if:{{{title...")
 
Line 1: Line 1:
{| style="clear: both; border:1px solid #aaa; background-color:#f9f9f9; color:black; padding:0.2em; clear:center; font-size:85%; width:100%; margin-top: 12px;"
+
<includeonly>{{#if:{{{map10|}}}|
|-
 
| colspan="4" style="text-align:center; font-size:large" | QuakeWorld maps
 
|-
 
  
|-
+
{{{!}} class="wikitable mapstable" style="text-align:center; background:#e4e8eb; {{#if:{{{tablestyle|}}}|{{{tablestyle|}}};}}"
! style="background:#b0c4de; text-align:center" colspan="4" |Main maps
+
{{#if:{{{title|}}}|! colspan="10" {{!}}{{{title|}}}
|-
+
{{!}}-}}
! style="text-align:center; font-weight:normal;" colspan="4" | [[Aerowalk]] {{!}} [[DM2]] {{!}} [[DM3]] {{!}} [[DM4]] {{!}} [[DM6]] {{!}} [[E1M2]] {{!}} [[ZtnDM3]]
+
! style="padding-right:5px; padding-left:5px" {{!}} [[{{{map1|}}}]]
|-
+
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map2|}}}]]
|-
+
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map3|}}}]]
! style="background:#b0c4de; text-align:center" colspan="4" |[[Kenya]] maps
+
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map4|}}}]]
|-
+
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map5|}}}]]
! style="text-align:center; font-weight:normal;" colspan="4" |  [[A2]] {{!}} [[Blessed]] {{!}} [[CMT3]]  {{!}} [[CMT4]]  {{!}} [[Enraged]]  {{!}} [[Hate]]  {{!}} [[RF2]]  {{!}} [[RWild]]  {{!}} [[Schloss]]  {{!}} [[Skull]]  {{!}} [[VDM3]]  {{!}} [[ZtnDM6]]
+
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map6|}}}]]
|-
+
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map7|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map8|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map9|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map10|}}}]]
 +
{{!}}-style="background:#fff"
 +
{{!}} {{MapThumb|{{{map1|}}}}}
 +
{{!}} {{MapThumb|{{{map2|}}}}}
 +
{{!}} {{MapThumb|{{{map3|}}}}}
 +
{{!}} {{MapThumb|{{{map4|}}}}}
 +
{{!}} {{MapThumb|{{{map5|}}}}}
 +
{{!}} {{MapThumb|{{{map6|}}}}}
 +
{{!}} {{MapThumb|{{{map7|}}}}}
 +
{{!}} {{MapThumb|{{{map8|}}}}}
 +
{{!}} {{MapThumb|{{{map9|}}}}}
 +
{{!}} {{MapThumb|{{{map10|}}}}}
 +
{{#if:{{{note|}}}|
 +
{{!}}-
 +
{{!}}colspan="10" style="width:1000px; text-align:left"{{!}}{{{note|}}} }}
 +
{{!}}}
 +
|
  
|-
+
 
! style="background:#b0c4de; text-align:center" colspan="4" |[[Trick map|Trick maps]], practice maps and others
+
{{#if:{{{map9|}}}|
|-
+
 
! style="text-align:center; font-weight:normal;" colspan="4" | [[2bfree]]   {{!}} [[Amphi]] {{!}} [[EndIf]] {{!}} [[PovDMM4]] {{!}} [[Way2ez]]   {{!}} [[Way2ez2]] {{!}} [[Zediit]]   {{!}} [[Ztricks]] {{!}} [[Ztricks2]] {{!}} [[:Category:Maps|More...]]
+
{{{!}} class="wikitable mapstable" style="text-align:center; background:#e4e8eb; {{#if:{{{tablestyle|}}}|{{{tablestyle|}}};}}"
|-
+
{{#if:{{{title|}}}|! colspan="9" {{!}}{{{title|}}}
|}
+
{{!}}-}}
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map1|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map2|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map3|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map4|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map5|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map6|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map7|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map8|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map9|}}}]]
 +
{{!}}-style="background:#fff"
 +
{{!}} {{MapThumb|{{{map1|}}}}}
 +
{{!}} {{MapThumb|{{{map2|}}}}}
 +
{{!}} {{MapThumb|{{{map3|}}}}}
 +
{{!}} {{MapThumb|{{{map4|}}}}}
 +
{{!}} {{MapThumb|{{{map5|}}}}}
 +
{{!}} {{MapThumb|{{{map6|}}}}}
 +
{{!}} {{MapThumb|{{{map7|}}}}}
 +
{{!}} {{MapThumb|{{{map8|}}}}}
 +
{{!}} {{MapThumb|{{{map9|}}}}}
 +
{{#if:{{{note|}}}|
 +
{{!}}-
 +
{{!}}colspan="9" style="width:900px; text-align:left"{{!}}{{{note|}}} }}
 +
{{!}}}
 +
|
 +
 
 +
 
 +
 
 +
{{#if:{{{map8|}}}|
 +
 
 +
{{{!}} class="wikitable mapstable" style="text-align:center; background:#e4e8eb; {{#if:{{{tablestyle|}}}|{{{tablestyle|}}};}}"
 +
{{#if:{{{title|}}}|! colspan="8" {{!}}{{{title|}}}
 +
{{!}}-}}
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map1|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map2|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map3|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map4|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map5|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map6|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map7|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map8|}}}]]
 +
{{!}}-style="background:#fff"
 +
{{!}} {{MapThumb|{{{map1|}}}}}
 +
{{!}} {{MapThumb|{{{map2|}}}}}
 +
{{!}} {{MapThumb|{{{map3|}}}}}
 +
{{!}} {{MapThumb|{{{map4|}}}}}
 +
{{!}} {{MapThumb|{{{map5|}}}}}
 +
{{!}} {{MapThumb|{{{map6|}}}}}
 +
{{!}} {{MapThumb|{{{map7|}}}}}
 +
{{!}} {{MapThumb|{{{map8|}}}}}
 +
{{#if:{{{note|}}}|
 +
{{!}}-
 +
{{!}}colspan="8" style="width:800px; text-align:left"{{!}}{{{note|}}} }}
 +
{{!}}}
 +
|
 +
 
 +
 
 +
 
 +
{{#if:{{{map7|}}}|
 +
 
 +
{{{!}} class="wikitable mapstable" style="text-align:center; background:#e4e8eb; {{#if:{{{tablestyle|}}}|{{{tablestyle|}}};}}"
 +
{{#if:{{{title|}}}|! colspan="7" {{!}}{{{title|}}}
 +
{{!}}-}}
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map1|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map2|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map3|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map4|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map5|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map6|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map7|}}}]]
 +
{{!}}-style="background:#fff"
 +
{{!}} {{MapThumb|{{{map1|}}}}}
 +
{{!}} {{MapThumb|{{{map2|}}}}}
 +
{{!}} {{MapThumb|{{{map3|}}}}}
 +
{{!}} {{MapThumb|{{{map4|}}}}}
 +
{{!}} {{MapThumb|{{{map5|}}}}}
 +
{{!}} {{MapThumb|{{{map6|}}}}}
 +
{{!}} {{MapThumb|{{{map7|}}}}}
 +
{{#if:{{{note|}}}|
 +
{{!}}-
 +
{{!}}colspan="7" style="width:700px; text-align:left"{{!}}{{{note|}}} }}
 +
{{!}}}
 +
|
 +
 
 +
 
 +
{{#if:{{{map6|}}}|
 +
 
 +
{{{!}} class="wikitable mapstable" style="text-align:center; background:#e4e8eb; {{#if:{{{tablestyle|}}}|{{{tablestyle|}}};}}"
 +
{{#if:{{{title|}}}|! colspan="6" {{!}}{{{title|}}}
 +
{{!}}-}}
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map1|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map2|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map3|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map4|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map5|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map6|}}}]]
 +
{{!}}-style="background:#fff"
 +
{{!}} {{MapThumb|{{{map1|}}}}}
 +
{{!}} {{MapThumb|{{{map2|}}}}}
 +
{{!}} {{MapThumb|{{{map3|}}}}}
 +
{{!}} {{MapThumb|{{{map4|}}}}}
 +
{{!}} {{MapThumb|{{{map5|}}}}}
 +
{{!}} {{MapThumb|{{{map6|}}}}}
 +
{{#if:{{{note|}}}|
 +
{{!}}-
 +
{{!}}colspan="6" style="width:600px; text-align:left"{{!}}{{{note|}}} }}
 +
{{!}}}
 +
|
 +
 
 +
 
 +
{{#if:{{{map5|}}}|
 +
 
 +
{{{!}} class="wikitable mapstable" style="text-align:center; background:#e4e8eb; {{#if:{{{tablestyle|}}}|{{{tablestyle|}}};}}"
 +
{{#if:{{{title|}}}|! colspan="5" {{!}}{{{title|}}}
 +
{{!}}-}}
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map1|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map2|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map3|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map4|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map5|}}}]]
 +
{{!}}-style="background:#fff"
 +
{{!}} {{MapThumb|{{{map1|}}}}}
 +
{{!}} {{MapThumb|{{{map2|}}}}}
 +
{{!}} {{MapThumb|{{{map3|}}}}}
 +
{{!}} {{MapThumb|{{{map4|}}}}}
 +
{{!}} {{MapThumb|{{{map5|}}}}}
 +
{{#if:{{{note|}}}|
 +
{{!}}-
 +
{{!}}colspan="5" style="width:500px; text-align:left"{{!}}{{{note|}}} }}
 +
{{!}}}
 +
|
 +
 
 +
 
 +
{{#if:{{{map4|}}}|
 +
 
 +
{{{!}} class="wikitable mapstable" style="text-align:center; background:#e4e8eb; {{#if:{{{tablestyle|}}}|{{{tablestyle|}}};}}"
 +
{{#if:{{{title|}}}|! colspan="4" {{!}}{{{title|}}}
 +
{{!}}-}}
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map1|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map2|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map3|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map4|}}}]]
 +
{{!}}-style="background:#fff"
 +
{{!}} {{MapThumb|{{{map1|}}}}}
 +
{{!}} {{MapThumb|{{{map2|}}}}}
 +
{{!}} {{MapThumb|{{{map3|}}}}}
 +
{{!}} {{MapThumb|{{{map4|}}}}}
 +
{{#if:{{{note|}}}|
 +
{{!}}-
 +
{{!}}colspan="4" style="width:400px; text-align:left"{{!}}{{{note|}}} }}
 +
{{!}}}
 +
|
 +
 
 +
 
 +
{{#if:{{{map3|}}}|
 +
 
 +
{{{!}} class="wikitable mapstable" style="text-align:center; background:#e4e8eb; {{#if:{{{tablestyle|}}}|{{{tablestyle|}}};}}"
 +
{{#if:{{{title|}}}|! colspan="3" {{!}}{{{title|}}}
 +
{{!}}-}}
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map1|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map2|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map3|}}}]]
 +
{{!}}-style="background:#fff"
 +
{{!}} {{MapThumb|{{{map1|}}}}}
 +
{{!}} {{MapThumb|{{{map2|}}}}}
 +
{{!}} {{MapThumb|{{{map3|}}}}}
 +
{{#if:{{{note|}}}|
 +
{{!}}-
 +
{{!}}colspan="3" style="width:300px; text-align:left"{{!}}{{{note|}}} }}
 +
{{!}}}
 +
|
 +
 
 +
{{#if:{{{map2|}}}|
 +
 
 +
{{{!}} class="wikitable mapstable" style="text-align:center; background:#e4e8eb; {{#if:{{{tablestyle|}}}|{{{tablestyle|}}};}}"
 +
{{#if:{{{title|}}}|! colspan="2" {{!}}{{{title|}}}
 +
{{!}}-}}
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map1|}}}]]
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map2|}}}]]
 +
{{!}}-style="background:#fff"
 +
{{!}} {{MapThumb|{{{map1|}}}}}
 +
{{!}} {{MapThumb|{{{map2|}}}}}
 +
{{#if:{{{note|}}}|
 +
{{!}}-
 +
{{!}}colspan="2" style="width:200px; text-align:left"{{!}}{{{note|}}} }}
 +
{{!}}}
 +
|
 +
 
 +
{{#if:{{{map1|}}}|
 +
 
 +
{{{!}} class="wikitable mapstable" style="text-align:center; background:#e4e8eb; {{#if:{{{tablestyle|}}}|{{{tablestyle|}}};}}"
 +
{{#if:{{{title|}}}|! {{{title|}}}
 +
{{!}}-}}
 +
! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map1|}}}]]
 +
{{!}}-style="background:#fff"
 +
{{!}} {{MapThumb|{{{map1|}}}}}
 +
{{#if:{{{note|}}}|
 +
{{!}}-
 +
{{!}} style="width:100px; text-align:left" {{!}}{{{note|}}} }}
 +
{{!}}}
 +
}}
 +
}}
 +
}}
 +
}}
 +
}}
 +
}}
 +
}}
 +
}}
 +
}}
 +
}}
 +
</includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>

Latest revision as of 19:23, 12 January 2017

Documentation (view - edit)

Jannes Awesome Maplist
dm2 dm3 dm4 dm6 e1m2 aerowalk ztndm3 bravado
Dm2 Dm3 Dm4 Dm6 e1m2 Aerowalk Ztndm3 Bravado
Bravado used only if both players agree.


Adding the maps template to your page

Code Explanation

{{Maps

This declares that you will be using the Maps template.

|title=

If you want a title to appear above the template, add it here. For example, if you are using multiple instances of the template for rounds 1 and 2, you could add title=Round 1 and title=Round 2 to specify that the maps were played in that round. Feel free to leave this out!

|tablestyle=

This declares additional table CSS styling.

|map1=
|map2=
|map3=
|map4=
|map5=
|map6=
|map7=
|map8=
|map9=
|map10=

This is how you add the maps to the template from the map pool. The template has up to 10 slots for maps. If you don't need all 10 slots, you can use only as many as you need. E.g., if you have 5 maps, you only need to go to |map5=. They will be linked automatically.

|note=

If you have something to say about one of the maps, you can type it here. It will be added to a caption box below the map pool.

}}

Ends the use of the template. Without this the template will not work.

Copy & Paste Templates

{{Maps
|title=
|map1=
|map2=
|map3=
|map4=
|map5=
|map6=
|map7=
|map8=
|map9=
|map10=
|note=
}}


Adapted from Liquipedia under CC-BY-SA license.