Difference between revisions of "Template:Infobox area"

From AetoliaWiki
Jump to navigation Jump to search
(Created page with "<includeonly>Category:Areas {{#ifeq:{{{continent}}}|Sapience|Category:Areas of Sapience|}} {{#ifeq:{{{continent}}}|Albedos|Category:Areas of Albedos|}} {{infobox...")
 
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{#ifeq:{{{continent}}}|Sapience|[[Category:Areas of Sapience]]|}}
{{#ifeq:{{{continent}}}|Sapience|[[Category:Areas of Sapience]]|}}
{{#ifeq:{{{continent}}}|Albedos|[[Category:Areas of Albedos]]|}}
{{#ifeq:{{{continent}}}|Albedos|[[Category:Areas of Albedos]]|}}
{{#if:{{{protect|}}}|[[Category:Protectorates of {{{protect}}}]]|}}
{{#if:{{{env|}}}|[[Category:Areas/{{{env}}} Areas]]|}}


{{infobox
{{infobox
|above={{{name}}}
  | above   = {{{name}}}


|label2=Continent
  | below    = {{#if:{{{track|}}}|PATH TRACK '''{{{track}}}'''|}}
|data2=[[{{{continent}}}]]
 
  | label3  = Continent
  | data3    = {{#if:{{{continent|}}}|[[{{{continent}}}]]|}}
 
  | label4  = Environment
  | data4    = {{#if:{{{env|}}}|[[Environments|{{{env}}}]]|}}
 
  | label6  = [[Protectorate]] of
  | data6    = {{#if:{{{protect|}}}|[[{{{protect}}}]]|}}
}}</includeonly>
}}</includeonly>
<noinclude>
<noinclude>
Infobox template for area pages.
This template is for [[Areas|area]] pages infoboxes. All fields except '''name''' are optional. This template will also add the appropriate categories for areas, environment and protectorates.


Usage:
==Example==
{{infobox area
  | name      = The Swampy Village of Torston
  | track    = EASTERN ITHMIA
  | continent = Sapience
  | env      = Forest
  | protect  = Enorian
}}
<pre>
<pre>
{{infobox area
{{infobox area
   |name=
   | name   = The Swampy Village of Torston
   |continent=
  | track  = EASTERN ITHMIA
   | continent = Sapience
  | env    = Forest
  | protect = Enorian
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 06:56, 8 February 2020


This template is for area pages infoboxes. All fields except name are optional. This template will also add the appropriate categories for areas, environment and protectorates.

Example

The Swampy Village of Torston
ContinentSapience
EnvironmentForest
Protectorate ofEnorian
PATH TRACK EASTERN ITHMIA
{{infobox area
  | name    = The Swampy Village of Torston
  | track   = EASTERN ITHMIA
  | continent = Sapience
  | env     = Forest
  | protect = Enorian
}}