Actions

Template

Difference between revisions of "BossInfo"

From Sonic Retro

(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<span class="morphMaster"></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="BossInfoContent1">{{ #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="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> }} }}
+
| style=border:none; padding:0px;
|-
+
| orientation=horizontal
! '''Fast Facts on ''{{ #if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}'''''
+
| width=320px
|-
+
| icon1={{{imagetitle1|Image 1}}}
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;" |
+
| icon2={{{imagetitle2|Image 2}}}
{{ #if: {{{game|}}} | '''Game''': ''{{{game}}}''<br> | }}{{
+
| icon3={{#if:{{{image3|}}}|{{{imagetitle3|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}}
#if: {{{music|}}} | '''Music''': {{{music}}}<br/> | }}{{
+
{{BobRow|Distributor|{{{distributor|}}}}}
#if: {{{pinchmode|}}} | '''Pinch Mode''': {{{pinchmode}}}<br/> | }}
+
{{BobRow||{{{game|}}}|content='''Game''': ''[[{{{game}}}]]''[[Category:{{{game}}} bosses]]}}
|}<noinclude>
+
{{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:
Line 25: Line 31:
 
{{BossInfo
 
{{BossInfo
 
| image=
 
| image=
 +
| image2=
 +
| imagetitle1=
 +
| imagetitle2=
 
| imagewidth=
 
| imagewidth=
 
| name=
 
| name=
Line 34: Line 43:
 
| playedas=
 
| playedas=
 
| nextform=
 
| nextform=
| music=
 
| pinchmode=
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 43: Line 50:
 
"nextform" is only to be used when a boss has multiple forms with separate pages.
 
"nextform" is only to be used when a boss has multiple forms with separate pages.
  
[[Category:Breakout Box Templates|Bob]]</noinclude>
+
[[Category:Breakout box templates|Bob]]</noinclude>

Revision as of 14:45, 18 September 2019

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=
| image2=
| imagetitle1=
| imagetitle2=
| 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.