Vorlage:RegionInfoBox: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „<createbox> bgcolor=#f3f3ff </createbox><noinclude> RegionInfoBox </noinclude>“)
 
Zeile 1: Zeile 1:
<createbox>
+
{{#switch: {{lc: {{{continent}}}}}
bgcolor=#f3f3ff
+
| nexus minor    = {{#vardefine:colour|6C3}}
</createbox><noinclude>
+
| witherings      = {{#vardefine:colour|871F78}}
[[Category: Nützliche Templates|RegionInfoBox]]
+
| verdant heights = {{#vardefine:colour|339340}}
 +
| burning desert  = {{#vardefine:colour|C63}}
 +
| aeden aqueous  = {{#vardefine:colour|36C}}
 +
| #default        = {{#vardefine:colour|000}} }}<!--
 +
-->{| class="infobox"
 +
|-
 +
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 2px;"| <font color="white">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}</font>
 +
|-
 +
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|300px|{{PAGENAME}}]] }}
 +
|-
 +
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 11px;" |
 +
|-
 +
|
 +
|-
 +
{{#if: {{{continent|}}} | ! align="centre" style="background: #{{#var:colour}}; width:50%;" {{!}} <font color="white">'''Continent:'''</font>
 +
!align="center" {{!}} {{{continent}}}
 +
{{!}}- | }}
 +
{{#if: {{{section|}}} | ! align="centre" style="background: #{{#var:colour}}; width:50%;" {{!}} <font color="white">'''Prime Roots Section:'''</font>
 +
!align="center" {{!}} {{{section}}}
 +
{{!}}- | }}
 +
!align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Region Level:'''</font>
 +
!align="center" | {{{lvl}}}
 +
|-
 +
!align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Neutral Altar:'''</font>
 +
!align="center" | {{{neut}}}
 +
|}<!--
 +
 
 +
--><noinclude>{{clear}} __NOTOC__
 +
==Description==
 +
===Usage===
 +
<pre>
 +
{{RegionInfoBox
 +
|image=
 +
|continent=
 +
|lvl=
 +
|neut=
 +
|}}
 +
</pre>
 +
 
 +
===Not optional parameters===
 +
; lvl
 +
:Specifies the level range of the region, eg. 100 - 150
 +
 
 +
; neut
 +
:specifies to what faction the neutral altar of the region belongs, can be:
 +
:* Kami and Karavan
 +
:* Kami
 +
:* Karavan
 +
:* None
 +
 
 +
===Optional parameters===
 +
; continent
 +
:Specifies on which continent the region is in.
 +
 
 +
; name
 +
:If used the template uses a different name than what <nowiki>{{PAGENAME}}</nowiki> provides.
 +
 
 +
; image
 +
:Specifies the image that should be used for the region.
 +
 
 +
;section
 +
:Used in case of Prime Roots regions, it specifies the section of Prime Roots the region is in.
 +
 
 +
==Example==
 +
{{RegionInfoBox
 +
|image=MG_map.jpg
 +
|continent=Verdorrnde Lande
 +
|lvl=50 - 100
 +
|neut=Karavan
 +
|}}
 +
 
 +
[[Category: Infobox Vorlagen|RegionInfoBox]]
 
</noinclude>
 
</noinclude>

Version vom 26. Juli 2010, 16:12 Uhr

RegionInfoBox
Region Level: {{{lvl}}}
Neutral Altar: {{{neut}}}

Description

Usage

{{RegionInfoBox
|image=
|continent=
|lvl=
|neut=
|}}

Not optional parameters

lvl
Specifies the level range of the region, eg. 100 - 150
neut
specifies to what faction the neutral altar of the region belongs, can be:
  • Kami and Karavan
  • Kami
  • Karavan
  • None

Optional parameters

continent
Specifies on which continent the region is in.
name
If used the template uses a different name than what {{PAGENAME}} provides.
image
Specifies the image that should be used for the region.
section
Used in case of Prime Roots regions, it specifies the section of Prime Roots the region is in.

Example

Bernstein der Geographie
RegionInfoBox
MG map.jpg
Sub-Kontinent Verdorrnde Lande
Neutrale Altäre Karavan
Niveau der Region 50 - 100