Difference between revisions of "Template:Infobox area"
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}}} | ||
| | | 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 | |||
| 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 | |
---|---|
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 }}