Template:Infobox Location: Difference between revisions

From Portals of Phereon Wiki
Content added Content deleted
portalsofphereon>Olaroll
(Created page with "<includeonly><infobox theme="location"> <title source="name"><default>{{PAGENAME}}</default></title> <image source="image" /> <data source="NPC"><label>NPC</label></data...")
 
m (11 revisions imported)
 
(10 intermediate revisions by one other user not shown)
Line 2: Line 2:
<title source="name"><default>{{PAGENAME}}</default></title>
<title source="name"><default>{{PAGENAME}}</default></title>
<image source="image" />
<image source="image" />
<data source="NPC"><label>NPC</label></data>
<data source="npc"><label>NPC</label><format>{{{npc}}}{{#if:{{{time|}}}|<nowiki/> from {{{time}}}}}</format></data>
<data source="open"><label>Open times</label></data>
<data source="connected"><label>Connected locations</label></data>
<data source="connected"><label>Connected locations</label></data>
</infobox></includeonly><!--
</infobox>{{#ifeq:{{NAMESPACE}}|Template||[[Category:Locations]]}}</includeonly><!--


--><noinclude>{{Documentation}}</noinclude>
--><noinclude>{{Documentation}}</noinclude>

Latest revision as of 18:51, 12 December 2020

[view | edit | purge]Documentation
Description
An infobox for town locations
Usage
Look at the example to see how it should be formatted
Use this as a template
{{Infobox Location
| name      = <!-- Defaults to title -->
| image     = 
| npc       = [[]]
| time      = ??:?? - ??:??
| connected = *Connected
*Locations
}}
Example

{{Infobox Location
{{Infobox Location
| name      = <!-- Defaults to title -->
| image     = [[File:BrothelLocation.png]]
| npc       = [[Flora]]
| time      = ??:?? - ??:??
| connected = *Lake
*Tavern
}}
[view | edit | purge]The above documentation is transcluded fromTemplate:Infobox Location/doc.