Template:LevelBob: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
DokkeFyxen (talk | contribs) mNo edit summary |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{BobTable|border={{{border|#888}}}|content= | <includeonly>{{BobTable|border={{{border|#888}}}|content= | ||
{{BobRow|headline=y|align=center|bgcolor={{{border|#888}}}|textcolor={{{color|#fff}}}|title={{{title|{{PAGENAME}}}}} }} | {{BobRow|headline=y|align=center|bgcolor={{{border|#888}}}|textcolor={{{color|#fff}}}|title={{{title|{{PAGENAME}}}}} }} | ||
{{#if: {{{noimg|}}} | | {{BobRow|align=center|content= | {{#if: {{{noimg|}}} | | {{BobRow|align=center|content= | ||
{{ | {{LevelBadge|size={{{imgwidth|256px}}} | ||
|image={{{bobimg|Level_Badge_Default.png}}} | |||
|text={{{imgcap|Level Badge}}} | |||
|color={{{badgecolor}}} | |||
|{{{badgestyle}}} | |||
}} | }} | ||
}} | |||
}} | |||
{{#if: {{{game|}}} | {{BobRow|align=left|Game|{{{game}}}}} | }} | {{#if: {{{game|}}} | {{BobRow|align=left|Game|{{{game}}}}} | }} | ||
{{#if: {{{location|}}} | {{BobRow|align=left|Location|{{{location}}}}} | }} | {{#if: {{{location|}}} | {{BobRow|align=left|Location|{{{location}}}}} | }} | ||
Line 13: | Line 15: | ||
{{#if: {{{characters|}}} | {{BobRow|align=left|Played as|{{{characters}}}}} | }} | {{#if: {{{characters|}}} | {{BobRow|align=left|Played as|{{{characters}}}}} | }} | ||
{{#if: {{{leveltype|}}} | {{BobRow|align=left|Level type|{{{leveltype}}}}} | }} | {{#if: {{{leveltype|}}} | {{BobRow|align=left|Level type|{{{leveltype}}}}} | }} | ||
{{#if: {{{prizes|}}} | {{BobRow|align=left| | {{#if: {{{prizes|}}} | {{BobRow|align=left|Prizes|{{{prizes}}}}} | }} | ||
{{#if: {{{orbs|}}} | {{BobRow|align=left|Dreamer Orbs|{{{orbs}}}}} | }} | {{#if: {{{orbs|}}} | {{BobRow|align=left|Dreamer Orbs|{{{orbs}}}}} | }} | ||
{{#if: {{{players|}}} | {{BobRow|align=left|Number of players| | {{#if: {{{players|}}} | {{BobRow|align=left|Number of players|{{{players}}}}} | }} | ||
{{#if: {{{mpsection|}}} | {{BobRow|align=left|Has co-op section:|{{{mpsection}}}}} | }} | {{#if: {{{mpsection|}}} | {{BobRow|align=left|Has co-op section:|{{{mpsection}}}}} | }} | ||
{{#if: {{{unlock|}}} | {{BobRow|align=left|Prerequisite|{{{unlock}}}}} | }} | {{#if: {{{unlock|}}} | {{BobRow|align=left|Prerequisite|{{{unlock}}}}} | }} | ||
Line 22: | Line 24: | ||
<table align="center" width="100%" cellspacing="0" cellpadding="5px"> | <table align="center" width="100%" cellspacing="0" cellpadding="5px"> | ||
<tr style="color:{{{color|#fff}}}; background-color:{{{border|#888}}};"> | <tr style="color:{{{color|#fff}}}; background-color:{{{border|#888}}};"> | ||
<th colspan=" | <th colspan="4" align="center" style="font-size:115%;">Level Chronology</th> | ||
</tr> | </tr> | ||
<tr style=" | <tr style="background-color:#fff;"> | ||
<th colspan="1" align="left">{{#if:{{{ | {{#if:{{{prevlevel|}}} |<th colspan="1" align="left" width="1%"> {{#if: {{{prevlevelimg|}}} | {{{prevlevelimg}}} |◀ }} </th> | ||
<th colspan="1" align="left">[[{{{prevlevel}}}|{{{prevlevelname|Previous level}}}]] </th>| }} | |||
{{#if:{{{nextlevel|}}} |<th colspan="1" align="right"> [[{{{nextlevel|}}}|{{{nextlevelname|Next level}}}]] </th> | |||
<th colspan="1" align="right" width="1%">{{#if: {{{nextlevelimg|}}} | {{{nextlevelimg}}} |▶ }}</th>| }} | |||
</tr> | </tr> | ||
</table> | </table> | ||
Line 44: | Line 48: | ||
}} | }} | ||
===Usage=== | |||
When writing a page about a level, copy and paste this at the top of the article, edit the right fields and remove parameters that don't belong. With the exception of <code>bobimg</code>, all fields are optional. | When writing a page about a level, copy and paste this at the top of the article, edit the right fields and remove parameters that don't belong. With the exception of <code>bobimg</code>, all fields are optional. | ||
<pre>{{LevelBob | |||
|border= | |||
|title= | |||
|noimg= | |||
|bobimg= | |||
|badgestyle= | |||
|badgecolor= | |||
|imgwidth= | |||
|imgcap= | |||
|game= | |||
|location= | |||
|creator= | |||
|leveltype= | |||
|prizes= | |||
|orbs= | |||
|players= | |||
|unlock= | |||
|prevlevel= | |||
|prevlevelname= | |||
|prevlevelimg= | |||
|nextlevel= | |||
|nextlevelname= | |||
|nextlevelimg= | |||
}} | |||
</pre> | |||
===Legend=== | ===Legend=== | ||
Line 50: | Line 80: | ||
* <code>bobimg</code>: Image filename (e.g. "Filename.png") | * <code>bobimg</code>: Image filename (e.g. "Filename.png") | ||
* <code>imgwidth</code>: Width of the above image, in pixels (e.g. 256px) | * <code>imgwidth</code>: Width of the above image, in pixels (e.g. 256px) | ||
* <code> | * <code>badgestyle</code>: Allows you to change the badge's appearance, with the standard level badge being the default. Options include <tt>Picked</tt>, <tt>Cutscene</tt>, <tt>Versus</tt>, <tt>Versus-Team</tt>, <tt>Versus-Beta</tt>, <tt>Versus-Vita</tt>, <tt>Polaroid</tt>, <tt>Adventure</tt>, <tt>PSP</tt>, <tt>Vita-Theme</tt>, and <tt>SABA</tt>. | ||
* <code>badgecolor</code>: Allows you to change the colour of the level badge's border, if it has one. | |||
* <code>imgcap</code>: Witty caption for the level badge. Defaults to 'Level Badge' if omitted. | |||
* <code>border</code>: Use this to change the colour of the border, if you want to theme the bob around a specific game. Hope you know your hex colours! | * <code>border</code>: Use this to change the colour of the border, if you want to theme the bob around a specific game. Hope you know your hex colours! | ||
* <code>color</code>: Changes the colour of the header text, in case the border colour you've chosen makes it hard to read. Again, hope you know your hex colours! | * <code>color</code>: Changes the colour of the header text, in case the border colour you've chosen makes it hard to read. Again, hope you know your hex colours! | ||
Line 62: | Line 94: | ||
* <code>orbs</code>: The number of Dreamer Orbs that can be collected in this level. Only applicable to ''[[Sackboy: A Big Adventure]]'' levels. | * <code>orbs</code>: The number of Dreamer Orbs that can be collected in this level. Only applicable to ''[[Sackboy: A Big Adventure]]'' levels. | ||
* <code>players</code>: The minimum and maximum number of players that are allowed to play this level at once. | * <code>players</code>: The minimum and maximum number of players that are allowed to play this level at once. | ||
* <code>prerequisite</code>: If the level has any additional requirements to unlock beyond simply progressing through the main path, e.g. finding a | * <code>prerequisite</code>: If the level has any additional requirements to unlock beyond simply progressing through the main path, e.g. finding a collectable in another level, put them here. Otherwise, omit. | ||
====Level Chronology==== | ====Level Chronology==== | ||
Line 69: | Line 101: | ||
* <code>prevlevel</code>: A link to the previous level in the series. If specified, a link will appear in the bottom left corner of the bob. | * <code>prevlevel</code>: A link to the previous level in the series. If specified, a link will appear in the bottom left corner of the bob. | ||
* <code>prevlevelname</code>: Display name for the 'previous level' link. If omitted, the link will be displayed as "Previous level". | * <code>prevlevelname</code>: Display name for the 'previous level' link. If omitted, the link will be displayed as "Previous level". | ||
* <code>prevlevelimg</code>: Use this to display a [[:Template:LevelBadge|Level Badge]] to the left of the previous level's display name. If omitted, it'll show an arrow instead. | |||
* <code>nextlevel</code>: A link to the next level in the series. If specified, a link will appear in the bottom right corner of the bob. | * <code>nextlevel</code>: A link to the next level in the series. If specified, a link will appear in the bottom right corner of the bob. | ||
* <code>prevlevelname</code>: Display name for the 'next level' link. If omitted, the link will be displayed as "Next level". | * <code>prevlevelname</code>: Display name for the 'next level' link. If omitted, the link will be displayed as "Next level". | ||
* <code>nextlevelimg</code>: Use this to display a [[:Template:LevelBadge|Level Badge]] to the right of the next level's display name. If omitted, it'll show an arrow instead. | |||
[[Category:Breakout box templates]]</noinclude> | [[Category:Breakout box templates]]</noinclude> |
Latest revision as of 16:15, 27 April 2024
Empty level | |
---|---|
Game | LittleBigPlanet (PlayStation 3) |
Location | Blank Level Background |
Creator | Sackboy |
Level type | Main, co-operative |
Prizes | 0 |
Number of players | 1-4 |
Prerequisite | Gain access to My Moon |
Usage
When writing a page about a level, copy and paste this at the top of the article, edit the right fields and remove parameters that don't belong. With the exception of bobimg
, all fields are optional.
{{LevelBob |border= |title= |noimg= |bobimg= |badgestyle= |badgecolor= |imgwidth= |imgcap= |game= |location= |creator= |leveltype= |prizes= |orbs= |players= |unlock= |prevlevel= |prevlevelname= |prevlevelimg= |nextlevel= |nextlevelname= |nextlevelimg= }}
Legend
noimg
: Use this to omit the level badge or icon entirely. Generally speaking, this shouldn't be used outside of specific circumstances.bobimg
: Image filename (e.g. "Filename.png")imgwidth
: Width of the above image, in pixels (e.g. 256px)badgestyle
: Allows you to change the badge's appearance, with the standard level badge being the default. Options include Picked, Cutscene, Versus, Versus-Team, Versus-Beta, Versus-Vita, Polaroid, Adventure, PSP, Vita-Theme, and SABA.badgecolor
: Allows you to change the colour of the level badge's border, if it has one.imgcap
: Witty caption for the level badge. Defaults to 'Level Badge' if omitted.border
: Use this to change the colour of the border, if you want to theme the bob around a specific game. Hope you know your hex colours!color
: Changes the colour of the header text, in case the border colour you've chosen makes it hard to read. Again, hope you know your hex colours!title
: The name of the level. This will use the page's title if left blank, but you may want to fill this in if the page has disambiguation terms, e.g. Introduction.game
: The game that this level comes from, e.g. LittleBigPlanet (PlayStation 3).location
: The theme in which this level is set.creator
: The creator who made this level.characters
: Which character(s) the player controls in this level. Only applicable to LittleBigPlanet 3 levels, in which case use Template:Characters to add their respective icons. Otherwise, omit.leveltype
: Use this to specify what kind of level this is, whether it's co-operative or competitive, and whether it's part of the main story path or a side-level.prizes
: The number of Prize Bubbles found within the level.orbs
: The number of Dreamer Orbs that can be collected in this level. Only applicable to Sackboy: A Big Adventure levels.players
: The minimum and maximum number of players that are allowed to play this level at once.prerequisite
: If the level has any additional requirements to unlock beyond simply progressing through the main path, e.g. finding a collectable in another level, put them here. Otherwise, omit.
Level Chronology
The following arguments are related to a feature of this bob known as 'Level Chronology', which provides quick links to either the next or previous level in a series, i.e. story, DLC, challenges, etc. As long as at least one of prevlevel
or nextlevel
are specified, a 'Level Chronology' section will appear at the bottom of the bob. If only one level exists, or it's the first/last in a set, omit these fields accordingly.
prevlevel
: A link to the previous level in the series. If specified, a link will appear in the bottom left corner of the bob.prevlevelname
: Display name for the 'previous level' link. If omitted, the link will be displayed as "Previous level".prevlevelimg
: Use this to display a Level Badge to the left of the previous level's display name. If omitted, it'll show an arrow instead.nextlevel
: A link to the next level in the series. If specified, a link will appear in the bottom right corner of the bob.prevlevelname
: Display name for the 'next level' link. If omitted, the link will be displayed as "Next level".nextlevelimg
: Use this to display a Level Badge to the right of the next level's display name. If omitted, it'll show an arrow instead.