Difference between revisions of "Template:Urban Summary"
From Istaria Lexica
(now adds Category:Location) |
|||
Line 1: | Line 1: | ||
{{InfoBoxStart}} | {{InfoBoxStart}} | ||
− | ! colspan="2" | | + | ! colspan="2" | Location info: |
|- | |- | ||
{{InfoboxSimpleLine|name=Destination pad:|value={{#if: {{{padx|}}} | {{#if: {{{pady|}}} | {{{padx}}} / {{{pady}}}}} | No pad }} | No pad}} | {{InfoboxSimpleLine|name=Destination pad:|value={{#if: {{{padx|}}} | {{#if: {{{pady|}}} | {{{padx}}} / {{{pady}}}}} | No pad }} | No pad}} | ||
Line 8: | Line 8: | ||
{{InfoboxSimpleLine|name=Available lairs:|property=numlairs|value={{#if:{{{numlairs|}}} | {{{numlairs}}} | No lairs }} }} | {{InfoboxSimpleLine|name=Available lairs:|property=numlairs|value={{#if:{{{numlairs|}}} | {{{numlairs}}} | No lairs }} }} | ||
{{InfoboxSimpleLine|name=Must be attuned by:|property=attuneAt|value={{#if:{{{gatekeeper|}}} | {{{gatekeeper}}}}} }} | {{InfoboxSimpleLine|name=Must be attuned by:|property=attuneAt|value={{#if:{{{gatekeeper|}}} | {{{gatekeeper}}}}} }} | ||
− | + | {{InfoboxCoordinates|x={{#if:{{{x|}}}|{{{x}}}|{{#if:{{{padx|}}}|{{{padx}}}}}}}|y={{#if:{{{y|}}}|{{{y}}}|{{#if:{{{pady|}}}|{{{pady}}}}}}}}} | |
− | {{InfoboxCoordinates|x={{#if:{{{x|}}}|{{{x|}}}|{{{padx | ||
|- | |- | ||
| colspan="2" style="text-align:center; padding: 0; border-top: 1px solid #525252;" | {{InfoboxScreenshot|image={{{image|}}}}} | | colspan="2" style="text-align:center; padding: 0; border-top: 1px solid #525252;" | {{InfoboxScreenshot|image={{{image|}}}}} | ||
{{InfoboxEnd}}<includeonly>[[Category:Location]]</includeonly><noinclude>{{Clr}}{{documentation}}[[Category:Summary Templates]]</noinclude> | {{InfoboxEnd}}<includeonly>[[Category:Location]]</includeonly><noinclude>{{Clr}}{{documentation}}[[Category:Summary Templates]]</noinclude> |
Revision as of 21:33, 18 October 2022
Location info: | |
---|---|
Destination pad: | No pad |
Travel gate: | No portal |
Shrine: | No shrine |
Available plots: | No plots |
Available lairs: | No lairs |
Coordinates: ? / ? | |
Template documentation (for the template shown above, sometimes hidden or invisible)
Description[edit]
This template is used to summarise information about urban areas, such as guild towns, communities and cities.
Note: On item pages having invalid characters for filenames in their name (colons for example), adding a new image using the info box will not show it. You're still able to add it manually, just add a line '|image=<uploaded filename>' to the below code.
The Coordinate field is filled automatically in the following way:
- if padx and pady exist, use them
- if x and y exist, use those instead of padx and pady
- if both, latitude and longitude coordinates are given, show an additional link to istariareference.com
- Try out this template in your sandbox
- Find pages using this template
Syntax[edit]
{{Urban Summary |padx = |pady = |gatex = |gatey = |shrinex = |shriney = |numplots = |numlairs = |gatekeeper = |x = |y = }}
Parameters[edit]
{{Urban Summary |padx = latitude coordinate of the landing pad |pady = longitude coordinate of the landing pad |gatex = latitude coordinate of the portal |gatey = longitude coordinate of the portal |shrinex = latitude coordinate of the shrine |shriney = longitude coordinate of the shrine |numplots = No. of plots |numlairs = No. of Lairs |gatekeeper = Name of the gatekeeper, line is hidden by default |x = latitude coordinate of the location |y = longitude coordinate of the location }}
Example[edit]
{{Urban Summary |padx = 25220 |pady = 25897 |gatex = 25242 |gatey = 25940 |shrinex = 25163 |shriney = 25935 |numplots = 5 |numlairs = 2 |gatekeeper = Master Harro |x = 25000 |y = 26000 }}
Visit Template:Urban Summary/doc to edit this text. (How to: document correctly)