Difference between revisions of "Location info/Documentation"

m (better parameter name)
m (→‎Usage: usage update)
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|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|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.}}

Revision as of 19:22, 18 August 2023

Description

Displays an information page about an location.

Usage

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

Parameters

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
cities
dungeons
zones
Arrow.pngquests: The comma-separated names of quests that take place in the location.
Optional.
Arrow.pngloading screen: The file name of the location's loading screen.
Optional. Defaults to '{{PAGENAME}} loading screen.jpg'.

Errors

No description was provided. Add a description parameter.