Difference between revisions of "User:Rickyboy320/Infobox Map"

From MINR.ORG WIKI
(Example map infobox template.)
 
(Better initial draft for map infobox.)
 
Line 1: Line 1:
 
{{ infobox
 
{{ infobox
| abovestyle = background:red;
+
| headerstyle = background: color:green;
| headerstyle = background:blue;
 
 
| above = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
 
| above = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
| image = {{#if:{{{image|}}}|[[File:{{{image}}}|22em]]}}
+
| image = {{#if:{{{image|}}}
 +
                | [[File:{{{image}}}|22em]]}}
 
| caption = {{{caption|}}}
 
| caption = {{{caption|}}}
| header = Map values
+
| header1 = Map information
| label1 = Points
+
| label2 = Points
| data1 = {{{points}}}
+
| data2= {{{points}}}
| label2 = Location
+
| label3 = Location
| data2 = {{{location}}}
+
| data3 = {{{location}}}
 +
| label4 = Mapcode
 +
| data4 = {{{mapcode}}}
 +
| label5 = Creators
 +
| data5 = {{{creators}}}
 +
| label6 = Food
 +
| data6 = {{#if:{{{foodtype|}}}
 +
                  | {{{foodtype}}} x{{{foodamount|64}}}
 +
                  | None}}
 
}}
 
}}

Latest revision as of 17:52, 1 July 2017

Map information
Points {{{points}}}
Location {{{location}}}
Mapcode {{{mapcode}}}
Creators {{{creators}}}
Food None