Template:Settlement: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
No edit summary
imported>Arkalor
No edit summary
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[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>__NOTOC__
{|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]]|}}
|}
{|border=0 cellpadding=0 cellspacing=3 style=width:100%
{|border=0 cellpadding=0 cellspacing=3 style=width:100%
|-valign=top
|-valign=top
|
|
{|style="width:310px; border:1px solid #aaaaaa; background:#F9F9F9; vertical-align:top;"
{|style="width:310px; border:1px solid #aaaaaa; background:#F9F9F9; vertical-align:top;"
|colspan=2|
|colspan=3|
{|style="width:100%;margin:0; background:#f2cece; border:1px solid #a3b0bf; text-align:left; color:#000;"
{|style="width:100%;margin:0; background:#f2cece; border:1px solid #a3b0bf; text-align:left; color:#000;"
|<big>'''Settlement Summary'''</big>
|<big>'''Settlement Summary'''</big>
|}
|}
|-
|-
|align=center valign=top|'''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|'''Location:'''
|align=center valign=top colspan=2|'''Location:'''
|valign=top| {{{Coordinates|??}}}
|valign=top| '''{{{Coordinates|??}}}'''
|-
|align=center valign=top|'''Nearest Town:'''
|valign=top| [[{{{Nearest Town|??}}}]]
|-
|-
{{#ifeq:{{{Portal Town|}}}|||
{{#ifeq:{{{Portal Town|}}}|||
{{!}}align=center valign=top{{!}}'''Settlement Portal:'''
{{!}}align=center valign=top colspan=2{{!}}'''Settlement Portal:'''
{{!}}valign=top{{!}} {{{Portal Coordinates|??}}} near [[{{{Portal Town|}}}]]
{{!}}valign=top{{!}} {{{Portal Coordinates|??}}} near [[{{{Portal Town|}}}]]
{{!}}-
{{!}}-
}}
}}
|colspan=2|
|align=center valign=top colspan=2|'''Nearest Town:'''
|valign=top| [[{{{Nearest Town|??}}}]]
|-
|colspan=3|
{|style="width:100%;margin:0; background:#d1f2ce; border:1px solid #a3b0bf; text-align:left; color:#000;"
{|style="width:100%;margin:0; background:#d1f2ce; border:1px solid #a3b0bf; text-align:left; color:#000;"
|<big>'''Purchase Information'''</big>
|<big>'''Purchase Information'''</big>
|}
|}
|-
|-
| [[Image:Pyreal Icon.png]] [[Pyreal]]
|width=32| [[File:Pyreal Icon.png|link=Pyreal]]
| {{{Purchase Pyreals|??}}}
| [[Pyreal]]
| {{{Purchase Pyreals|??}}}p
|-
|-
|[[Image:Writ of Refuge Icon.png]] [[Writ of Refuge]]
|width=32| [[File:Writ of Refuge Icon.png|link=Writ of Refuge]]
| [[Writ of Refuge]]
| {{{Purchase Writs|??}}}
| {{{Purchase Writs|??}}}
|-
|-
| [[Image:{{{Trophy Item 1|}}} Icon.png]] [[{{{Trophy Item 1|??}}}]]
|width=32| [[File:{{{Trophy Item 1|}}} Icon.png|link={{strip|{{{Trophy Item 1|}}}}}]]
| {{{Trophy Item 1#|??}}}
| [[{{{Trophy Item 1|??}}}]]
| {{{Trophy Item 1 Qty|??}}}
|-
|-
{{#ifeq:{{{Trophy Item 2|}}}|||
{{#ifeq:{{{Trophy Item 2|}}}|||
{{!}} [[Image:{{{Trophy Item 2|}}} Icon.png]] [[{{{Trophy Item 2|??}}}]]
{{!}} [[File:{{{Trophy Item 2|}}} Icon.png|link={{strip|{{{Trophy Item 2|}}}}}]]
{{!}} {{{Trophy Item 2#|??}}}
{{!}} [[{{{Trophy Item 2|??}}}]]
{{!}} {{{Trophy Item 2 Qty|??}}}
{{!}}-
{{!}}-
}}
}}
{{#ifeq:{{{Trophy Item 3|}}}|||
{{#ifeq:{{{Trophy Item 3|}}}|||
{{!}} [[Image:{{{Trophy Item 3|}}} Icon.png]] [[{{{Trophy Item 3|??}}}]]
{{!}} [[File:{{{Trophy Item 3|}}} Icon.png|link={{strip|{{{Trophy Item 3|}}}}}]]
{{!}} {{{Trophy Item 3#|??}}}
{{!}} [[{{{Trophy Item 3|??}}}]]
{{!}} {{{Trophy Item 3 Qty|??}}}
{{!}}-
{{!}}-
}}
}}
{{#ifeq:{{{Trophy Item 4|}}}|||
{{#ifeq:{{{Trophy Item 4|}}}|||
{{!}} [[Image:{{{Trophy Item 4|}}} Icon.png]] [[{{{Trophy Item 4|??}}}]]
{{!}} [[File:{{{Trophy Item 4|}}} Icon.png|link={{strip|{{{Trophy Item 4|}}}}}]]
{{!}} {{{Trophy Item 4#|??}}}
{{!}} [[{{{Trophy Item 4|??}}}]]
{{!}}-
{{!}} {{{Trophy Item 4 Qty|??}}}
}}
{{#ifeq:{{{Trophy Item 5|}}}|||
{{!}} [[Image:{{{Trophy Item 5|}}} Icon.png]] [[{{{Trophy Item 5|??}}}]]
{{!}} {{{Trophy Item 5#|??}}}
{{!}}-
}}
{{#ifeq:{{{Trophy Item 6|}}}|||
{{!}} [[Image:{{{Trophy Item 6|}}} Icon.png]] [[{{{Trophy Item 6|??}}}]]
{{!}} {{{Trophy Item 6#|??}}}
{{!}}-
{{!}}-
}}
}}
|colspan=2|
|colspan=3|
{|style="width:100%;margin:0; background:#cedff2; border:1px solid #a3b0bf; text-align:left; color:#000;"
{|style="width:100%;margin:0; background:#cedff2; border:1px solid #a3b0bf; text-align:left; color:#000;"
|<big>'''Related Articles'''</big>
|<big>'''Related Articles'''</big>
|}
|}
|-
|-
|align=center colspan=2| [[Image:Housing Settlements Icon.png|Housing Settlements]] [[Image:Transparent Icon.png| ]] [[Image:Cottage Icon.png|Cottages]] [[Image:Transparent Icon.png| ]] [[Image:Villa Icon.png|Villas]] [[Image:Transparent Icon.png| ]] [[Image:Mansion Icon.png|Mansions]]
|align=center colspan=3| [[File:Housing Settlements Icon.png|link=Housing Settlements]] [[File:Transparent Icon.png| ]] [[File:Cottage Icon.png|link=Cottages]] [[File:Transparent Icon.png| ]] [[File:Villa Icon.png|link=Villas]] [[File:Transparent Icon.png| ]] [[File:Mansion Icon.png|link=Mansions]]
|-
|-
|align=center valign=top|'''Introduced In:'''
|align=center valign=top colspan=2|'''Introduced In:'''
|valign=top| [[{{{Patch Introduced|??}}}]]
|valign=top| [[{{{Patch Introduced|??}}}]]
|-
|-
|align=center valign=top|'''Provides Access To:'''
|align=center valign=top colspan=2|{{#ifeq:{{{Updated|}}}|||'''Updated In:'''}}
|valign=top| {{{Provides Access To|??}}}
|valign=top| {{#ifeq:{{{Updated|}}}|||[[{{{Updated}}}]] }}
|-
|align=center valign=top colspan=2|'''Provides Access To:'''
|valign=top| {{#ifeq:{{{Provides Access To|}}}||??|{{{Provides Access To|??}}}}}
|-
|-
|}
|}
|width=20|
|width=20|
|
|
{{#ifeq:{{{Live Image|Live.jpg}}}
{{Live Image|{{{Live Image|}}}|{{{Live Image Caption|}}}}}
| Live.jpg
|}
|  
[[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>
| {{#ifeq:{{{Live Image|}}}
    |
    |
    | [[Image:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}|right]]
  }}
}}
|}</includeonly><noinclude>
{{Related|Wiki Templates|Housing Settlement Template}}
{{Related|Wiki Templates|Housing Settlement Template}}
== Syntax ==
== Syntax ==
Line 94: Line 89:
  |              Name =  
  |              Name =  
  |  Patch Introduced = Dark Majesty
  |  Patch Introduced = Dark Majesty
|            Updated =
  |          Mansions = 0
  |          Mansions = 0
  |            Villas = 0
  |            Villas = 0
Line 107: Line 103:
  |    Purchase Writs =  
  |    Purchase Writs =  
  |      Trophy Item 1 =  
  |      Trophy Item 1 =  
  |     Trophy Item 1# =  
  | Trophy Item 1 Qty =  
  |      Trophy Item 2 =  
  |      Trophy Item 2 =  
  |     Trophy Item 2# =  
  | Trophy Item 2 Qty =  
  |      Trophy Item 3 =  
  |      Trophy Item 3 =  
  |     Trophy Item 3# =  
  | Trophy Item 3 Qty =  
  |      Trophy Item 4 =  
  |      Trophy Item 4 =  
  |     Trophy Item 4# =
  | Trophy Item 4 Qty =  
|      Trophy Item 5 =
|    Trophy Item 5# =
|      Trophy Item 6 =
|    Trophy Item 6# =  
  |    Activation Reqs =  
  |    Activation Reqs =  
  | Provides Access To =  
  | Provides Access To =  
|          Link Maps = True
|        Link Images = True
|        Link Notes = True
}}
}}
</pre>
</pre>
Line 126: Line 121:
This template is one component of the page template [[Housing Settlement Template]], full details and an example can be found there.
This template is one component of the page template [[Housing Settlement Template]], full details and an example can be found there.


[[Category:Wiki Template]]
</noinclude>
</noinclude>

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.