Template:Settlement: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
Line 1: Line 1:
<includeonly>{|cellpadding=2 style="width:100%; border:1px solid #aaaaaa; background:#f9f9f9;"
<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]]|}}
|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 86: Line 88:
}}
}}
|}
|}
[[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]]|}}
[[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>
__NOTOC__
</includeonly><noinclude>
{{Related|Wiki Templates|Housing Settlement Template}}
{{Related|Wiki Templates|Housing Settlement Template}}
== Syntax ==
== Syntax ==

Revision as of 09:19, 20 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.