Difference between revisions of "Template:Infobox Map"
From MINR.ORG WIKI
Rickyboy320 (talk | contribs) (Creators when multiple, Creator when one.) |
Rickyboy320 (talk | contribs) (Added difficulty as optional field.) |
||
Line 20: | Line 20: | ||
| label2 = Points | | label2 = Points | ||
| data2= {{{points}}} | | data2= {{{points}}} | ||
− | | label3 = Location | + | | label3 = Difficulty |
− | | | + | | data3 = {{#if:{{{difficulty|}}} | {{{difficulty}}} | |
− | | | + | {{#switch: {{{points}}} |
− | | | + | | 1 = Very Easy |
− | | | + | | 2 = Easy |
− | | | + | | 3 = Normal |
− | | | + | | 4 = Hard |
− | | | + | | 5 = Very Hard |
+ | | 0 = Undefined | ||
+ | | Varied}}}} | ||
+ | | 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}} |
Revision as of 12:17, 14 August 2017
Example | |
---|---|
Map information | |
Points | 1 |
Difficulty | Hard |
Location | FFA |
Mapcode | xxx |
Creator | One |
Food | None |
See also
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. |