Actions

Template

Difference between revisions of "LevelBob"

From Sonic Retro

(I can't fix real CSS issues from here)
(3 intermediate revisions by 2 users not shown)
Line 15: Line 15:
 
}}
 
}}
 
|{{bobscreen|{{{levelscreen}}}}}}}{{#ifeq: {{fileext|{{{levelscreen}}}}} | jpg | [[Category:JPEG titlescreen]] }}}}
 
|{{bobscreen|{{{levelscreen}}}}}}}{{#ifeq: {{fileext|{{{levelscreen}}}}} | jpg | [[Category:JPEG titlescreen]] }}}}
{{BobRow||{{{name|}}}|default=''<span itemprop="name">{{PAGENAME}}</span>''|content=''<span itemprop="name">{{{name}}}</span>''|headline=yes|align=center}}
+
{{BobRow||{{{name|}}}|default=<span itemprop="name">{{PAGENAME}}</span>|content=<span itemprop="name">{{{name}}}</span>|headline=yes|align=center}}
{{BobRow||{{{game|}}}|content='''{{ #if: {{{levelno|}}} | {{{levelno}}} level, | Level, }} ''[[{{{game}}}]]'''''}}
+
{{BobRow||{{{game|}}}|content='''{{ #if: {{{levelno|}}} | {{{levelno}}} level, | Level, }} ''[[{{{game}}}]]'''''[[Category:{{{game}}} levels]]}}
 
{{BobRow|Number of Acts|{{{acts|}}}}}
 
{{BobRow|Number of Acts|{{{acts|}}}}}
 +
{{BobRow|Location|{{{location|}}}}}
 
{{BobRow||{{{theme1|}}}|content='''Level theme''': [[:Category:{{LevelBob/Categorize by theme|{{{theme1}}}}}|{{{theme1}}}]][[Category:{{LevelBob/Categorize by theme|{{{theme1}}}}}]]}}
 
{{BobRow||{{{theme1|}}}|content='''Level theme''': [[:Category:{{LevelBob/Categorize by theme|{{{theme1}}}}}|{{{theme1}}}]][[Category:{{LevelBob/Categorize by theme|{{{theme1}}}}}]]}}
 
{{BobRow||{{{theme2|}}}|content='''Secondary level theme''': [[:Category:{{LevelBob/Categorize by theme|{{{theme2}}}}}|{{{theme2}}}]][[Category:{{LevelBob/Categorize by theme|{{{theme2}}}}}]]}}
 
{{BobRow||{{{theme2|}}}|content='''Secondary level theme''': [[:Category:{{LevelBob/Categorize by theme|{{{theme2}}}}}|{{{theme2}}}]][[Category:{{LevelBob/Categorize by theme|{{{theme2}}}}}]]}}
Line 54: Line 55:
 
{{BobRow||{{{Mission5|}}}|content='''Mission 5''': {{{Mission5}}}
 
{{BobRow||{{{Mission5|}}}|content='''Mission 5''': {{{Mission5}}}
 
{{SA2Rank|A|{{{ARank5|}}}}}{{SA2Rank|B|{{{BRank5|}}}}}{{SA2Rank|C|{{{CRank5|}}}}}{{SA2Rank|D|{{{DRank5|}}}}}{{SA2Rank|E|Finish the mission}}{{#if:{{{MaxRings5|}}}|(total rings: {{{MaxRings5|}}})|}}}}<!--SA2-specific -->
 
{{SA2Rank|A|{{{ARank5|}}}}}{{SA2Rank|B|{{{BRank5|}}}}}{{SA2Rank|C|{{{CRank5|}}}}}{{SA2Rank|D|{{{DRank5|}}}}}{{SA2Rank|E|Finish the mission}}{{#if:{{{MaxRings5|}}}|(total rings: {{{MaxRings5|}}})|}}}}<!--SA2-specific -->
{{BobRow||{{{name_jp|}}}{{{name_de|}}}{{{name_fr|}}}{{{name_es|}}}{{{name_it|}}}{{{name_se|}}}{{{name_nl|}}}{{{name_fi|}}}|content='''Non-English names:'''{{#if: {{{name_jp|}}} | * '''JP:''' {{{name_jp}}} }}{{#if: {{{name_de|}}} | * '''DE:''' {{{name_de}}} }}{{#if: {{{name_fr|}}} | * '''FR:''' {{{name_fr}}} }}{{#if: {{{name_es|}}} | * '''ES:''' {{{name_es}}} }}{{#if: {{{name_pt|}}} | * '''PT:''' {{{name_pt}}} }}{{#if: {{{name_it|}}} | * '''IT:''' {{{name_it}}} }}{{#if: {{{name_se|}}} | * '''SE:''' {{{name_se}}} }}{{#if: {{{name_nl|}}} | * '''NL:''' {{{name_nl}}} }}{{#if: {{{name_fi|}}} | * '''FI:''' {{{name_fi}}} }}{{#if: {{{name_zh|}}} | * '''ZH:''' {{{name_zh}}} }}}}
+
{{BobRow||{{{name_jp|}}}{{{name_de|}}}{{{name_fr|}}}{{{name_es|}}}{{{name_it|}}}{{{name_se|}}}{{{name_nl|}}}{{{name_fi|}}}|content='''Non-English names:'''<div style="margin-left:1em;">{{#if: {{{name_jp|}}} |* '''JP:''' {{{name_jp}}} }}{{#if: {{{name_de|}}} | * '''DE:''' {{{name_de}}} }}{{#if: {{{name_fr|}}} | * '''FR:''' {{{name_fr}}} }}{{#if: {{{name_es|}}} | * '''ES:''' {{{name_es}}} }}{{#if: {{{name_pt|}}} | * '''PT:''' {{{name_pt}}} }}{{#if: {{{name_it|}}} | * '''IT:''' {{{name_it}}} }}{{#if: {{{name_se|}}} | * '''SE:''' {{{name_se}}} }}{{#if: {{{name_nl|}}} | * '''NL:''' {{{name_nl}}} }}{{#if: {{{name_fi|}}} | * '''FI:''' {{{name_fi}}} }}{{#if: {{{name_zh|}}} | * '''ZH:''' {{{name_zh}}} }}{{#if: {{{name_kr|}}} | * '''KR:''' {{{name_kr}}} }}</div>}}
 
{{BobRow||{{{next|}}}{{{prev|}}}|content={{#if: {{{prev|}}} | ← [[{{{prev}}}]] }} {{#if:{{{next|}}}|{{#if:{{{prev|}}}|{{!}}|}}|}} {{#if: {{{next|}}} | [[{{{next}}}]] → }}|align=center}}
 
{{BobRow||{{{next|}}}{{{prev|}}}|content={{#if: {{{prev|}}} | ← [[{{{prev}}}]] }} {{#if:{{{next|}}}|{{#if:{{{prev|}}}|{{!}}|}}|}} {{#if: {{{next|}}} | [[{{{next}}}]] → }}|align=center}}
 
}}<noinclude>
 
}}<noinclude>
Line 76: Line 77:
 
| game=
 
| game=
 
| acts=
 
| acts=
 +
| location=
 
| theme1=
 
| theme1=
 
| theme2=
 
| theme2=
Line 155: Line 157:
 
| name_fi =  
 
| name_fi =  
 
| name_zh =  
 
| name_zh =  
 +
| name_kr =
 
| prev =
 
| prev =
 
| next =
 
| next =

Revision as of 14:53, 29 March 2020

Notavailable.svg
LevelBob

Usage

This template is to be used on articles about specific levels. Place the following at the top of a page:

{{LevelBob
| name=
| levelscreen=
| screenwidth=
| levelscreen2=
| screenwidth2=
| levelscreen3=
| screenwidth3=
| levelscreentitle=
| levelscreen2title=
| levelscreen3title=
| levelno=
| game=
| acts=
| location=
| theme1=
| theme2=
| theme3=
| theme4=
| theme5=
| theme1location=
| theme2location=
| theme3location=
| theme4location=
| theme5location=
| playedas=
| opponent=
| boss=
| bossalt=
| subboss=
| subboss2=
| subbossalt=
| rings=
| rings1=
| rings2=
| rings3=
| flickies1=
| flickies2=
| underwater=
| prereq=
| shaddark=
| ShadDarkARank=
| ShadDarkBRank=
| ShadDarkCRank=
| ShadDarkDRank=
| shadnorm=
| ShadNormARank=
| ShadNormBRank=
| ShadNormCRank=
| ShadNormDRank=
| shadhero=
| ShadHeroARank=
| ShadHeroBRank=
| ShadHeroCRank=
| ShadHeroDRank=
| Mission1 =
| ARank1 = 
| BRank1 = 
| CRank1 = 
| DRank1 = 
| MaxRings1 = 
| Mission2 =
| ARank2 = 
| BRank2 = 
| CRank2 = 
| DRank2 = 
| MaxRings2 = 
| Mission3 =
| ARank3 = 
| BRank3 = 
| CRank3 = 
| DRank3 = 
| MaxRings3 = 
| Mission4 =
| ARank4 = 
| BRank4 = 
| CRank4 = 
| DRank4 = 
| MaxRings4 = 
| Mission5 =
| ARank5 = 
| BRank5 = 
| CRank5 = 
| DRank5 = 
| MaxRings5 = 
| name_jp = 
| name_de = 
| name_fr = 
| name_es = 
| name_it = 
| name_se = 
| name_nl = 
| name_fi = 
| name_zh = 
| name_kr = 
| prev =
| next =
}}

All fields except "game" are optional. If no screenshot of the level will ever exist (e.g. it was scrapped in development), define levelscreen as none.

Theme

Specify a valid level theme from the list on level themes. If a level has a single theme, specify it like this:

| theme1= Tropical Island

If it has both a primary and secondary theme, specify it like this:

| theme1= Death Egg
| theme2= Factory/City

If themes are only specific to one act, do this:

| theme1= Factory/City
| theme1location = Act 1
| theme2= Ancient Ruins
| theme2location = Act 2

Combining the above, if if an entire level has a primary theme but acts also have their own individual themes:

| theme1= Factory/City
| theme2= Ancient Ruins
| theme2location = Act 1
| theme3 = Carnival/Casino
| theme3location = Act 2

Up to five themes can be specified.

Prev and Next

Specify which levels come before or after the level like this:

| prev= Green Hill Zone
| next= Spring Yard Zone

If a level page's name has a game title in brackets to signify a level from a particular game, specify it like this:

| prev= Chemical Plant Zone (Sonic Mania){{!}}Chemical Plant Zone
| next= Flying Battery Zone (Sonic Mania){{!}}Flying Battery Zone