Difference between revisions of "Template:Infobox/Level"
(Added coins parameter) |
(added classes) |
||
| Line 1: | Line 1: | ||
{|class="InfoboxGeneric" style="border:solid 3px {{{boxcolor|#31BBF9}}}; border-radius: 5px; background-color: rgba(255, 255, 255, 0.7); float:right; margin-left:10px; width: 35%; max-width: 40em; box-shadow: #0000003b 0 0px 7px;" | {|class="InfoboxGeneric" style="border:solid 3px {{{boxcolor|#31BBF9}}}; border-radius: 5px; background-color: rgba(255, 255, 255, 0.7); float:right; margin-left:10px; width: 35%; max-width: 40em; box-shadow: #0000003b 0 0px 7px;" | ||
|- | |- | ||
| − | |colspan="2" style="text-align:center; color: white; background: {{{boxcolor|#31BBF9}}}; border-radius: 5px; font-family: ARCO; border-bottom: 4px solid rgb(0 0 0 / 43%); text-shadow: 1px 0 0 #00000085,0 -1px 0 #00000085,0 1px 0 #00000085,-1px 0 0 #00000085;"|<big>'''{{{name|{{PAGENAME}}}}}'''</big> | + | |colspan="2" class="InfoboxGeneric-Header" style="text-align:center; color: white; background: {{{boxcolor|#31BBF9}}}; border-radius: 5px; font-family: ARCO; border-bottom: 4px solid rgb(0 0 0 / 43%); text-shadow: 1px 0 0 #00000085,0 -1px 0 #00000085,0 1px 0 #00000085,-1px 0 0 #00000085;"|<big>'''{{{name|{{PAGENAME}}}}}'''</big> |
|- | |- | ||
| colspan="2" style="text-align:center"|<div style="width:99%; overflow: hidden; text-align: center; margin: 0 auto;">{{{image|[[File:ComingSoon.png]]}}}</div>{{#if:{{{caption|}}}|<br />''{{{caption| }}}''}} | | colspan="2" style="text-align:center"|<div style="width:99%; overflow: hidden; text-align: center; margin: 0 auto;">{{{image|[[File:ComingSoon.png]]}}}</div>{{#if:{{{caption|}}}|<br />''{{{caption| }}}''}} | ||
|- | |- | ||
| − | ! colspan="2" style="background-color:{{{boxcolor|#31BBF9}}}; color:#ffffff; border-radius: 5px; border-bottom: 3.5px solid rgba(0, 0, 0, 0.43);" | '''Characteristics''' | + | ! colspan="2" class="InfoboxGeneric-Header" style="background-color:{{{boxcolor|#31BBF9}}}; color:#ffffff; border-radius: 5px; border-bottom: 3.5px solid rgba(0, 0, 0, 0.43);" | '''Characteristics''' |
|- | |- | ||
|width="44%"|'''Area''' | |width="44%"|'''Area''' | ||
|{{{area|Village}}} | |{{{area|Village}}} | ||
|- | |- | ||
| − | ! colspan="2" style="background-color:#DBDBDB;" | | + | ! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" | |
|- | |- | ||
|width="44%"|'''Number''' | |width="44%"|'''Number''' | ||
|{{{number|N/A}}} | |{{{number|N/A}}} | ||
|- | |- | ||
| − | ! colspan="2" style="background-color:#DBDBDB;" | | + | ! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" | |
|- | |- | ||
|width="44%"|'''Level Type''' | |width="44%"|'''Level Type''' | ||
|{{{type|Standard}}} | |{{{type|Standard}}} | ||
|- | |- | ||
| − | ! colspan="2" style="background-color:{{{boxcolor|#31BBF9}}}; color:#ffffff; border-radius: 5px; border-bottom: 3.5px solid rgba(0, 0, 0, 0.43);" | '''Information''' | + | ! colspan="2" class="InfoboxGeneric-Header" style="background-color:{{{boxcolor|#31BBF9}}}; color:#ffffff; border-radius: 5px; border-bottom: 3.5px solid rgba(0, 0, 0, 0.43);" | '''Information''' |
|- | |- | ||
|width="44%"|'''Template''' | |width="44%"|'''Template''' | ||
|{{{template|None}}} | |{{{template|None}}} | ||
|- | |- | ||
| − | ! colspan="2" style="background-color:#DBDBDB;" | | + | ! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" | |
|- | |- | ||
|width="44%"|'''Saved''' | |width="44%"|'''Saved''' | ||
|{{{saved|No one}}} | |{{{saved|No one}}} | ||
|- | |- | ||
| − | ! colspan="2" style="background-color:#DBDBDB;" | | + | ! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" | |
|- | |- | ||
|width="44%"|'''Secrets''' | |width="44%"|'''Secrets''' | ||
|{{{secrets|None}}} | |{{{secrets|None}}} | ||
|- | |- | ||
| − | ! colspan="2" style="background-color:#DBDBDB;" | | + | ! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" | |
|- | |- | ||
|width="44%"|'''Coins''' | |width="44%"|'''Coins''' | ||
|{{{coins|None}}} | |{{{coins|None}}} | ||
|- | |- | ||
| − | ! colspan="2" style="background-color:#DBDBDB;" | | + | ! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" | |
|- | |- | ||
|width="44%"|'''Game''' | |width="44%"|'''Game''' | ||
|{{{game|{{Icon|DTL}}}}} | |{{{game|{{Icon|DTL}}}}} | ||
|- | |- | ||
| − | ! colspan="2" style="background-color:{{{boxcolor|#31BBF9}}}; color:#ffffff; border-radius: 5px; border-bottom: 3.5px solid rgba(0, 0, 0, 0.43);" | '''Navigation''' | + | ! colspan="2" class="InfoboxGeneric-Header" style="background-color:{{{boxcolor|#31BBF9}}}; color:#ffffff; border-radius: 5px; border-bottom: 3.5px solid rgba(0, 0, 0, 0.43);" | '''Navigation''' |
|- style="text-align:center; font-size:95%;" valign="top" | |- style="text-align:center; font-size:95%;" valign="top" | ||
| '''Last Level'''<br />{{{prevlevel|None}}} | | '''Last Level'''<br />{{{prevlevel|None}}} | ||
Latest revision as of 20:09, 29 November 2022
| Infobox/Level | |
| Characteristics | |
|---|---|
| Area | Village |
| Number | N/A |
| Level Type | Standard |
| Information | |
| Template | None |
| Saved | No one |
| Secrets | None |
| Coins | None |
| Game | |
| Navigation | |
| Last Level None |
Next Level None |
This template is meant to replace the older InfoBox level template used on a majority of level pages.
Like all (most..?) templates I redo or create, this InfoBox will attempt to fill itself out as much as possible assuming the fields aren't available.
While this template is a replacement, some sections from the original design have been altered or removed while new sections have been added.
A quick documentation of the current fields are as follows:
Image: An image for this level. (level cards or level entries work!)
Caption: A caption for the image above. This can be left blank or left out. (avoid using it!)
Area: The Village or Gate the level is in.
Number: The level number relative to the Village or Gate.
Type: The type of level. Possible entries are, Standard, Underwater, Space, Boss, or Special.
Template: If or which template is retrieved here.
Saved: Who (or what) is saved from this level.
Secrets Which secrets, if any, are in this level.
Coins The number of Rapo-Coins that can be collected in this level. This includes coins obtained from houses and crates, but excludes coins earned from enemy kills and combos.
Game: The game this level appears in.
Prevlevel: The level that comes before this.
Nextlevel: The level that comes after this.
To use this template on a page (including all fields) type:
{{InfoLevel
|image=
|caption=
|area=
|number=
|type=
|template=
|saved=
|secrets=
|coins=
|game=
|prevlevel=
|nextlevel=
}}
