Difference between revisions of "Location info/Documentation"
Stratonian (talk | contribs) m (better parameter name) |
Stratonian (talk | contribs) m (→Parameters) |
||
(12 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| | + | {{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.}} | ||
Line 10: | Line 11: | ||
Possible categories:<br> | Possible categories:<br> | ||
:{{bullet}}camps | :{{bullet}}camps | ||
− | |||
:{{bullet}}dungeons | :{{bullet}}dungeons | ||
− | :{{bullet}}zones | + | :{{bullet}}safe zones |
− | {{parameter| | + | :{{bullet}}pvp zones |
− | {{parameter| | + | {{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]
- 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
- •dungeons
- •safe zones
- •pvp zones
- points of interest: The semicolon-separated names of points of interest in the location.
- Optional.
- Notes: Add your own wiki links.
- connections: 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.