Difference between revisions of "Template:Infobox Map/doc"
From MINR.ORG WIKI
Rickyboy320 (talk | contribs) (Documentation for the map infobox.) |
Rickyboy320 (talk | contribs) (→Usage) |
||
| Line 6: | Line 6: | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
{{Infobox_Map | {{Infobox_Map | ||
| − | | image | + | | image = <!-- Full name of image file. --> |
| − | | caption | + | | caption = <!-- Information about the image. --> |
| − | | points | + | | points = <!-- Amount of points this map is worth. --> |
| 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. --> | ||
Revision as of 19:34, 11 August 2017
Template:MboxLua error: expandTemplate: template "No redirect" does not exist.
Contents
Usage
This template adds an infobox to a map page. It should only be added to map pages and should contain the core information of the map.
{{Infobox_Map
| image = <!-- Full name of image file. -->
| caption = <!-- Information about the image. -->
| points = <!-- Amount of points this map is worth. -->
| location = <!-- FFA / FFA+ / Valley / Board -->
| mapcode = <!-- Tag of this map as used on the checkpoint signs. -->
| creators = <!-- In game names of the creators of this map. -->
| foodtype = <!-- Type of food the first checkpoint gives. -->
| foodamount = <!-- Amount of food given. -->
| description = <!-- Description social sharing should output. -->
}}
Parameters
- name – specifies the title. Not required. Default is the pagename.
- image – link to the image. Not required. Default is none.
- caption – information about the image. Not required.
- points – amount of points this map rewards. Required.
- location – location of the map. Required.
- mapcode – tag of the map. Required.
- creators – names of the players who made the map. Required. Seperated by a comma.
- foodtype – type of food the map gives. Not required. Default is None.
- foodamount – amount of food the map gives. Not required. Default is 64.
- description – description of the map. Used in SEO and social media cards.
Examples
{{Infobox_Map |nameTemplate:=Example|pointsTemplate:=1|location Template:= FFA|mapcode Template:= FFA-c-xxx|creators Template:= One, Two|foodtype Template:= Cooked Salmon|foodamount Template:= 64|description Template:= This is a description.}}
| Example | |
|---|---|
| Map information | |
| Reward | 1 FFA Point |
| Difficulty | Very Easy |
| Location | FFA |
| Mapcode | FFA-c-xxx |
| Creators | One, Two |
| Food | Cooked Salmon x64 |
| Publication | Unknown |