Difference between revisions of "Location info/Documentation"
Stratonian (talk | contribs) m (→Usage: usage) |
Stratonian (talk | contribs) m (better parameter name) |
||
Line 3: | Line 3: | ||
==Usage== | ==Usage== | ||
{{T|Location info|map{{=}}map|name{{=}}name|description{{=}}description|category{{=}}category|quests{{=}}quests|loading screen{{=}}loading screen}} | {{T|Location info|map{{=}}map|name{{=}}name|description{{=}}description|category{{=}}category|quests{{=}}quests|loading screen{{=}}loading screen}} | ||
− | |||
==Parameters== | ==Parameters== | ||
− | {{parameter| | + | {{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.|}} |
Revision as of 19:21, 18 August 2023
Description
Displays an information page about an location.
Usage
{{Location info|<map=map>|<name=name>|<description=description>|<category=category>|<quests=quests>|<loading screen=loading screen>}}
Parameters
- image: 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.
- name: 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.
Possible categories:
- •camps
- •cities
- •dungeons
- •zones
- loading 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.