3,468 bytes added
, 06:45, 26 November 2020
{|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" 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'''
|-
|width="44%"|'''Area'''
|{{{area|Village}}}
|-
! colspan="2" style="background-color:#DBDBDB;" |
|-
|width="44%"|'''Number'''
|{{{number|N/A}}}
|-
! colspan="2" style="background-color:#DBDBDB;" |
|-
|width="44%"|'''Level Type'''
|{{{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'''
|-
|width="44%"|'''Template'''
|{{{template|None}}}
|-
! colspan="2" style="background-color:#DBDBDB;" |
|-
|width="44%"|'''Saved'''
|{{{saved|No one}}}
|-
! colspan="2" style="background-color:#DBDBDB;" |
|-
|width="44%"|'''Secrets'''
|{{{secrets|None}}}
|-
! colspan="2" style="background-color:#DBDBDB;" |
|-
|width="44%"|'''Game'''
|{{{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'''
|- style="text-align:center; font-size:95%;" valign="top"
| '''Last Level'''<br />{{{prevlevel|None}}}
| '''Next Level'''<br />{{{nextlevel|None}}}
|}
<noinclude>
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.
'''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:
{{InfoLeve<nowiki>l</nowiki>
|image=
|caption=
|area=
|number=
|type=
|template=
|saved=
|game=
|prevlevel=
|nextlevel=
}}
[[Category:Templates]]
[[Category:Infobox templates]]
</noinclude>