Template:Settlement: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
Line 77: Line 77:
|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>

Revision as of 11:34, 24 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.