Editing Template:Infobox Map/doc

From MINR.ORG WIKI

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 9: Line 9:
 
  | caption = <!-- Information about the image. -->
 
  | caption = <!-- Information about the image. -->
 
  | points = <!-- Amount of points this map is worth. -->
 
  | points = <!-- Amount of points this map is worth. -->
| difficulty = <!-- Difficulty of the map. -->
 
 
  | location = <!-- FFA / FFA+ / Valley / Board -->
 
  | location = <!-- FFA / FFA+ / Valley / Board -->
 
  | mapcode = <!-- Tag of this map as used on the checkpoint signs. -->
 
  | mapcode = <!-- Tag of this map as used on the checkpoint signs. -->
Line 15: Line 14:
 
  | foodtype = <!-- Type of food the first checkpoint gives. -->
 
  | foodtype = <!-- Type of food the first checkpoint gives. -->
 
  | foodamount = <!-- Amount of food given. -->
 
  | foodamount = <!-- Amount of food given. -->
| publication = <!-- Date or time period when the map was published -->
 
 
  | description = <!-- Description social sharing should output. -->
 
  | description = <!-- Description social sharing should output. -->
 
}}</pre>
 
}}</pre>
Line 24: Line 22:
 
*''caption''&nbsp;– information about the image. Not required.
 
*''caption''&nbsp;– information about the image. Not required.
 
*''points''&nbsp;– amount of points this map rewards. Required.
 
*''points''&nbsp;– amount of points this map rewards. Required.
*''difficulty''&nbsp;– difficulty of the map. Not required, automatically inferred from ''points'' if not specified.
 
 
*''location''&nbsp;– location of the map. Required.
 
*''location''&nbsp;– location of the map. Required.
 
*''mapcode''&nbsp;– tag of the map. Required.
 
*''mapcode''&nbsp;– tag of the map. Required.
Line 30: Line 27:
 
*''foodtype''&nbsp;– type of food the map gives.  Not required. Default is '''None'''.
 
*''foodtype''&nbsp;– type of food the map gives.  Not required. Default is '''None'''.
 
*''foodamount''&nbsp;– amount of food the map gives. Not required. Default is '''64'''.
 
*''foodamount''&nbsp;– amount of food the map gives. Not required. Default is '''64'''.
*''puclication''&nbsp;– either a date (in [Month] [Day], [Year] form) or a time period ([Early/Mid/Late]-[Year]) is given. Not required. Default is '''Unknown'''.
 
 
*''description''&nbsp;– description of the map. Used in SEO and social media cards.
 
*''description''&nbsp;– description of the map. Used in SEO and social media cards.
  
 
==Examples==
 
==Examples==
An infobox with all arguments present.
+
*{{tlx|Infobox_Map |name{{=}}Example |points{{=}}1|location {{=}} FFA |mapcode {{=}} FFA-c-xxx |creators {{=}} One, Two |foodtype {{=}} Cooked Salmon |foodamount {{=}} 64 |description {{=}} This is a description. }}
*{{tlx|Infobox_Map |name{{=}}Example
 
|points{{=}}1
 
|location {{=}} FFA
 
|mapcode {{=}} xxx
 
|creators {{=}} One, Two
 
|foodtype {{=}} Cooked Salmon |foodamount {{=}} 64
 
|publication {{=}} Unknown |description {{=}} This is a description. }}
 
 
{{Infobox_Map
 
{{Infobox_Map
 
|name = Example
 
|name = Example
 
| points = 1
 
| points = 1
 
| location = FFA
 
| location = FFA
| mapcode = xxx
+
| mapcode = FFA-c-xxx
 
| creators = One, Two
 
| creators = One, Two
 
| foodtype = Cooked Salmon
 
| foodtype = Cooked Salmon
 
| foodamount = 64
 
| foodamount = 64
| publication = October 22, 2010
 
 
| description = This is a description.
 
| description = This is a description.
 
}}
 
}}
  
An infobox without the food parameters.
+
*{{tlx|Infobox_Map |name{{=}}Example |points{{=}}1|location {{=}} FFA |mapcode {{=}} FFA-c-xxx |creators {{=}} One, Two |description {{=}} This is a description. }}
*{{tlx|Infobox_Map |name{{=}}Example
 
|points{{=}}1
 
|location {{=}} FFA
 
|mapcode {{=}} xxx
 
|creators {{=}} One, Two |publication {{=}} October 22, 2010
 
|description {{=}} This is a description. }}
 
 
{{Infobox_Map
 
{{Infobox_Map
 
| name = Example
 
| name = Example
 
| points = 1
 
| points = 1
 
| location = FFA
 
| location = FFA
| mapcode = xxx
+
| mapcode = FFA-c-xxx
 
| creators = One, Two
 
| creators = One, Two
| publication = October 22, 2010
 
| description = This is a description.
 
}}
 
 
An infobox with one creator.
 
*{{tlx|Infobox_Map |name{{=}}Example
 
|points{{=}}1
 
|location {{=}} FFA
 
|mapcode {{=}} xxx
 
|creators {{=}} One
 
|publication {{=}} October 22, 2010 |description {{=}} This is a description. }}
 
{{Infobox_Map
 
| name = Example
 
| points = 1
 
| location = FFA
 
| mapcode = xxx
 
| creators = One
 
| publication = October 22, 2010
 
| description = This is a description.
 
}}
 
 
An infobox with a specified difficulty field.
 
*{{tlx|Infobox_Map |name{{=}}Example |points{{=}}1|location {{=}} FFA |mapcode {{=}} xxx |difficulty {{=}} Hard|creators {{=}} One |publication {{=}} October 22, 2010 |description {{=}} This is a description. }}
 
{{Infobox_Map
 
| name = Example
 
| points = 1
 
| difficulty = Hard
 
| location = FFA
 
| mapcode = xxx
 
| creators = One
 
| publication = October 22, 2010
 
 
| description = This is a description.
 
| description = This is a description.
 
}}
 
}}

Please note that all contributions to MINR.ORG WIKI may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see MINR.ORG WIKI:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)