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?)
(Added more examples since this page now functions)
 
Line 36: Line 36:
  
 
== Examples ==
 
== Examples ==
 +
=== Example 1 ===
 
An infobox with all arguments present.
 
An infobox with all arguments present.
  
Line 67: Line 68:
 
| 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.
 
| 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
 
| saver = None
 +
}}</pre>
 +
 +
=== Example 2 ===
 +
An infobox using mainly the required sections. Note that, since the name field isn't used, the infobox is inheriting the page name. In a real [[map]] page, this would be the map name.
 +
 +
{{Infobox_Map
 +
| image = MisguidedGhostsStart.png
 +
| caption = The ghost area.
 +
| points = 7
 +
| location = [[FFA]]
 +
| mapcode = para
 +
| creators = [[Creators#snakevnm|snakevnm]]
 +
| publication = September 4, 2024
 +
| description = Misguided Ghosts is a mixed search map with parkour elements on zero.minr.org, worth 7 points. Use /join para to join the map.
 +
}}
 +
 +
<pre style="overflow:auto;">
 +
{{Infobox_Map
 +
| image = MisguidedGhostsStart.png
 +
| caption = The ghost area.
 +
| points = 7
 +
| location = [[FFA]]
 +
| mapcode = para
 +
| creators = [[Creators#snakevnm|snakevnm]]
 +
| publication = September 4, 2024
 +
| description = Misguided Ghosts is a mixed search map with parkour elements on zero.minr.org, worth 7 points. Use /join para to join the map.
 +
}}</pre>
 +
 +
=== Example 3 ===
 +
An infobox for a map that rewards only 1 [[Points|point]]. Despite using the points field, the reward section uses the singular version of points.
 +
 +
{{Infobox_Map
 +
| image = Sakura.png
 +
| caption = A look into the center of Sakura's mountain peaks.
 +
| points = 1
 +
| location = [[FFA+]]
 +
| mapcode = sak
 +
| creators = [[Creators#Bailey06|Bailey06]]
 +
| foodtype =
 +
| foodamount =
 +
| publication = February 25, 2019
 +
| description = Sakura is a pure parkour map on zero.minr.org, worth 1 point. Use /join Sakura to join the map.
 +
}}
 +
 +
<pre style="overflow:auto;">
 +
{{Infobox_Map
 +
| image = Sakura.png
 +
| caption = A look into the center of Sakura's mountain peaks.
 +
| points = 1
 +
| location = [[FFA+]]
 +
| mapcode = sak
 +
| creators = [[Creators#Bailey06|Bailey06]]
 +
| foodtype =
 +
| foodamount =
 +
| publication = February 25, 2019
 +
| description = Sakura is a pure parkour map on zero.minr.org, worth 1 point. Use /join Sakura to join the map.
 +
}}</pre>
 +
 +
=== Example 4 ===
 +
An example with a map that uses 8 [[creators]]. Due to how many creators the map uses, the infobox reaches its maximum width for the data section, causing the Publication tag and month to touch each other.
 +
 +
{{Infobox_Map
 +
| image = KinoHorrorClown.png
 +
| caption = A hallway with a Killer Klown from Outer Space!
 +
| points = 7
 +
| location = FFA+
 +
| mapcode = kinoh
 +
| creators = [[Creators#TunaSurprise|TunaSurprise]], [[Creators#Anrein|Anrein]], [[Creators#Buckley06|Buckley06]], [[Creators#FrananaSplits|FrananaSplits]], [[Creators#Mercata|Mercata]], [[Creators#Scylite|Scylite]], and [[Creators#Zatharel|Zatharel]]
 +
| foodtype =
 +
| foodamount =
 +
| publication = November 12, 2021
 +
| description = Kino Horror is a mixed search map on zero.minr.org, worth 7 points. Use /join kinoh to join the map.
 +
}}
 +
 +
<pre style="overflow:auto;">
 +
{{Infobox_Map
 +
| image = KinoHorrorClown.png
 +
| caption = A hallway with a Killer Klown from Outer Space!
 +
| points = 7
 +
| location = FFA+
 +
| mapcode = kinoh
 +
| creators = [[Creators#TunaSurprise|TunaSurprise]], [[Creators#Anrein|Anrein]], [[Creators#Buckley06|Buckley06]], [[Creators#FrananaSplits|FrananaSplits]], [[Creators#Mercata|Mercata]], [[Creators#Scylite|Scylite]], and [[Creators#Zatharel|Zatharel]]
 +
| foodtype =
 +
| foodamount =
 +
| publication = November 12, 2021
 +
| description = Kino Horror is a mixed search map on zero.minr.org, worth 7 points. Use /join kinoh to join the map.
 
}}</pre>
 
}}</pre>
  

Latest revision as of 05:28, 14 December 2025

Template:Mbox

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]

Example 1[edit]

An infobox with all arguments present.

Shri Tra Savern
Shri Tra Savern.png
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
}}

Example 2[edit]

An infobox using mainly the required sections. Note that, since the name field isn't used, the infobox is inheriting the page name. In a real map page, this would be the map name.

Infobox Map/doc
MisguidedGhostsStart.png
The ghost area.
Map information
Reward 7 FFA Points
Difficulty Moderate
Location FFA
Mapcode para
Creator snakevnm
Publication September 4, 2024


{{Infobox_Map
| image = MisguidedGhostsStart.png
| caption = The ghost area.
| points = 7
| location = [[FFA]]
| mapcode = para
| creators = [[Creators#snakevnm|snakevnm]]
| publication = September 4, 2024
| description = Misguided Ghosts is a mixed search map with parkour elements on zero.minr.org, worth 7 points. Use /join para to join the map.
}}

Example 3[edit]

An infobox for a map that rewards only 1 point. Despite using the points field, the reward section uses the singular version of points.

Infobox Map/doc
Sakura.png
A look into the center of Sakura's mountain peaks.
Map information
Reward 1 FFA Point
Difficulty Very Easy
Location FFA+
Mapcode sak
Creator Bailey06
Publication February 25, 2019


{{Infobox_Map
| image = Sakura.png
| caption = A look into the center of Sakura's mountain peaks. 
| points = 1
| location = [[FFA+]]
| mapcode = sak
| creators = [[Creators#Bailey06|Bailey06]]
| foodtype = 
| foodamount = 
| publication = February 25, 2019
| description = Sakura is a pure parkour map on zero.minr.org, worth 1 point. Use /join Sakura to join the map.
}}

Example 4[edit]

An example with a map that uses 8 creators. Due to how many creators the map uses, the infobox reaches its maximum width for the data section, causing the Publication tag and month to touch each other.

Infobox Map/doc
KinoHorrorClown.png
A hallway with a Killer Klown from Outer Space!
Map information
Reward 7 FFA Points
Difficulty Moderate
Location FFA+
Mapcode kinoh
Creators TunaSurprise, Anrein, Buckley06, FrananaSplits, Mercata, Scylite, and Zatharel
Publication November 12, 2021


{{Infobox_Map
| image = KinoHorrorClown.png
| caption = A hallway with a Killer Klown from Outer Space!
| points = 7
| location = FFA+
| mapcode = kinoh
| creators = [[Creators#TunaSurprise|TunaSurprise]], [[Creators#Anrein|Anrein]], [[Creators#Buckley06|Buckley06]], [[Creators#FrananaSplits|FrananaSplits]], [[Creators#Mercata|Mercata]], [[Creators#Scylite|Scylite]], and [[Creators#Zatharel|Zatharel]]
| foodtype = 
| foodamount = 
| publication = November 12, 2021
| description = Kino Horror is a mixed search map on zero.minr.org, worth 7 points. Use /join kinoh to join the map.
}}

See Also[edit]