Difference between revisions of "Template:Infobox Map"
From MINR.ORG WIKI
Rickyboy320 (talk | contribs) m |
m (Test) |
||
(20 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
| og:type = website | | og:type = website | ||
| og:url = {{fullurl:{{PAGENAME}}}} | | og:url = {{fullurl:{{PAGENAME}}}} | ||
− | | og:image = {{#if:{{{image|}}} | {{filepath:{{{image}}}}}}} | + | | og:image = {{#if:{{{image|}}} | {{filepath:{{{image}}}|1200px}}}} |
}} | }} | ||
Line 18: | Line 18: | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| header1 = Map information | | header1 = Map information | ||
− | | label2 = | + | | label2 = Reward |
− | | data2= {{{points}}} | + | | data2= {{{points}}} FFA {{#ifeq:{{{points}}} | 1 | Point | Points}} |
− | | label3 = Location | + | | label3 = Difficulty |
− | | | + | | data3 = {{#if:{{{difficulty|}}} | {{{difficulty}}} | |
− | | | + | {{#switch: {{{points}}} |
− | | | + | | 1 = <span style="color: white">Very Easy</span> |
− | | | + | | 2 = <span style="color: #0070FF">Easy</span> |
− | | | + | | 4 = <span style="color: lime">Novice</span> |
− | | | + | | 7 = <span style="color: yellow">Moderate</span> |
− | | | + | | 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]
The above documentation is transcluded from Template:Infobox Map/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |