Difference between revisions of "Template:RegionInfoBox"

From EncyclopAtys

Jump to: navigation, search
m
m
Line 3: Line 3:
 
!align="centre" colspan="2" style="background: #008800; padding: 2px;"| <font color="white">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}</font>
 
!align="centre" colspan="2" style="background: #008800; padding: 2px;"| <font color="white">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}</font>
 
|-
 
|-
! colspan="2" |[[Image:{{{image}}}|300px|{{PAGENAME}}]]
+
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|300px|{{PAGENAME}}]] }}
 
|-
 
|-
 
!align="centre" colspan="2" style="background: #008800; padding: 11px;" |
 
!align="centre" colspan="2" style="background: #008800; padding: 11px;" |
Line 21: Line 21:
 
--><noinclude>{{clear}}
 
--><noinclude>{{clear}}
 
==Description==
 
==Description==
 
+
===Usage===
 
<pre>
 
<pre>
 
{{RegionInfoBox
 
{{RegionInfoBox
|continent
+
|image=
|lvl
+
|continent=
|neut
+
|lvl=
 +
|neut=
 
|}}
 
|}}
 
</pre>
 
</pre>
 +
 +
===Not optional parameters===
 +
; continent
 +
Specifies on which continent the region is in.
 +
 +
; 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:
 +
* Both
 +
* Kami
 +
* Karavan
 +
* None
 +
 +
===Optional parameters===
 +
; 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.
  
 
==Example==
 
==Example==
 +
{{RegionInfoBox
 +
|image=MG.png
 +
|continent=Witherings
 +
|lvl=50 - 100
 +
|neut=Karavan
 +
|}}
  
 
[[Category: Infobox templates|RegionInfoBox]]
 
[[Category: Infobox templates|RegionInfoBox]]
 
</noinclude>
 
</noinclude>

Revision as of 07:38, 13 March 2010

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

Description

Usage

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

Not optional parameters

continent

Specifies on which continent the region is in.

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:

  • Both
  • Kami
  • Karavan
  • None

Optional parameters

name

If used the template uses a different name than what {{PAGENAME}} provides.

image

Specifies the image that should be used for the region.

Example

Geographical Amber
RegionInfoBox
Sub-Continent Witherings
Region Level 50 - 100
Neutral Altar Karavan