Difference between revisions of "Template:Infobox area"

From AetoliaWiki
Jump to navigation Jump to search
m
m (Added newbie area option)
Line 3: Line 3:
{{#ifeq:{{{continent}}}|Albedos|[[Category:Areas of Albedos]]|}}
{{#ifeq:{{{continent}}}|Albedos|[[Category:Areas of Albedos]]|}}
{{#if:{{{fish|}}}|[[Category:Areas with Fishing Holes]]}}
{{#if:{{{fish|}}}|[[Category:Areas with Fishing Holes]]}}
{{#if:{{{newbie|}}}|[[Category:Newbie Areas]]}}


{{infobox
{{infobox
Line 13: Line 14:
|data4={{{level|}}}
|data4={{{level|}}}


|label6=Fishing?
|header6={{#if:{{{newbie|}}}|This is a [[newbie]] area.|}}
|data6= {{#if:{{{fish|}}}|[[Fishing|Yes]]|}}
|header7={{#if:{{{fish|}}}|This area contains [[fishing]] holes.|}}


}}</includeonly>
}}</includeonly>
Line 26: Line 27:
   |continent= required
   |continent= required
   |level=    optional
   |level=    optional
   |fish=      optional
  |newbie=    boolean
   |fish=      boolean
}}
}}
</pre>
</pre>
Example:
<pre>
{{infobox area
  |name=Mandre's Tower
  |continent=Sapience
  |level=99
  |newbie=1
  |fish=1
}}
</pre>
Results:
{{infobox area
  |name=Mandre's Tower
  |continent=Sapience
  |level=99
  |newbie=1
  |fish=1
}}
</noinclude>
</noinclude>

Revision as of 01:52, 16 August 2016


Infobox template for area pages.

Usage:

{{infobox area
  |name=      required
  |continent= required
  |level=     optional
  |newbie=    boolean
  |fish=      boolean
}}

Example:

{{infobox area
  |name=Mandre's Tower
  |continent=Sapience
  |level=99
  |newbie=1
  |fish=1
}}

Results:

Mandre's Tower
ContinentSapience
Recommended level99
This is a newbie area.
This area contains fishing holes.