Actions

Template

Difference between revisions of "EnemyBob"

From Sonic Retro

m (Well, if nobody did it, someone gotta do it. Hope this works just fine.)
m (fixed affiliation2 section)
(5 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
| style=border:none; padding:0px;
 
| style=border:none; padding:0px;
 
| orientation=horizontal
 
| orientation=horizontal
| width=320px
+
| width=
 
| icon1={{{imagetitle1|Image 1}}}
 
| icon1={{{imagetitle1|Image 1}}}
 
| icon2={{{imagetitle2|Image 2}}}
 
| icon2={{{imagetitle2|Image 2}}}
 
| icon3={{#if:{{{image3|}}}|{{{imagetitle3|Image 3}}}}}
 
| icon3={{#if:{{{image3|}}}|{{{imagetitle3|Image 3}}}}}
| content1={{bobscreen|{{{image}}}}}
+
| content1=[[File:{{{image}}}|{{{imagewidth}}}]]
| content2={{bobscreen|{{{image2}}}}}
+
| content2=[[File:{{{image2}}}|{{{imagewidth2}}}]]
| content3={{#if:{{{image3|}}}|{{bobscreen|{{{image3}}}}}}}
+
| content3={{#if:{{{image3|}}}|[[File:{{{image3}}}|{{{imagewidth3}}}]]}}
 
}}
 
}}
|{{bobscreen|{{{image}}}}}}}{{#ifeq: {{fileext|{{{image}}}}} | jpg | [[Category:JPEG titlescreen]] }}}}
+
|[[File:{{{image}}}|{{{imagewidth}}}]]}}{{#ifeq: {{fileext|{{{image}}}}} | jpg | [[Category:JPEG titlescreen]] }}}}
 
{{BobRow||{{{name|}}}|default={{PAGENAME}}|content={{{name}}}|headline=yes|align=center}}
 
{{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]]{{
Line 32: Line 32:
 
#if:{{{game15|}}}|, ''[[{{{game15}}}]]''[[Category:{{{game15}}} enemies]]|}}}}
 
#if:{{{game15|}}}|, ''[[{{{game15}}}]]''[[Category:{{{game15}}} enemies]]|}}}}
 
{{BobRow||{{{affiliation|}}}|default=<includeonly>[[Category:Enemies without affiliation]]</includeonly>
 
{{BobRow||{{{affiliation|}}}|default=<includeonly>[[Category:Enemies without affiliation]]</includeonly>
|content='''Affiliation{{#if:{{{affiliation2|}}}|s|}}:''' [[{{{affiliation}}}]][[Category:{{{affiliation}}} enemies]]{{#if:{{{affiliation2|}}}|, [[{{{affiliation2}}}]]|}}}}
+
|content='''Affiliation{{#if:{{{affiliation2|}}}|s|}}:''' [[{{{affiliation}}}]][[Category:{{{affiliation}}} enemies]]{{#if:{{{affiliation2|}}}|, [[{{{affiliation2}}}]][[Category:{{{affiliation2}}} enemies]]|}}}}
 
{{BobRow|Hits to defeat|{{{hits|}}}}}
 
{{BobRow|Hits to defeat|{{{hits|}}}}}
 
{{BobRow|Points|{{{points|}}}}}
 
{{BobRow|Points|{{{points|}}}}}
Line 42: Line 42:
 
| image=
 
| image=
 
| image2=
 
| image2=
 +
| image3=
 
| imagetitle1=
 
| imagetitle1=
 
| imagetitle2=
 
| imagetitle2=
 +
| imagetitle3=
 
| imagewidth=
 
| imagewidth=
 +
| imagewidth2=
 +
| imagewidth3=
 
| name=
 
| name=
 
| game=
 
| game=
 +
| game2=
 +
| game3=
 
| affiliation=
 
| affiliation=
 +
| affiliation2=
 
| hits=
 
| hits=
 
| points=
 
| points=
 
}}</pre>
 
}}</pre>
  
Up to 15 games and 2 affiliations may be associated with a single enemy.
+
Up to 15 games, 3 images and 2 affiliations may be associated with a single enemy.
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 12:31, 7 April 2024

Notavailable.svg
EnemyBob

Usage

{{EnemyBob
| image=
| image2=
| image3=
| imagetitle1=
| imagetitle2=
| imagetitle3=
| imagewidth=
| imagewidth2=
| imagewidth3=
| name=
| game=
| game2=
| game3=
| affiliation=
| affiliation2=
| hits=
| points=
}}

Up to 15 games, 3 images and 2 affiliations may be associated with a single enemy.