Difference between revisions of "Location info/Documentation"

m (→‎Usage: usage)
 
(13 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
Displays an information page about an location.
 
Displays an information page about an location.
 
==Usage==
 
==Usage==
{{T|Location info|map{{=}}map|name{{=}}name|description{{=}}description|category{{=}}category|quests{{=}}quests|loading screen{{=}}loading screen}}
+
{{T|Location info|image{{=}}image|name{{=}}name|description{{=}}description|category{{=}}category|quests{{=}}quests|loading screen{{=}}loading screen}}
  
 
==Parameters==
 
==Parameters==
{{parameter|map|A map of the location.|<nowiki>{{PAGENAME}}.jpg</nowiki>|Only use if the map name differs from the name of the page.}}
+
{{parameter|image|A map or image of the location.|<nowiki>{{PAGENAME}}.jpg</nowiki>|Only use if the image name differs from the name of the page.}}
 
{{parameter|name|The name of the location.|<nowiki>{{PAGENAME}}</nowiki>|Only use if the template is on a different page to the location's main article.}}
 
{{parameter|name|The name of the location.|<nowiki>{{PAGENAME}}</nowiki>|Only use if the template is on a different page to the location's main article.}}
 
{{parameter|description|A description of the location.|}}
 
{{parameter|description|A description of the location.|}}
Line 11: Line 11:
 
Possible categories:<br>
 
Possible categories:<br>
 
:{{bullet}}camps
 
:{{bullet}}camps
:{{bullet}}cities
 
 
:{{bullet}}dungeons
 
:{{bullet}}dungeons
:{{bullet}}zones
+
:{{bullet}}safe zones
{{parameter|quests|The comma-separated names of quests that take place in the location.|}}
+
:{{bullet}}pvp zones
{{parameter|loading screen|The file name of the location's loading screen.|<nowiki>{{PAGENAME}} loading screen.jpg</nowiki>}}
+
{{parameter|points of interest|The semicolon-separated names of points of interest in the location.||Add your own wiki links.}}
 +
{{parameter|connections|The semicolon-separated names of zones connected to the location.||Add your own wiki links. The cardinal direction is usually specified in brackets after the location name.}}
 +
 
 
==Errors==
 
==Errors==
 
'''No description was provided. Add a description parameter.'''
 
'''No description was provided. Add a description parameter.'''
 +
<includeonly>[[Category:Info Templates]]</includeonly>

Latest revision as of 18:37, 16 February 2024

Description[edit]

Displays an information page about an location.

Usage[edit]

{{Location info|<image=image>|<name=name>|<description=description>|<category=category>|<quests=quests>|<loading screen=loading screen>}}

Parameters[edit]

Arrow.pngimage: A map or image of the location.
Optional. Defaults to '{{PAGENAME}}.jpg'.
Notes: Only use if the image name differs from the name of the page.
Arrow.pngname: The name of the location.
Optional. Defaults to '{{PAGENAME}}'.
Notes: Only use if the template is on a different page to the location's main article.
Arrow.pngdescription: A description of the location.
Optional.
Arrow.pngcategory: The location's category.
Optional.

Possible categories:

camps
dungeons
safe zones
pvp zones
Arrow.pngpoints of interest: The semicolon-separated names of points of interest in the location.
Optional.
Notes: Add your own wiki links.
Arrow.pngconnections: The semicolon-separated names of zones connected to the location.
Optional.
Notes: Add your own wiki links. The cardinal direction is usually specified in brackets after the location name.

Errors[edit]

No description was provided. Add a description parameter.