Difference between revisions of "Template:Location"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(testing if that last conditional on Location image is causing annoying popups for NPC box -- trying to comment it out)
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{| class="infobox"
<includeonly>
! class="infoboxheader"|{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
<div style="float:right; width:33%; display:table;">
{| class="wikitable infobox plainlinks"
|+ {{{name|{{PAGENAME}}}}}
|-
|-
| style="text-align: center"|{{#if: {{{image|}}} | {{{image}}} | NoImage}}
<!--
{{#switch:{{lc: {{{1|}}} }}


|region = {{{!}} style="margin:0 auto; width:22em;" <!-- align="center" style="width:100%" -->
!colspan="2" align="center"|{{#if:{{{image|}}}|{{{image}}}|[[Special:Upload|Please add an image!]]}}
! colspan="2" class="infoboxheader" {{!}} Details
|-
{{!}}- align="left"
{{!}} '''[[Region]]''' {{!!}} {{{region|Unknown}}}
<!--
{{!}}- align="left"
{{!}} '''description''' {{!!}} {{{varname|Unknown}}}
{{!}}}
-->


|zone = {{{!}} style="margin: 0 auto; width: 22em;"
! width=30% nowrap="nowrap"|[[Eorzea | Region]]
! colspan="2" class="infoboxheader" {{!}} Details
| {{ #if:{{{region|}}} | {{{region}}} | Unknown}}
{{!}}- align="left"
{{!}} '''[[Region]]''' {{!!}} {{{region|Unknown}}}
{{!}}}


|town =
|-
-->
![[Locations | Zone]]
{{{!}} style="margin:0 auto; width:22em;"
| {{#if:{{{zone|}}}
! colspan="2" class="infoboxheader" {{!}} Details
| {{{zone}}}
{{!}}- align="left"
| Unknown}}
{{!}} '''[[Region]]''' {{!!}} {{{region|Unknown}}}
{{!}} '''[[Zone]]''' {{!!}} {{{zone|Unknown}}}
{{#if:{{{zone2|}}} | {{!}} '''[[Zone]]''' {{zone2|}} | }}}


{{#if:{{{description|}}} | {{Description|{{{description}}}}} | }}
|-
[[Category:Location]]
![[Aetheryte | Closest Aetheryte]]
| {{#if:{{{aetheryte|}}}
| {{{aetheryte}}}
| Unknown}}
|-
|}
</div>
<!-- {{#if:{{{image|}}}||[[Category:Needs image]]}} -->
</includeonly>
</includeonly>
 
<noinclude>{{documentation}}</noinclude>
<noinclude>
{{documentation}}
[[Category:Templates|{{PAGENAME}}]]
</noinclude>

Latest revision as of 15:59, 12 October 2019

Template documentation(for the above template, sometimes hidden or invisible)
Note2.png
This template is being expanded, currently only handles things like small towns across the maps, usage seen below

Usage:


{{location |image = [[File:Note2.png]] |region = region |zone = zone |aetheryte = nearest aetheryte location }}


Visit Template:Location/doc to edit this text! (How does this work?)