Template:Infobox Location: Difference between revisions
From Portals of Phereon Wiki
Content added Content deleted
portalsofphereon>Olaroll No edit summary |
portalsofphereon>Olaroll No edit summary |
||
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:{{{open|}}}|<nowiki/> during {{{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></includeonly><!-- |
Revision as of 00:14, 17 November 2019
- 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.