Difference between revisions of "Template:Infobox area"
Jump to navigation
Jump to search
m (Added newbie area option) |
m |
||
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:{{{ | {{#if:{{{protect|}}}|[[Category:Protectorates of {{{protect}}}]]|}} | ||
{{#if:{{{ | {{#if:{{{env|}}}|[[Category:Areas/{{{env}}} Areas]]|}} | ||
{{infobox | {{infobox | ||
|above={{{name}}} | | above = {{{name}}} | ||
| | | below = {{#if:{{{track|}}}|PATH TRACK '''{{{track}}}'''|}} | ||
| | |||
| | | label3 = Continent | ||
| | | data3 = {{#if:{{{continent|}}}|[[{{{continent}}}]]|}} | ||
| | | label4 = Environment | ||
| data4 = {{#if:{{{env|}}}|[[Environments|{{{env}}}]]|}} | |||
| label6 = [[Protectorate]] of | |||
| data6 = {{#if:{{{protect|}}}|[[{{{protect}}}]]|}} | |||
}}</includeonly> | }}</includeonly> | ||
<noinclude> | <noinclude> | ||
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. | |||
==Example== | |||
{{infobox area | {{infobox area | ||
|name= | | 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 | ||
| | | track = EASTERN ITHMIA | ||
| | | continent = Sapience | ||
| | | env = Forest | ||
| | | protect = Enorian | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Revision as of 02:08, 18 August 2016
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 | |
---|---|
Continent | Sapience |
Environment | Forest |
Protectorate of | Enorian |
PATH TRACK EASTERN ITHMIA |
{{infobox area | name = The Swampy Village of Torston | track = EASTERN ITHMIA | continent = Sapience | env = Forest | protect = Enorian }}