Template:Infobox Location/doc: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "{{Documentation}} {{Invokes|Infobox Location}} {{Standard infobox parameters}} ==Parameters== ===name=== Name of the location. ===image=== An image of the location. ===release=== Date the location was released. ===update=== Update post associated with the release date. ===aka=== (Optional) Alternate names for the location. ===members=== Whether or not the location is members only. ===floors=== (Optional) Number of floors, omit if 1 or non applicable. ===location...")
 
No edit summary
 
Line 68: Line 68:
===type===
===type===
(Optional)
(Optional)
The location type. Used for adding specific categories to mw.pages. Multiple types can be provided, separated by commas. Allowed values are:
The location type. Used for adding specific categories to pages. Multiple types can be provided, separated by commas. Allowed values are:
* agility course
* agility course
* building
* building

Latest revision as of 12:44, 17 October 2024

This is a documentation subpage for Template:Infobox Location.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Infobox Location invokes function main in Module:Infobox Location using Lua.
Template:Infobox Location invokes Module:Infobox Location using Lua.


Standard infobox parameters

This infobox uses Module:Infobox, which provides a number of standard parameters.


Parameters

name

Name of the location.

image

An image of the location.

release

Date the location was released.

update

Update post associated with the release date.

aka

(Optional) Alternate names for the location.

members

Whether or not the location is members only.

floors

(Optional) Number of floors, omit if 1 or non applicable.

location

(Optional) Name of the surrounding area. Examples:

  • For cities, this would be the region the city is located in.
  • For buildings, this would be the name of the city that contains the building.
  • For islands, this would be the name of the sea containing the island.

capital

(Optional) The capital of the location. Typically only used when type is region.

requirement

(Optional) Requirements for entering the location. This will primarily be used for Guilds that have some skill or quest requirement before entry.

race

(Optional) Race of NPCs residing within the location.

wilderness

(Optional) Range of wilderness levels that the location spans.

teleport

(Optional) Possible teleports to the location.

music

(Optional) Music track that plays at this location.

diary

(Optional) The achievement diary at this location.

map

A map of the location. Should either be a map image or an interactive mapframe.

type

(Optional) The location type. Used for adding specific categories to pages. Multiple types can be provided, separated by commas. Allowed values are:

  • agility course
  • building
  • settlement
  • dungeon
  • mine
  • river
  • mountain
  • volcano
  • realm
  • island
  • hunter area
  • windmill
  • woods
  • region

Quick copy

{{Infobox Location
|name = 
|image = 
|release = 
|update = 
|aka = (Optional)
|members = 
|floors = (Optional)
|location = (Optional)
|capital = (Optional)
|requirement = (Optional)
|race = (Optional)
|wilderness = (Optional)
|teleport = (Optional)
|music = (Optional)
|diary = (Optional)
|map = 
|type = (Optional)
}}