Difference between revisions of "Template:Infobox area"

m
Added newbie area option
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>