Template:Location: Difference between revisions
Template page
More actions
Aurelianus (talk | contribs) Prevent duplicate NPC galleries and add an empty state |
Aurelianus (talk | contribs) Move NPC content out of the location dossier |
||
| Line 14: | Line 14: | ||
<div class="hw-infobox-heading">Herbs Found Here</div> | <div class="hw-infobox-heading">Herbs Found Here</div> | ||
<div class="hw-infobox-blurb hw-location-herb-list">{{#cargo_query:tables=Herbs|fields=_pageName|where=Location='{{{name|{{PAGENAME}}}}}'|order by=Name|format=list|delimiter= · |default=None documented.}}</div> | <div class="hw-infobox-blurb hw-location-herb-list">{{#cargo_query:tables=Herbs|fields=_pageName|where=Location='{{{name|{{PAGENAME}}}}}'|order by=Name|format=list|delimiter= · |default=None documented.}}</div> | ||
</div> | </div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
This template displays a location dossier | This template displays a location dossier and automatically lists herbs whose centralized record names this location. Place NPC content later on the page with {{Location NPCs}}. | ||
== Usage == | == Usage == | ||
| Line 30: | Line 24: | ||
| blurb = A short description of the location. | | blurb = A short description of the location. | ||
| npc count = 1 | | npc count = 1 | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 12:09, 28 July 2026
This template displays a location dossier and automatically lists herbs whose centralized record names this location. Place NPC content later on the page with
PEOPLE OF THE REGION
The following NPCs can be found in this location.
No NPCs documented.
.
Usage
{{Location
| name = Mainland
| blurb = A short description of the location.
| npc count = 1
}}