Starblast Wiki
(<default import>)
 
Line 1: Line 1:
{| class="infoboxtable"
+
{| class="infobox"
 
|-
 
|-
! colspan="2" class="infoboxname" | "{{{name}}}"
+
! colspan="2" class="title" | {{{name|{{PAGENAME}}}}}
  +
|- style="{{#if: {{{image|}}}| | display: none;}}"
  +
| colspan="2" style="text-align: center;" | {{#ifeq: {{NAMESPACE}} | Template | [[File:{{{image}}}|200px]] | [[File:{{BASEPAGENAME}}.png|200px]] }}
 
|-
 
|-
 
! colspan="2" class="header" | Details
{{#if: {{{image|}}} | ! colspan="2" {{!}} [[File:{{{image}}}{{!}}{{{size|250x250px}}}]] | ! colspan="2" {{!}} ''No image yet''{{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }}
 
  +
|- style="{{#if: {{{tier|}}}| | display: none;}}"
|-
 
  +
!Tier:
! colspan="2" class="infoboxdetails" | Details
 
  +
|'''{{{tier}}}'''
|-
 
{{#if: {{{race|}}} | {{!}} width=80 {{!}} <div>Race</div> {{!!}} {{{race}}} }}
+
|- style="{{#if: {{{health|}}}| | display: none;}}"
  +
!Max/Min. Health:
|-
 
  +
|{{{health}}}
{{#if: {{{location|}}} | {{!}} <div>Location(s)</div> {{!!}} {{{location}}} }}
 
  +
|- style="{{#if: {{{damage|}}}| | display: none;}}"
|-
 
  +
!Max/Min Damage:
{{#if: {{{source|}}} | {{!}} <div>Source</div> {{!!}} {{{source}}} }}
 
  +
|{{{damage}}}
|-
 
{{#if: {{{reward|}}} | {{!}} <div>Reward</div> {{!!}} {{{reward}}} }}
+
|- style="{{#if: {{{firerate|}}}| | display: none;}}"
  +
!Fire rate:
|-
 
  +
|{{{firerate}}}
{{#if: {{{related|}}} | {{!}} <div>Related</div> {{!!}} {{{related}}} }}
 
  +
|- style="{{#if: {{{speed|}}}| | display: none;}}"
|-
 
  +
!Speed:
{{#if: {{{ID|}}} | {{!}} <div>ID</div> {{!!}} {{{ID}}} }}
 
  +
|{{{speed}}}
  +
|- style="{{#if: {{{energy|}}}| | display: none;}}"
  +
!Max/Min. Energy:
  +
|{{{energy}}}
  +
|- style="{{#if: {{{crystals|}}}| | display: none;}}"
  +
!Crystal Cap:
  +
|{{{crystals}}}
 
|}<noinclude>{{clear}}{{doc}}
 
|}<noinclude>{{clear}}{{doc}}
 
[[Category:Infobox templates]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Revision as of 14:28, 21 March 2017

Infobox
[[File:{{{image}}}|200px]]
Details
Tier: {{{tier}}}
Max/Min. Health: {{{health}}}
Max/Min Damage: {{{damage}}}
Fire rate: {{{firerate}}}
Speed: {{{speed}}}
Max/Min. Energy: {{{energy}}}
Crystal Cap: {{{crystals}}}
Template-info.png Documentation

This is just a generic infobox with a few sample fields

Usage

{{Infobox
| name     = 
| image    = 
| title    = 
| race     = 
| location = 
| source   = 
| reward   = 
| related  = 
| ID       =
}}

Example

Hydra guy
Curse hydra.png
Details
Tier: {{{tier}}}
Max/Min. Health: {{{health}}}
Max/Min Damage: {{{damage}}}
Fire rate: {{{firerate}}}
Speed: {{{speed}}}
Max/Min. Energy: {{{energy}}}
Crystal Cap: {{{crystals}}}
{{Infobox
| name     = Hydra guy
| image    = Curse hydra.png
| title    = The Mascot
| race     = Plushie
| location = Curse Headquarters
| source   = [[User:Encredechine{{!}}Encredechine]]
| reward   = 
| related  = Fun
| ID       =
}}