Difference between revisions of "Location info/Documentation"

m (→‎Usage: usage update)
Line 6: Line 6:
 
==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.}}
{{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>{{{name|{{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.|}}
 
{{parameter|category|The location's category.|}}
 
{{parameter|category|The location's category.|}}
Line 16: Line 16:
 
{{parameter|quests|The comma-separated names of quests that take place in the location.|}}
 
{{parameter|quests|The comma-separated names of quests that take place in the location.|}}
 
{{parameter|loading screen|The file name of the location's loading screen.|<nowiki>{{PAGENAME}} loading screen.jpg</nowiki>}}
 
{{parameter|loading screen|The file name of the location's loading screen.|<nowiki>{{PAGENAME}} loading screen.jpg</nowiki>}}
 +
 
==Errors==
 
==Errors==
 
'''No description was provided. Add a description parameter.'''
 
'''No description was provided. Add a description parameter.'''

Revision as of 17:15, 19 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 '{{{name|{{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.