Actions

Template

Difference between revisions of "BossInfo"

From Sonic Retro

m (Undo revision 138587 by SOTI (Talk))
(Name variable should replace PAGENAME; fixed game link)
Line 3: Line 3:
 
{{ #if: {{{imagewidth|}}} | [[Image:{{ #if: {{{image|}}} | {{{image}}} | Notavailable.svg }}|{{{imagewidth}}}px]] | [[Image:{{ #if: {{{image|}}} | {{{image}}} | Notavailable.svg }}]] }}
 
{{ #if: {{{imagewidth|}}} | [[Image:{{ #if: {{{image|}}} | {{{image}}} | Notavailable.svg }}|{{{imagewidth}}}px]] | [[Image:{{ #if: {{{image|}}} | {{{image}}} | Notavailable.svg }}]] }}
 
|-
 
|-
! '''Fast Facts on ''{{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}'''''
+
! '''Fast Facts on ''{{ #if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}'''''
 
|-
 
|-
 
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;" |
 
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;" |
{{ #if: {{{name|}}} | '''Name''': {{{name}}}<br> | }}{{
+
{{ #if: {{{game|}}} | '''Game''': ''[[{{{game}}}]]''<br> | }}{{
#if: {{{game|}}} | '''Game''': ''{{{game}}}''<br> | }}{{
 
 
  #if: {{{level|}}} | '''{{{level}}}''''s boss<br> | }}{{
 
  #if: {{{level|}}} | '''{{{level}}}''''s boss<br> | }}{{
 
  #if: {{{rings|}}} | '''Max Rings''': {{{rings}}}<br> | }}{{
 
  #if: {{{rings|}}} | '''Max Rings''': {{{rings}}}<br> | }}{{

Revision as of 20:32, 7 August 2010

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=
| rings=
| hits=
| playedas=
| nextform=
| music=
}}

All fields except "image" are optional.

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