Difference between revisions of "Template:Infobox race"

From BotE Wiki
Jump to: navigation, search
(new)
 
(Added T:col with parameter RACENUMBER)
 
Line 3: Line 3:
 
|-
 
|-
 
|
 
|
{| style="border:2px solid #{{#if:{{{FRAME|}}}|{{{FRAME}}}|DADADA}};background:#{{#if:{{{BG1|}}}|{{{BG1}}}|FFFFFF}}"  cellspacing="2" width="300px"
+
{| style="border:2px solid #{{#if:{{{FRAME|}}}|{{{FRAME}}}|{{col|frame|{{{RACENUMBER}}} }} }};background:#{{#if:{{{BG1|}}}|{{{BG1}}}|{{col|dark|{{{RACENUMBER}}} }} }}"  cellspacing="2" width="300px"
 
|-
 
|-
 
|
 
|
{| style="background:#{{#if:{{{BG2|}}}|{{{BG2}}}|FFFFFF}};border:2px solid #{{#if:{{{FRAME|}}}|{{{FRAME}}}|DADADA}}" cellspacing="2"|-
+
{| style="background:#{{#if:{{{BG2|}}}|{{{BG2}}}|{{col|light|{{{RACENUMBER}}} }} }};border:2px solid #{{#if:{{{FRAME|}}}|{{{FRAME}}}|{{col|frame|{{{RACENUMBER}}} }} }}" cellspacing="2"|-
 
{{#if: {{{NAME|}}}|
 
{{#if: {{{NAME|}}}|
! colspan="2" style="text-align: center;background:#{{#if:{{{HBG1|}}}|{{{HBG1}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|DADADA}}}};font-size: {{#if:{{{SIZE|}}}|{{{SIZE}}}|130}}%" {{!}} {{{NAME}}}|}}
+
! colspan="2" style="text-align: center;background:#{{#if:{{{HBG1|}}}|{{{HBG1}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|{{col|frame|{{{RACENUMBER}}} }} }}}};font-size: {{#if:{{{SIZE|}}}|{{{SIZE}}}|130}}%" {{!}} {{{NAME}}}|}}
 
|-
 
|-
 
{{#if: {{{IMAGE|}}}|
 
{{#if: {{{IMAGE|}}}|
{{!}} colspan="2" style="text-align: center;border:2px solid #{{#if:{{{FRAME|}}}|{{{FRAME}}}|DADADA}}" {{!}} {{image|{{{IMAGE}}}}}|}}
+
{{!}} colspan="2" style="text-align: center;border:2px solid #{{#if:{{{FRAME|}}}|{{{FRAME}}}|{{col|frame|{{{RACENUMBER}}} }} }}" {{!}} {{image|{{{IMAGE}}}}}|}}
 
|-
 
|-
 
{{#if: {{{MAIN SPECIES|}}}|
 
{{#if: {{{MAIN SPECIES|}}}|
! style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|F0F0F0}}}}" {{!}} Main species
+
! style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|{{col|dark|{{{RACENUMBER}}} }} }} }}" {{!}} Main species
 
{{!}} style="text-align: center;" {{!}} {{{MAIN SPECIES}}}|}}
 
{{!}} style="text-align: center;" {{!}} {{{MAIN SPECIES}}}|}}
 
|-
 
|-
 
{{#if: {{{SECONDARY SPECIES1|}}}|
 
{{#if: {{{SECONDARY SPECIES1|}}}|
! style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|F0F0F0}}}}" {{!}} Secondary species
+
! style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|{{col|dark|{{{RACENUMBER}}} }} }} }}" {{!}} Secondary species
 
{{!}} style="text-align: center;" {{!}} {{{SECONDARY SPECIES1}}}|}}
 
{{!}} style="text-align: center;" {{!}} {{{SECONDARY SPECIES1}}}|}}
 
|-
 
|-
 
{{#if: {{{SECONDARY SPECIES2|}}}|
 
{{#if: {{{SECONDARY SPECIES2|}}}|
! style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|F0F0F0}}}}" {{!}} Secondary species
+
! style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|{{col|dark|{{{RACENUMBER}}} }} }} }}" {{!}} Secondary species
 
{{!}} style="text-align: center;" {{!}} {{{SECONDARY SPECIES2}}}|}}
 
{{!}} style="text-align: center;" {{!}} {{{SECONDARY SPECIES2}}}|}}
 
|-
 
|-
 
{{#if: {{{HOME SYSTEM|}}}|
 
{{#if: {{{HOME SYSTEM|}}}|
! style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|F0F0F0}}}}" {{!}} Home system
+
! style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|{{col|dark|{{{RACENUMBER}}} }} }} }}" {{!}} Home system
 
{{!}} style="text-align: center;" {{!}} {{{HOME SYSTEM}}}|}}
 
