Difference between revisions of "Template:Infobox Map"

From MINR.ORG WIKI
(Added difficulty as optional field.)
m (Test)
 
(16 intermediate revisions by 2 users not shown)
Line 18: Line 18:
 
| caption = {{{caption|}}}
 
| caption = {{{caption|}}}
 
| header1 = Map information
 
| header1 = Map information
| label2 = Points
+
| label2 = Reward
| data2= {{{points}}}
+
| data2= {{{points}}} FFA {{#ifeq:{{{points}}} | 1 | Point | Points}}
 
| label3 = Difficulty
 
| label3 = Difficulty
 
| data3 = {{#if:{{{difficulty|}}} | {{{difficulty}}} |  
 
| data3 = {{#if:{{{difficulty|}}} | {{{difficulty}}} |  
 
{{#switch: {{{points}}}  
 
{{#switch: {{{points}}}  
| 1 = Very Easy  
+
| 1 = <span style="color: white">Very Easy</span>
| 2 = Easy
+
| 2 = <span style="color: #0070FF">Easy</span>
| 3 = Normal
+
| 4 = <span style="color: lime">Novice</span>
| 4 = Hard
+
| 7 = <span style="color: yellow">Moderate</span>
| 5 = Very Hard
+
| 12 = <span style="color: orange">Hard</span>
| 0 = Undefined
+
| 18 = <span style="color: red">Very Hard</span>
| Varied}}}}
+
| 25 = <span style="color: #494949">Expert</span>
 +
| 16 (12 point main ending and a 4 point bonus) = <span style="color: orange">Hard</span>
 +
| 16 (4 point main ending and a 12 point secondary ending) = <span style="color: lime">Novice</span>
 +
| 8 (4 point main ending and a 4 point bonus) = <span style="color: lime">Novice</span>
 +
| <span style="color: #B324FF">Varied</span>}}}}
 
| label4 = Location
 
| label4 = Location
 
| data4 = {{{location}}}
 
| data4 = {{{location}}}
Line 40: Line 44:
 
                   | {{{foodtype}}} x{{{foodamount|64}}}
 
                   | {{{foodtype}}} x{{{foodamount|64}}}
 
                   | None}}
 
                   | None}}
 +
| label8 = Publication
 +
| data8 = {{#if:{{{publication|}}}
 +
                  | {{{publication}}}
 +
                  | Unknown}}
 
}}
 
}}
  
 
<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Latest revision as of 17:39, 1 October 2019

Example
Map information
Reward 1 FFA Point
Difficulty Hard
Location FFA
Mapcode xxx
Creator One
Food None
Publication October 22, 2010


See also[edit]