Difference between revisions of "Template:Infobox Map/doc"
From MINR.ORG WIKI
m (Updated page, it looks like template can't be called twice on a page?) |
|||
| Line 17: | Line 17: | ||
| publication = <!-- Date or time period when the map was published --> | | publication = <!-- Date or time period when the map was published --> | ||
| description = <!-- Description social sharing should output. --> | | description = <!-- Description social sharing should output. --> | ||
| + | | saver = <!-- How often the map saves progress to a progress saver, if it has any. --> | ||
}}</pre> | }}</pre> | ||
| − | ===Parameters=== | + | === Parameters === |
*''name'' – specifies the title. Not required. Default is the pagename. | *''name'' – specifies the title. Not required. Default is the pagename. | ||
*''image'' – link to the image. Not required. Default is '''none'''. | *''image'' – link to the image. Not required. Default is '''none'''. | ||
| Line 30: | Line 31: | ||
*''foodtype'' – type of food the map gives. Not required. Default is '''None'''. | *''foodtype'' – type of food the map gives. Not required. Default is '''None'''. | ||
*''foodamount'' – amount of food the map gives. Not required. Default is '''64'''. | *''foodamount'' – amount of food the map gives. Not required. Default is '''64'''. | ||
| − | *'' | + | *''publication'' – either a date (in [Month] [Day], [Year] form) or a time period ([Early/Mid/Late]-[Year]) is given. Not required. Default is '''Unknown'''. |
*''description'' – description of the map. Used in SEO and social media cards. | *''description'' – description of the map. Used in SEO and social media cards. | ||
| + | *''saver'' – how often progress is saved to a progress saver. Not required. Default is '''blank'''. | ||
| − | ==Examples== | + | == Examples == |
An infobox with all arguments present. | An infobox with all arguments present. | ||
| − | + | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{Infobox_Map | {{Infobox_Map | ||
| − | |name = | + | | name = Shri Tra Savern |
| − | | points = | + | | image = Shri_Tra_Savern.png |
| + | | caption = A view of the vegetation outside the exits of Shri. | ||
| + | | points = 18 | ||
| location = FFA | | location = FFA | ||
| − | | mapcode = | + | | mapcode = sts |
| − | | creators = | + | | creators = [[Creators#srentiln|srentiln]] |
| foodtype = Cooked Salmon | | foodtype = Cooked Salmon | ||
| foodamount = 64 | | foodamount = 64 | ||
| − | | publication = | + | | publication = March-April 2013 |
| − | | description = | + | | description = Shri Tra Savern is a mixed maze map on zero.minr.org, worth 18 points. Use /join Shri Tra Savern to join the map. |
| + | | saver = None | ||
}} | }} | ||
| − | + | <pre style="overflow:auto;"> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{Infobox_Map | {{Infobox_Map | ||
| − | | name = | + | | name = Shri Tra Savern |
| − | | points = | + | | image = Shri_Tra_Savern.png |
| + | | caption = A view of the vegetation outside the exits of Shri. | ||
| + | | points = 18 | ||
| location = FFA | | location = FFA | ||
| − | | mapcode = | + | | mapcode = sts |
| − | | creators = | + | | creators = [[Creators#srentiln|srentiln]] |
| − | | | + | | foodtype = Cooked Salmon |
| − | | | + | | foodamount = 64 |
| − | + | | publication = March-April 2013 | |
| − | + | | description = Shri Tra Savern is a mixed maze map on zero.minr.org, worth 18 points. Use /join Shri Tra Savern to join the map. | |
| − | + | | saver = None | |
| − | + | }}</pre> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |publication | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | description = | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | }} | ||
| − | ==See | + | == See Also == |
* [[:Template:Infobox]] | * [[:Template:Infobox]] | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
Latest revision as of 01:08, 9 December 2025
Contents
Usage[edit]
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. -->
| difficulty = <!-- Difficulty of the map. -->
| 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. -->
| publication = <!-- Date or time period when the map was published -->
| description = <!-- Description social sharing should output. -->
| saver = <!-- How often the map saves progress to a progress saver, if it has any. -->
}}
Parameters[edit]
- 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.
- difficulty – difficulty of the map. Not required, automatically inferred from points if not specified.
- 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.
- publication – either a date (in [Month] [Day], [Year] form) or a time period ([Early/Mid/Late]-[Year]) is given. Not required. Default is Unknown.
- description – description of the map. Used in SEO and social media cards.
- saver – how often progress is saved to a progress saver. Not required. Default is blank.
Examples[edit]
An infobox with all arguments present.
| Shri Tra Savern | |
|---|---|
|
A view of the vegetation outside the exits of Shri. | |
| Map information | |
| Reward | 18 FFA Points |
| Difficulty | Very Hard |
| Location | FFA |
| Mapcode | sts |
| Creator | srentiln |
| Food | Cooked Salmon x64 |
| Publication | March-April 2013 |
| Progress Saver | None |
{{Infobox_Map
| name = Shri Tra Savern
| image = Shri_Tra_Savern.png
| caption = A view of the vegetation outside the exits of Shri.
| points = 18
| location = FFA
| mapcode = sts
| creators = [[Creators#srentiln|srentiln]]
| foodtype = Cooked Salmon
| foodamount = 64
| publication = March-April 2013
| description = Shri Tra Savern is a mixed maze map on zero.minr.org, worth 18 points. Use /join Shri Tra Savern to join the map.
| saver = None
}}