Difference between revisions of "EnemyBob"
From Sonic Retro
BSonirachi (talk | contribs) (restored sprite scaling) |
|||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{BobTable| | {{BobTable| | ||
− | {{BobRow||{{{image|}}}|align=center|default=[[File:Notavailable.svg]]|content={{#if:{{{spritescale|}}}|{{SpriteImage|{{{image}}}|{{{spritescale}}}}}|{{ | + | {{BobRow||{{{image|}}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>|content={{#if: {{{image2|}}} | |
− | {{BobRow||{{{ | + | {{tabs |
+ | | hidetitle=yes | ||
+ | | instant=yes | ||
+ | | style=border:none; padding:0px; | ||
+ | | orientation=horizontal | ||
+ | | width= | ||
+ | | icon1={{{imagetitle1|Image 1}}} | ||
+ | | icon2={{{imagetitle2|Image 2}}} | ||
+ | | icon3={{#if:{{{image3|}}}|{{{imagetitle3|Image 3}}}}} | ||
+ | | content1={{#if:{{{spritescale|}}}|{{SpriteImage|{{{image}}}|{{{spritescale}}}}}|[[File:{{{image}}}|{{{imagewidth}}}px|]]}} | ||
+ | | content2={{#if:{{{spritescale2|}}}|{{SpriteImage|{{{image2}}}|{{{spritescale2}}}}}|[[File:{{{image2}}}|{{{imagewidth2}}}px|]]}} | ||
+ | | content3={{#if:{{{image3|}}}|{{#if:{{{spritescale3|}}}|{{SpriteImage|{{{image3}}}|{{{spritescale3}}}}}|[[File:{{{image3}}}|{{{imagewidth3}}}px|]]|}}}} | ||
+ | }} | ||
+ | |{{#if:{{{spritescale|}}}|{{SpriteImage|{{{image}}}|{{{spritescale}}}}}|[[File:{{{image}}}|{{{imagewidth}}}px|]]}}}}{{#ifeq: {{fileext|{{{image}}}}} | jpg | [[Category:JPEG titlescreen]] }}}} | ||
+ | {{BobRow||{{{name|}}}|default={{PAGENAME}}|content={{{name}}}|headline=yes|align=center}} | ||
{{BobRow||{{{game|}}}|default=<includeonly>[[Category:Enemy without game]]</includeonly>|content='''Game{{#if:{{{game2|}}}|s|}}:''' ''[[{{{game}}}]]''[[Category:{{{game}}} enemies]]{{ | {{BobRow||{{{game|}}}|default=<includeonly>[[Category:Enemy without game]]</includeonly>|content='''Game{{#if:{{{game2|}}}|s|}}:''' ''[[{{{game}}}]]''[[Category:{{{game}}} enemies]]{{ | ||
#if:{{{game2|}}}|, ''[[{{{game2}}}]]''[[Category:{{{game2}}} enemies]]|}}{{ | #if:{{{game2|}}}|, ''[[{{{game2}}}]]''[[Category:{{{game2}}} enemies]]|}}{{ | ||
Line 17: | Line 31: | ||
#if:{{{game14|}}}|, ''[[{{{game14}}}]]''[[Category:{{{game14}}} enemies]]|}}{{ | #if:{{{game14|}}}|, ''[[{{{game14}}}]]''[[Category:{{{game14}}} enemies]]|}}{{ | ||
#if:{{{game15|}}}|, ''[[{{{game15}}}]]''[[Category:{{{game15}}} enemies]]|}}}} | #if:{{{game15|}}}|, ''[[{{{game15}}}]]''[[Category:{{{game15}}} enemies]]|}}}} | ||
+ | {{BobRow||{{{affiliation|}}}|default=<includeonly>[[Category:Enemies without affiliation]]</includeonly> | ||
+ | |content='''Affiliation{{#if:{{{affiliation2|}}}|s|}}:''' [[{{{affiliation}}}]][[Category:{{{affiliation}}} enemies]]{{#if:{{{affiliation2|}}}|, [[{{{affiliation2}}}]][[Category:{{{affiliation2}}} enemies]]|}}}} | ||
+ | {{BobRow|Hits to defeat|{{{hits|}}}}} | ||
+ | {{BobRow|Points|{{{points|}}}}} | ||
+ | {{BobRow|Flicky colour|{{{flicky|}}}}} | ||
}}<noinclude> | }}<noinclude> | ||
Line 22: | Line 41: | ||
<pre>{{EnemyBob | <pre>{{EnemyBob | ||
| image= | | image= | ||
+ | | image2= | ||
+ | | image3= | ||
+ | | imagetitle1= | ||
+ | | imagetitle2= | ||
+ | | imagetitle3= | ||
+ | | imagewidth= | ||
+ | | imagewidth2= | ||
+ | | imagewidth3= | ||
+ | | spritescale= | ||
+ | | spritescale2= | ||
+ | | spritescale3= | ||
+ | | name= | ||
| game= | | game= | ||
+ | | game2= | ||
+ | | game3= | ||
+ | | affiliation= | ||
+ | | affiliation2= | ||
+ | | hits= | ||
+ | | points= | ||
}}</pre> | }}</pre> | ||
− | [[Category: | + | |
+ | Up to 15 games, 3 images and 2 affiliations may be associated with a single enemy. | ||
+ | |||
+ | For regular images, the "<tt>imagewidth</tt>" parameters are completely optional and use absolute pixel sizes (e.g. "<tt>| imagewidth=200</tt>" produces a 200-pixel image). For sprites, the "<tt>spritescale</tt>" parameters are recommended and use integers (e.g. "<tt>| spritescale=2</tt>" scales a sprite to double its size). | ||
+ | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 09:45, 15 April 2024
EnemyBob |
---|
Usage
{{EnemyBob | image= | image2= | image3= | imagetitle1= | imagetitle2= | imagetitle3= | imagewidth= | imagewidth2= | imagewidth3= | spritescale= | spritescale2= | spritescale3= | name= | game= | game2= | game3= | affiliation= | affiliation2= | hits= | points= }}
Up to 15 games, 3 images and 2 affiliations may be associated with a single enemy.
For regular images, the "imagewidth" parameters are completely optional and use absolute pixel sizes (e.g. "| imagewidth=200" produces a 200-pixel image). For sprites, the "spritescale" parameters are recommended and use integers (e.g. "| spritescale=2" scales a sprite to double its size).