Template:Settlement: Difference between revisions
From Drunkapedia
imported>Tlosk No edit summary |
imported>Tlosk No edit summary |
||
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>[[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]]|}} | ||
__NOTOC__ | |||
{|cellpadding=2 style="width:100%; border:1px solid #aaaaaa; background:#f9f9f9;" | |||
|align=center| {{#ifeq:{{lc:{{{Link Maps|false}}}}}|true|[[{{PAGENAME}}#Maps|Maps]] <font color=#f9f9f9>___</font>|}} {{#ifeq:{{lc:{{{Link Images|false}}}}}|true|[[{{PAGENAME}}#Images|Images]] <font color=#f9f9f9>___</font>|}} {{#ifeq:{{lc:{{{Link Notes|false}}}}}|true|[[{{PAGENAME}}#Notes|Notes]]|}} | |||
|} | |||
{|border=0 cellpadding=0 cellspacing=3 style=width:100% | {|border=0 cellpadding=0 cellspacing=3 style=width:100% | ||
|-valign=top | |-valign=top |
Revision as of 09:44, 22 February 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# = | Trophy Item 2 = | Trophy Item 2# = | Trophy Item 3 = | Trophy Item 3# = | Trophy Item 4 = | Trophy Item 4# = | Trophy Item 5 = | Trophy Item 5# = | Trophy Item 6 = | Trophy Item 6# = | Activation Reqs = | Provides Access To = }}
Usage
This template is one component of the page template Housing Settlement Template, full details and an example can be found there.