Actions

Template

Difference between revisions of "LevelBob"

From Sonic Retro

m
Line 1: Line 1:
 
{|cellpadding="0" cellspacing="0" style="max-width: 340px; padding: 0px; float: right; margin-left: 15px; border: 2px solid #003399; border-right-width: 2px; border-bottom-width: 2px; text-align:left; background: #FFF"
 
{|cellpadding="0" cellspacing="0" style="max-width: 340px; padding: 0px; float: right; margin-left: 15px; border: 2px solid #003399; border-right-width: 2px; border-bottom-width: 2px; text-align:left; background: #FFF"
 
| style="text-align: center;"|
 
| style="text-align: center;"|
[[Image:{{{levelscreen}}}]]
+
[[Image:{{{levelscreen}}}|{{ #if: {{{screenwidth|}}} | {{{screenwidth}}}px | _ }}]]
 
|-
 
|-
|style="padding: 0.3em; font-family: sans-serif; font-size: 0.9em; background-color: #0066CD; color: #FFF; text-align: center;"| '''{{PAGENAME}}'''
+
|style="padding: 0.3em; font-family: sans-serif; font-size: 0.9em; background-color: #0066CD; color: #FFF; text-align: center;"| '''{{PAGENAME}} }}'''
 
|-
 
|-
|style="padding: 0.3em; line-height: 1.5em;" |
+
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;" |
 
:'''{{{levelno}}} level, ''[[{{{game}}}]]'''''
 
:'''{{{levelno}}} level, ''[[{{{game}}}]]'''''
:'''Number of Acts''': {{{acts}}}
+
{{ #if: {{{acts|}}} | '''Number of Acts''': {{{acts}}}<br> | }}{{
:'''Boss''': [[{{{boss}}}]]
+
#if: {{{boss|}}} | '''Boss''': {{{boss}}}<br> | }}{{
{{#if:{{{nickname|}}}|:'''Sub-Boss''':{{{subboss|}}}}}
+
#if: {{{subboss|}}} | '''Sub-boss''': {{{subboss}}}<br> | }}{{
:'''OSV''': [[{{{osv}}}]]
+
#if: {{{osv|}}} | '''OSV''': {{{osv}}}<br> | }}{{
:'''Level Map''': [[{{{map}}}]]
+
#if: {{{levelmap|}}} | '''Level Map''': {{{levelmap}}}<br> | }}
|}
+
|}<noinclude>
 +
==Usage==
 +
This template is to be used on articles about specific [[:Category:Levels|levels]]. Place the following at the top of a page:
 +
 
 +
<pre>
 +
{{LevelBob
 +
| levelcreen=
 +
| screenwidth=
 +
| levelno=
 +
| acts=
 +
| boss=
 +
| subboss=
 +
| osv=
 +
| levelmap=
 +
}}
 +
</pre>
 +
 
 +
All fields except "levelscreen" and "levelno" are optional.
 +
 
 +
[[Category:Sonic Retro Templates]]</noinclude>

Revision as of 02:55, 3 January 2007

[[Image:{{{levelscreen}}}|_]]

LevelBob }}
{{{levelno}}} level, [[{{{game}}}]]

Usage

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

{{LevelBob
| levelcreen=
| screenwidth=
| levelno=
| acts=
| boss=
| subboss=
| osv=
| levelmap=
}}

All fields except "levelscreen" and "levelno" are optional.