Template:Level infobox: Difference between revisions

cleanup code
(add)
(cleanup code)
Line 1: Line 1:
<div>
<div>
{| class="toccolours" style="float:right; margin:0 0 0.5em 1em; width:300px"
{| class="toccolours" style="float:right; margin:0 0 0.5em 1em; width:300px; font-size:95%"
|-
|-
! colspan="2" style="background-color:{{{bgcolor|lightblue}}}; color:{{{txtcolor}}}; text-align: center; font-size: larger;" | '''{{{name|{{PAGENAME}}}}}'''
! colspan="2" style="background-color:{{{bgcolor}}}; color:{{{txtcolor}}}; text-align: center; font-size: larger;" | '''{{{name|{{PAGENAME}}}}}'''  
|-
|-
| colspan="2" style="padding: 1em 0; text-align: center;" |
| colspan="2" style="padding: 1em 0; text-align: center;" |
{{{image}}}<br>{{{caption}}}
{{{image}}}<br>{{{caption|}}}
|-
|-
! colspan="2" style="background-color:{{{bgcolor|lightblue}}}; color:{{{txtcolor}}}; text-align: center; font-size: larger;" | '''General Info'''
{{#if:{{{level_no|}}}{{{games|}}}|
|-
! colspan="2" style="background-color:{{{bgcolor}}}; color:{{{txtcolor}}}; text-align: center; font-size: larger;" {{!}} '''General Information'''
|- style="vertical-align: top;"
{{!}}-
|<font size=2.5>'''Level Number:'''</font>
{{#if:{{{level_no|}}}|
|style="padding-right: 1em;" |<font size=2.5>{{{level_no}}}</font>   
{{!}}- style="vertical-align: top;"
|-
{{!}}'''Level Number:'''
|- style="vertical-align: top;"
{{!}}style="padding-right: 1em;" {{!}} {{{level_no}}}
|<font size=2.5>'''Games:'''</font>
}}
|style="padding-right: 1em;" |<font size=2.5>{{{games}}}</font> 
{{!}}-
|-
{{#if:{{{games|}}}|
! colspan="2" style="background-color:{{{bgcolor|lightblue}}}; color:{{{txtcolor}}}; text-align: center; font-size: larger;" | '''Quick Facts'''
{{!}}- style="vertical-align: top;"
|-
{{!}}'''Games:'''
|- style="vertical-align: top;"
{{!}}style="padding-right: 1em;" {{!}} {{{games}}}
| colspan="2" style="padding: 1em 0;text-align: center;" |<font size=2.5>{{{quick_facts}}}</font>
}}
}}
{{!}}-
{{#if:{{{notes|}}}|
{{!}}- style="vertical-align: top;"
! colspan="2" style="background-color:{{{bgcolor}}}; color:{{{txtcolor}}}; text-align: center; font-size: larger;" {{!}} '''Notes'''
{{!}}-
{{!}} colspan="2" style="padding: 1em 0;text-align: center;" {{!}} {{{notes}}}
}}
|}
|}
</div>
</div>
Line 33: Line 41:
|level_no=
|level_no=
|games=
|games=
|quick_facts=
|notes=
}}
}}
</pre>
</pre>
[[Category:Infobox Templates]]</noinclude>
[[Category:Infobox Templates]]</noinclude>