Actions

Template

Difference between revisions of "BossInfo"

From Sonic Retro

m
(19 intermediate revisions by 8 users not shown)
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"
+
{{BobTable|
| style="text-align: center;"|
+
{{BobRow||{{{image|}}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>|content={{#if: {{{image2|}}} |
{{ #if: {{{imagewidth|}}} | [[Image:{{ #if: {{{image|}}} | {{{image}}} | Notavailable.svg }}|{{{imagewidth}}}px]] | [[Image:{{ #if: {{{image|}}} | {{{image}}} | Notavailable.svg }}]] }}
+
{{tabs
|-
+
| hidetitle=yes
! '''Fast Facts on ''{{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}'''''
+
| instant=yes
|-
+
| style=border:none; padding:0px;
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;" |
+
| orientation=horizontal
{{ #if: {{{name|}}} | '''Name''': {{{name}}}<br> | }}{{
+
| width=320px
#if: {{{game|}}} | '''Game''': ''{{{game}}}''<br> | }}{{
+
| icon1={{{imagetitle1|Image 1}}}
#if: {{{level|}}} | '''{{{level}}}''''s boss<br> | }}{{
+
| icon2={{{imagetitle2|Image 2}}}
#if: {{{rings|}}} | '''Max Rings''': {{{rings}}}<br> | }}{{
+
| icon3={{#if:{{{image3|}}}|{{{imagetitle3|Image 3}}}}}
#if: {{{hits|}}} | '''Hits to defeat''': {{{hits}}}<br> | }}{{
+
| content1={{bobscreen|{{{image}}}}}
#if: {{{playedas|}}} | '''Fought by''': {{{playedas}}}<br> | }}{{
+
| content2={{bobscreen|{{{image2}}}}}
#if: {{{nextform|}}} | '''Next form''': {{{nextform}}}<br> | }}{{
+
| content3={{#if:{{{image3|}}}|{{bobscreen|{{{image3}}}}}}}
#if: {{{osv|}}} | '''OSV''': {{{osv}}}<br/>| }}{{
+
}}
#if: {{{music|}}} | '''Music''': {{{music}}}<br/> | }}
+
|{{bobscreen|{{{image}}}}}}}{{#ifeq: {{fileext|{{{image}}}}} | jpg | [[Category:JPEG titlescreen]] }}}}
|}<noinclude>
+
{{BobRow||{{{name|}}}|default={{PAGENAME}}|content={{{name}}}|headline=yes|align=center}}
 +
{{BobRow|Distributor|{{{distributor|}}}}}
 +
{{BobRow||{{{game|}}}|content='''Game''': ''[[{{{game}}}]]''[[Category:{{{game}}} bosses]]}}
 +
{{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 22: Line 31:
 
{{BossInfo
 
{{BossInfo
 
| image=
 
| image=
 +
| image2=
 +
| imagetitle1=
 +
| imagetitle2=
 
| imagewidth=
 
| imagewidth=
 
| name=
 
| name=
 
| game=
 
| game=
 
| level=
 
| level=
 +
| miniboss=
 
| rings=
 
| rings=
 
| hits=
 
| hits=
 
| playedas=
 
| playedas=
 
| nextform=
 
| nextform=
| music=
 
| osv=
 
| music=
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 40: 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.