Difference between revisions of "Template:Infobox Map"

From MINR.ORG WIKI
m
m (Test)
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{#seo:
 
{{#seo:
|title={{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
+
| title = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
|titlemode=replace
+
| titlemode = replace
|description={{{description|}}}
+
| description = {{{description|}}}
|og:title={{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
+
| og:title = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
|og:site_name=WIKI.MINR.ORG
+
| og:site_name = WIKI.MINR.ORG
|og:description={{{description|}}}
+
| og:description = {{{description|}}}
|og:type=website
+
| og:type = website
|og:url={{fullurl:{{PAGENAME}}}}
+
| og:url = {{fullurl:{{PAGENAME}}}}
|og:image={{#if:{{{image|}}} | [[File:{{{image}}}|200px]]}}
+
| og:image = {{#if:{{{image|}}} | {{filepath:{{{image}}}|1200px}}}}
 
}}  
 
}}  
  
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 = Location
+
| label3 = Difficulty
| data3 = {{{location}}}
+
| data3 = {{#if:{{{difficulty|}}} | {{{difficulty}}} |
| label4 = Mapcode
+
{{#switch: {{{points}}}
| data4 = {{{mapcode}}}
+
| 1 = <span style="color: white">Very Easy</span>
| label5 = Creators
+
| 2 = <span style="color: #0070FF">Easy</span>
| data5 = {{{creators}}}
+
| 4 = <span style="color: lime">Novice</span>
| label6 = Food
+
| 7 = <span style="color: yellow">Moderate</span>
| data6 = {{#if:{{{foodtype|}}}
+
| 12 = <span style="color: orange">Hard</span>
 +
| 18 = <span style="color: red">Very Hard</span>
 +
| 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
 +
| data4 = {{{location}}}
 +
| label5 = Mapcode
 +
| data5 = {{{mapcode}}}
 +
| label6 = {{#ifeq: {{#invoke:String|find|{{{creators}}}|,|0}} | 0 | Creator | Creators}}
 +
| data6 = {{{creators}}}
 +
| label7 = Food
 +
| data7 = {{#if:{{{foodtype|}}}
 
                   | {{{foodtype}}} x{{{foodamount|64}}}
 
                   | {{{foodtype}}} x{{{foodamount|64}}}
 
                   | None}}
 
                   | None}}
 +
| label8 = Publication
 +
| data8 = {{#if:{{{publication|}}}
 +
                  | {{{publication}}}
 +
                  | Unknown}}
 
}}
 
}}
 +
 +
<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]