Ryzom
Difference between revisions of "Template:RegionInfoBox"

From Ryzom Wiki

Jump to: navigation, search
m
m
Line 1: Line 1:
{| class="infobox"
+
{{#vardefine:colour|777}}<!--
 +
-->{| class="infobox"
 
|-
 
|-
!align="centre" colspan="2" style="background: #008800; padding: 2px;"| <font color="white">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}</font>
+
!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}}]] }}
 
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|300px|{{PAGENAME}}]] }}
 
|-
 
|-
!align="centre" colspan="2" style="background: #008800; padding: 11px;" |
+
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 11px;" |
 
|-
 
|-
 
|
 
|
 
|-
 
|-
!align="centre" style="background: #008800; width:50%;" | <font color="white">'''Continent:'''</font>
+
!align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Continent:'''</font>
 
!align="center" | {{{continent}}}
 
!align="center" | {{{continent}}}
 
|-
 
|-
!align="centre" style="background: #008800; width:50%;" | <font color="white">'''Region Level:'''</font>
+
!align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Region Level:'''</font>
 
!align="center" | {{{lvl}}}
 
!align="center" | {{{lvl}}}
 
|-
 
|-
!align="centre" style="background: #008800; width:50%;" | <font color="white">'''Neutral Altar:'''</font>
+
!align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Neutral Altar:'''</font>
 
!align="center" | {{{neut}}}
 
!align="center" | {{{neut}}}
 
|}<!--
 
|}<!--

Revision as of 16:28, 16 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:
  • Kami and Karavan
  • 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