Actions

Template

Difference between revisions of "BossInfo"

From Sonic Retro

Line 1: Line 1:
<span class="morphMaster" id="LevelBobMaster"></span>
+
{{BobTable|
{|cellpadding="0" cellspacing="0" class="breakout" style="max-width: 340px; padding: 0px; float: right; margin-left: 15px; display: inline; position: relative"
+
{{BobRow||{{{image|}}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>|content={{#if: {{{image2|}}} |
| style="text-align: center;"|
+
{{tabs
{{ #ifeq: {{{image|}}} | none | |
+
| hidetitle=yes
<span style="display:block" id="LevelBobContent1">{{ #if: {{{imagewidth|}}} | [[Image:{{ #if: {{{image|}}} | {{{image}}} | Notavailable.svg }}|{{{imagewidth}}}px]] | [[Image:{{ #if: {{{image|}}} | {{{image}}} | Notavailable.svg }}]] }}</span>
+
| instant=yes
{{ #if: {{{image2|}}} | <span style="display:none" id="LevelBobContent2">{{ #if: {{{image2|}}} | [[Image:{{{image2}}}|{{{imagewidth2}}} px]] | [[Image:{{{image2}}}]] }}</span><span id="LevelBobLink1">{{{imagetitle1|Image 1}}}</span> &#124; <span id="LevelBobLink2">{{{imagetitle2|Image 2}}}</span> }} }}
+
| style=border:none; padding:0px;
|-
+
| orientation=horizontal
! '''Fast Facts on ''{{ #if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}'''''
+
| width=320px
|-
+
| icon1={{{tab1|Image 1}}}
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;" |
+
| icon2={{{tab2|Image 2}}}
{{ #if: {{{game|}}} | '''Game''': ''{{{game}}}''<br> | }}{{
+
| icon3={{#if:{{{bobscreen3|}}}|{{{tab3|Image 3}}}}}
#if: {{{level|}}} | '''Stage''': {{{level}}}<br> | }}{{
+
| content1={{bobscreen|{{{image}}}}}
#if: {{{miniboss|}}} | '''Stage''': {{{miniboss}}} (Mini-Boss)<br> | }}{{
+
| content2={{bobscreen|{{{image2}}}}}
#if: {{{rings|}}} | '''Max Rings''': {{{rings}}}<br> | }}{{
+
| content3={{#if:{{{image3|}}}|{{bobscreen|{{{image3}}}}}}}
#if: {{{hits|}}} | '''Hits to defeat''': {{{hits}}}<br> | }}{{
+
}}
#if: {{{playedas|}}} | '''Fought by''': {{{playedas}}}<br> | }}{{
+
|{{bobscreen|{{{image}}}}}}}{{#ifeq: {{fileext|{{{image}}}}} | jpg | [[Category:JPEG titlescreen]] }}}}
#if: {{{nextform|}}} | '''Next form''': {{{nextform}}}<br> | }}
+
{{BobRow||{{{name|}}}|default={{PAGENAME}}|content={{{name}}}|headline=yes|align=center}}
|}<noinclude>
+
{{BobRow|Distributor|{{{distributor|}}}}}
 +
{{BobRow||{{{game|}}}|content='''Game''': ''{{{game}}}''}}
 +
{{BobRow||{{{level|}}}|content='''Level''': {{{level}}}}}
 +
{{BobRow||{{{miniboss|}}}|content='''Level''': {{{miniboss}}} (mini-boss)}}
 +
{{BobRow||{{{rings|}}}|content='''Maximum rings''': {{{rings}}}}}
 +
{{BobRow||{{{hits|}}}|content='''Hits to defeat''': {{{hits}}}}}
 +
{{BobRow||{{{playedas|}}}|content='''Fought by''': {{{playedas}}}}}
 +
{{BobRow||{{{nextform|}}}|content='''Next form''': {{{nextform}}}}}
 +
}}<noinclude>
 
==Usage==
 
==Usage==
 
This template is to be used on articles about bosses. Place the following at the top of a page:
 
This template is to be used on articles about bosses. Place the following at the top of a page:

Revision as of 13:44, 21 February 2018

Notavailable.svg
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=
}}

All fields except "image" are optional.

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