Difference between revisions of "Template:Location"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{| class="infobox" ! class="infoboxheader"|{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }} |- | style="text-align: center"|{{#if: {{{image|}}} | {{{image}}} | N...")
 
Line 5: Line 5:
{{#switch:{{lc: {{{1|}}} }}  
{{#switch:{{lc: {{{1|}}} }}  


|region = {{{!}} style="margin:0 auto; width:22em;"
|region = {{{!}} style="margin:0 auto; width:22em;" <!-- align="center" style="width:100%" -->
! colspan="2" class="infoboxheader" {{!}} Details
! colspan="2" class="infoboxheader" {{!}} Details
{{!}}- align="left"
{{!}}- align="left"
Line 21: Line 21:
{{!}}}
{{!}}}


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


{{#if:{{{description|}}} | {{Description|{{{description}}} }} }}
{{#if:{{{description|}}} | {{Description|{{{description}}}}} | }}
|}
|}
[[Category:Location]]
[[Category:Location]]

Revision as of 22:02, 1 November 2014


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
Note2.png

{{#switch:

style="margin:0 auto; width:22em;" Details
Region region style="margin: 0 auto; width: 22em;" Details
Region region

|town = {| style="margin:0 auto; width:22em;" ! colspan="2" class="infoboxheader" | Details |- align="left" | Region || region | Zone || zone


|}


{{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?)