Difference between revisions of "Template:AreaPage"

From AetoliaWiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<includeonly>[[Category:Areas]]
<includeonly>{{Infobox
{{#if:{{{type|}}}|
|name        = AreaPage
[[Category:{{{type}}} Areas]]
|bodystyle    = width:20em;
}}</includeonly><noinclude>
|title        = {{{area_name|Needs area_name}}}
|caption      = {{{caption|Needs caption}}}
|labelstyle  = width:33%;


----
|header1  = Details
 
|label2  = Terrain types
|data2    = {{{terrain|Needs terrain}}}
 
|label3  = Approx. size
|data3    = {{{roomcount|Needs roomcount}}} rooms
 
|label4  = Weather
|data4    = {{{weather|Needs weather}}}
 
|header5  = Denizens
 
{{#if:{{{denizens_1|}}}|
  |data6    = {{{denizens_1}}}
}}
 
{{#if:{{{denizens_2|}}}|
  |data7    = {{{denizens_2}}}
}}
 
{{#if:{{{denizens_3|}}}|
  |data8    = {{{denizens_3}}}
}}
 
{{#if:{{{denizens_4|}}}|
  |data9    = {{{denizens_4}}}
}}
 
{{#if:{{{denizens_5|}}}|
  |data10  = {{{denizens_5}}}
}}
 
{{#if:{{{denizens_6|}}}|
  |data11  = {{{denizens_6}}}
}}
 
{{#if:{{{denizens_7|}}}|
  |data12  = {{{denizens_7}}}
}}
 
{{#if:{{{denizens_8|}}}|
  |data13  = {{{denizens_8}}}
}}
 
{{#if:{{{denizens_9|}}}|
  |data14  = {{{denizens_9}}}
}}
 
{{#if:{{{denizens_10|}}}|
  |data15  = {{{denizens_10}}}
}}
 
{{#if:{{{denizens_11|}}}|
  |data16  = {{{denizens_11}}}
}}
 
{{#if:{{{denizens_12|}}}|
  |data17  = {{{denizens_12}}}
}}


Futureproofing, don't mind this.
|header18 = &nbsp;


'''Current Syntax:'''
|below = {{{desc|Needs desc}}}
<pre>{{AreaPage}}
}}


or
[[Category:Areas]]
{{#if:{{{type|}}}|[[Category:{{{type}}} Areas]]}}</includeonly><noinclude>


{{AreaPage|type=Forest}}</pre>
----


[[Category:Templates]]
[[Category:Templates]]
[[Category:Categorization Templates]]</noinclude>
[[Category:Categorization Templates]]
[[Category:Infobox Templates]]</noinclude>

Revision as of 04:11, 27 November 2012