Template:Settlement: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
No edit summary
imported>Arkalor
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>__NOTOC__
__NOTOC__
{|cellpadding=2 style="width:100%; border:1px solid #aaaaaa; background:#f9f9f9;"
{|cellpadding=2 style="width:100%; border:1px solid #aaaaaa; background:#f9f9f9;"
|align=center| {{#ifeq:{{lc:{{{Link Notes|false}}}}}|true|[[#Notes|Notes]] <font color=#f9f9f9>___</font>|}} {{#ifeq:{{lc:{{{Link Maps|false}}}}}|true|[[#Maps|Maps]] <font color=#f9f9f9>___</font>|}} {{#ifeq:{{lc:{{{Link Images|false}}}}}|true|[[#Images|Images]]|}}
|align=center| {{#ifeq:{{lc:{{{Link Notes|false}}}}}|true|[[#Notes|Notes]] <font color=#f9f9f9>___</font>|}} {{#ifeq:{{lc:{{{Link Maps|false}}}}}|true|[[#Maps|Maps]] <font color=#f9f9f9>___</font>|}} {{#ifeq:{{lc:{{{Link Images|false}}}}}|true|[[#Images|Images]]|}}
Line 14: Line 13:
|-
|-
|align=center valign=top colspan=2|'''Houses:'''
|align=center valign=top colspan=2|'''Houses:'''
|valign=top| {{#ifexpr:{{{Mansions|0}}}>0|{{{Mansions|0}}} [[Mansion]]s<br>|}}{{#ifexpr:{{{Villas|0}}}>0|{{{Villas|0}}} [[Villa]]s<br>|}}{{#ifexpr:{{{Cottages|0}}}>0|{{{Cottages|0}}} [[Cottage]]s<br>|}}{{#ifexpr:{{{Apartments|0}}}>0|{{{Apartments|0}}} [[Apartment]]s|}}
|valign=top| {{#ifexpr:{{{Mansions|0}}}>0|{{{Mansions|0}}} [[Mansion]]<br>|}}{{#ifexpr:{{{Villas|0}}}>0|{{{Villas|0}}} [[Villa]]s<br>|}}{{#ifexpr:{{{Cottages|0}}}>0|{{{Cottages|0}}} [[Cottage]]s<br>|}}{{#ifexpr:{{{Apartments|0}}}>0|{{{Apartments|0}}} [[Apartment]]s|}}
|-
|-
|align=center valign=top colspan=2|'''Location:'''
|align=center valign=top colspan=2|'''Location:'''
|valign=top| {{{Coordinates|??}}}
|valign=top| '''{{{Coordinates|??}}}'''
|-
|-
{{#ifeq:{{{Portal Town|}}}|||
{{#ifeq:{{{Portal Town|}}}|||
Line 71: Line 70:
|align=center valign=top colspan=2|'''Introduced In:'''
|align=center valign=top colspan=2|'''Introduced In:'''
|valign=top| [[{{{Patch Introduced|??}}}]]
|valign=top| [[{{{Patch Introduced|??}}}]]
|-
|align=center valign=top colspan=2|{{#ifeq:{{{Updated|}}}|||'''Updated In:'''}}
|valign=top| {{#ifeq:{{{Updated|}}}|||[[{{{Updated}}}]] }}
|-
|-
|align=center valign=top colspan=2|'''Provides Access To:'''
|align=center valign=top colspan=2|'''Provides Access To:'''
Line 78: Line 80:
|width=20|
|width=20|
|
|
{{#ifeq:{{{Live Image|Live.jpg}}}
{{Live Image|{{{Live Image|}}}|{{{Live Image Caption|}}}}}
| Live.jpg
|
| {{#ifeq:{{{Live Image|}}}
    |  
    |
    | [[File:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}|right]]
  }}
}}
|}
|}
[[Category:Settlement]]{{#ifexpr:{{{Mansions|0}}}>0|[[Category:Mansion]]|}}{{#ifexpr:{{{Villas|0}}}>0|[[Category:Villa]]|}}{{#ifexpr:{{{Cottages|0}}}>0|[[Category:Cottage]]|}}{{#ifexpr:{{{Apartments|0}}}>0|[[Category:Apartment]]|}}</includeonly><noinclude>
[[Category:Settlement]]{{#ifexpr:{{{Mansions|0}}}>0|[[Category:Mansion]]|}}{{#ifexpr:{{{Villas|0}}}>0|[[Category:Villa]]|}}{{#ifexpr:{{{Cottages|0}}}>0|[[Category:Cottage]]|}}{{#ifexpr:{{{Apartments|0}}}>0|[[Category:Apartment]]|}}</includeonly><noinclude>
Line 95: Line 89:
  |              Name =  
  |              Name =  
  |  Patch Introduced = Dark Majesty
  |  Patch Introduced = Dark Majesty
|            Updated =
  |          Mansions = 0
  |          Mansions = 0
  |            Villas = 0
  |            Villas = 0

Latest revision as of 20:26, 17 January 2012

Related topics: Wiki Templates, Housing Settlement Template

Syntax

{{Settlement
 |               Name = 
 |   Patch Introduced = Dark Majesty
 |            Updated = 
 |           Mansions = 0
 |             Villas = 0
 |           Cottages = 0
 |         Apartments = 0
 |         Live Image =  Live.jpg
 | Live Image Caption = 
 |        Coordinates = 
 |       Nearest Town = 
 | Portal Coordinates = 
 |        Portal Town = 
 |   Purchase Pyreals = 
 |     Purchase Writs = 
 |      Trophy Item 1 = 
 |  Trophy Item 1 Qty = 
 |      Trophy Item 2 = 
 |  Trophy Item 2 Qty = 
 |      Trophy Item 3 = 
 |  Trophy Item 3 Qty = 
 |      Trophy Item 4 = 
 |  Trophy Item 4 Qty = 
 |    Activation Reqs = 
 | Provides Access To = 
 |          Link Maps = True
 |        Link Images = True
 |         Link Notes = True
}}

Usage

This template is one component of the page template Housing Settlement Template, full details and an example can be found there.