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: | ||
− | { | + | <includeonly>{{#if:{{{map10|}}}| |
− | |||
− | |||
− | | | ||
− | + | {{{!}} class="wikitable mapstable" style="text-align:center; background:#e4e8eb; {{#if:{{{tablestyle|}}}|{{{tablestyle|}}};}}" | |
− | ! style="background:# | + | {{#if:{{{title|}}}|! colspan="10" {{!}}{{{title|}}} |
− | + | {{!}}-}} | |
− | ! style=" | + | ! 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=" | + | ! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map4|}}}]] |
− | + | ! style="padding-right:5px; padding-left:5px"{{!}} [[{{{map5|}}}]] | |
− | ! style=" | + | ! 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:# | + | {{#if:{{{map9|}}}| |
− | |- | + | |
− | ! style="text-align:center; | + | {{{!}} 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 |
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 |
Adapted from Liquipedia under CC-BY-SA license.