{{!}} style="text-align: center;" {{!}} {{{HOME SYSTEM}}}|}}
 
|-
 
|-
 
{{#if: {{{HOME PLANET|}}}|
 
{{#if: {{{HOME PLANET|}}}|
! style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|F0F0F0}}}}" {{!}} Home planet
+
! style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|{{col|dark|{{{RACENUMBER}}} }} }} }}" {{!}} Home planet
 
{{!}} style="text-align: center;" {{!}} {{{HOME PLANET}}}|}}
 
{{!}} style="text-align: center;" {{!}} {{{HOME PLANET}}}|}}
 
|-
 
|-
 
{{#if: {{{SHIP PREFIX|}}}|
 
{{#if: {{{SHIP PREFIX|}}}|
! style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|F0F0F0}}}}" {{!}} Ship prefix
+
! style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|{{col|dark|{{{RACENUMBER}}} }} }} }}" {{!}} Ship prefix
 
{{!}} style="text-align: center;" {{!}} {{{SHIP PREFIX}}}|}}
 
{{!}} style="text-align: center;" {{!}} {{{SHIP PREFIX}}}|}}
 
|-
 
|-
 
{{#if: {{{SHIPS|}}}|
 
{{#if: {{{SHIPS|}}}|
! style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|F0F0F0}}}}" {{!}} Ships
+
! style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|{{col|dark|{{{RACENUMBER}}} }} }} }}" {{!}} Ships
 
{{!}} style="text-align: center;" {{!}} {{{SHIPS}}}|}}
 
{{!}} style="text-align: center;" {{!}} {{{SHIPS}}}|}}
 
|-
 
|-
 
{{#if: {{{TROOPS|}}}|
 
{{#if: {{{TROOPS|}}}|
! style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|F0F0F0}}}}" {{!}} Troops
+
! style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|{{col|dark|{{{RACENUMBER}}} }} }} }}" {{!}} Troops
 
{{!}} style="text-align: center;" {{!}} {{{TROOPS}}}|}}
 
{{!}} style="text-align: center;" {{!}} {{{TROOPS}}}|}}
 
|-
 
|-
 
{{#if: {{{STRENGTHS|}}}|
 
{{#if: {{{STRENGTHS|}}}|
! colspan="2" style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|F0F0F0}}}}" {{!}} Strengths
+
! colspan="2" style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|{{col|dark|{{{RACENUMBER}}} }} }} }}" {{!}} Strengths
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" {{!}}  
 
{{!}} colspan="2" {{!}}  
Line 52: Line 52:
 
|-
 
|-
 
{{#if: {{{WEAKNESSES|}}}|
 
{{#if: {{{WEAKNESSES|}}}|
! colspan="2" style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|F0F0F0}}}}" {{!}} Weaknesses
+
! colspan="2" style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|{{col|dark|{{{RACENUMBER}}} }} }} }}" {{!}} Weaknesses
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" {{!}}  
 
{{!}} colspan="2" {{!}}  
Line 58: Line 58:
 
|-
 
|-
 
{{#if: {{{CONTACT MESSAGE|}}}|
 
{{#if: {{{CONTACT MESSAGE|}}}|
! colspan="2" style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|F0F0F0}}}}" {{!}} First contact message
+
! colspan="2" style="text-align: center;background:#{{#if:{{{HBG2|}}}|{{{HBG2}}}|{{#if:{{{FRAME|}}}|{{{FRAME}}}|{{col|dark|{{{RACENUMBER}}} }} }} }}" {{!}} First contact message
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" {{!}} {{#if: {{{SOUND FILE|}}}| [http://birth-of-the-empires.de/wiki_files/Sounds/{{{SOUND FILE}}} Play]|}} {{{CONTACT MESSAGE}}}|}}
 
{{!}} colspan="2" {{!}} {{#if: {{{SOUND FILE|}}}| [http://birth-of-the-empires.de/wiki_files/Sounds/{{{SOUND FILE}}} Play]|}} {{{CONTACT MESSAGE}}}|}}

Latest revision as of 13:10, 17 September 2013

This is a template and changes to it will effect other pages.

Please consider discussing any changes on the talk page before implementing them.

{{Infobox race
|RACENUMBER = 
|NAME = 
|IMAGE = 
|MAIN SPECIES = 
|SECONDARY SPECIES1 = 
|SECONDARY SPECIES2 = 
|HOME SYSTEM = 
|HOME PLANET = 
|SHIP PREFIX = 
|SHIPS = 
|TROOPS = 
|STRENGTHS = 
|WEAKNESSES =
|SOUND FILE = 
|CONTACT MESSAGE = 
|SYMBOL = 
<!-- optional background and frame colours -->
|BG1 = 
|BG2 = 
|FRAME = 
<!-- optional heading size and background colours -->
|HBG1 = 
|HBG2 = 
|SIZE = 
}}