Template:Settlement: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
Line 11: Line 11:
|}
|}
|-
|-
|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]]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|}}
|-
|-
|align=center valign=top|'''Location:'''
|align=center valign=top colspan=2|'''Location:'''
|valign=top| {{{Coordinates|??}}}
|valign=top| {{{Coordinates|??}}}
|-
|-
|align=center valign=top|'''Nearest Town:'''
|align=center valign=top colspan=2|'''Nearest Town:'''
|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|}}}]]
{{!}}-
{{!}}-
Line 64: Line 64:
|align=center colspan=3| [[File:Housing Settlements Icon.png|Housing Settlements]] [[File:Transparent Icon.png| ]] [[File:Cottage Icon.png|Cottages]] [[File:Transparent Icon.png| ]] [[File:Villa Icon.png|Villas]] [[File:Transparent Icon.png| ]] [[File:Mansion Icon.png|Mansions]]
|align=center colspan=3| [[File:Housing Settlements Icon.png|Housing Settlements]] [[File:Transparent Icon.png| ]] [[File:Cottage Icon.png|Cottages]] [[File:Transparent Icon.png| ]] [[File:Villa Icon.png|Villas]] [[File:Transparent Icon.png| ]] [[File:Mansion Icon.png|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|'''Provides Access To:'''
|valign=top| {{#ifeq:{{{Provides Access To|}}}||??|{{{Provides Access To|??}}}}}
|valign=top| {{#ifeq:{{{Provides Access To|}}}||??|{{{Provides Access To|??}}}}}
|-
|-

Revision as of 18:15, 19 October 2009

Related topics: Wiki Templates, Housing Settlement Template

Syntax

{{Settlement
 |               Name = 
 |   Patch Introduced = Dark Majesty
 |           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.