Actions

Template

Difference between revisions of "BossInfo"

From Sonic Retro

Line 1: Line 1:
 
{|cellpadding="0" cellspacing="0" class="breakout" style="max-width: 340px; padding: 0px; float: right; margin-left: 15px; display: inline; position: relative"
 
{|cellpadding="0" cellspacing="0" class="breakout" style="max-width: 340px; padding: 0px; float: right; margin-left: 15px; display: inline; position: relative"
 
| style="text-align: center;"|
 
| style="text-align: center;"|
{{ #if: {{{imagewidth|}}} | [[Image:{{ #if: {{{image|}}} | {{{image}}} | Notavailable.svg }}|{{{imagewidth}}}px]] | [[Image:{{ #if: {{{image|}}} | {{{image}}} | Notavailable.svg }}]] }}
+
{{ #ifeq: {{{image|}}} | none | |
 +
<span style="display:block" id="BossInfoContent1">{{ #if: {{{imagewidth|}}} | [[Image:{{ #if: {{{image|}}} | {{{image}}} | Notavailable.svg }}|{{{imagewidth}}}px]] | [[Image:{{ #if: {{{image|}}} | {{{image}}} | Notavailable.svg }}]] }}</span>
 +
{{ #if: {{{image2|}}} | <span style="display:none" id="BossInfoContent2">{{ #if: {{{image2|}}} | [[Image:{{{image2}}}|{{{imagewidth2}}} px]] | [[Image:{{{image2}}}]] }}</span><span id="BossLink1">{{{imagetitle1|Image 1}}}</span> &#124; <span id="BossLink2">{{{imagetitle2|Image 2}}}</span> }} }}
 
|-
 
|-
 
! '''Fast Facts on ''{{ #if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}'''''
 
! '''Fast Facts on ''{{ #if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}'''''
Line 7: Line 9:
 
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;" |
 
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;" |
 
{{ #if: {{{game|}}} | '''Game''': ''{{{game}}}''<br> | }}{{
 
{{ #if: {{{game|}}} | '''Game''': ''{{{game}}}''<br> | }}{{
  #if: {{{level|}}} | '''{{{level}}}''''s Boss<br> | }}{{
+
  #if: {{{level|}}} | '''Stage''' {{{level}}}<br> | }}{{
  #if: {{{miniboss|}}} | '''{{{miniboss}}}''''s Mini-Boss<br> | }}{{
+
  #if: {{{miniboss|}}} | '''Stage''' {{{miniboss}}} (Mini-Boss)<br> | }}{{
 
  #if: {{{rings|}}} | '''Max Rings''': {{{rings}}}<br> | }}{{
 
  #if: {{{rings|}}} | '''Max Rings''': {{{rings}}}<br> | }}{{
 
  #if: {{{hits|}}} | '''Hits to defeat''': {{{hits}}}<br> | }}{{
 
  #if: {{{hits|}}} | '''Hits to defeat''': {{{hits}}}<br> | }}{{

Revision as of 21:43, 16 April 2011

Notavailable.svg

Fast Facts on BossInfo

Usage

This template is to be used on articles about bosses. Place the following at the top of a page:

{{BossInfo
| image=
| imagewidth=
| name=
| game=
| level=
| miniboss=
| rings=
| hits=
| playedas=
| nextform=
| music=
| pinchmode=
}}

All fields except "image" are optional.

"nextform" is only to be used when a boss has multiple forms with separate pages.