Template:Bob: Difference between revisions
Jump to navigation
Jump to search
m (Whoops!) |
m (Trimmed unnecesary code) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{BobTable|border={{{border}}}|content= | <includeonly>{{BobTable|border={{{border}}}|content= | ||
{{BobRow|headline=y|align=center|bgcolor={{{border}}}|textcolor={{{color|# | {{BobRow|headline=y|align=center|bgcolor={{{border}}}|textcolor={{{color|#fff}}}|title={{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }} }} | ||
{{ #if: {{{noimg|}}} | | {{BobRow|headline=y|align=center|title= | {{ #if: {{{noimg|}}} | | {{BobRow|headline=y|align=center|title= | ||
{{imageexists | {{imageexists | ||
| file = {{#if: {{{bobimg|}}} | {{{bobimg}}} | {{PAGENAME}}-title.png }} | | file = {{#if: {{{bobimg|}}} | {{{bobimg}}} | {{PAGENAME}}-title.png }} | ||
| width = {{#if: {{{imgwidth|}}} | {{{imgwidth}}} | }} | | width = {{#if: {{{imgwidth|}}} | {{{imgwidth}}} | }} | ||
| caption= {{#if: {{{imgcap|}}} | {{{imgcap}}} | }} | | caption= {{#if: {{{imgcap|}}} | {{{imgcap}}} | }} | ||
| mcat= Missing title screens | |||
{{#if: {{{aka|}}} | {{BobRow|align=left | }}}}}} | ||
{{#if: {{{dev|}}} | {{BobRow|align=left | {{#if: {{{aka|}}} | {{BobRow|align=left|Also known as:|{{{aka}}}}} | }} | ||
{{#if: {{{pub|}}} | {{BobRow|align=left | {{#if: {{{dev|}}} | {{BobRow|align=left|Developer:|{{{dev}}}}} | }} | ||
{{#if: {{{system|}}} | {{BobRow|align=left | {{#if: {{{pub|}}} | {{BobRow|align=left|Publisher:|{{{pub}}}}} | }} | ||
{{#if: {{{ | {{#if: {{{system|}}} | {{BobRow|align=left|System(s):|{{{system}}}}} | }} | ||
{{#if: {{{players|}}} | {{BobRow|align=left | {{#if: {{{engine|}}} | {{BobRow|align=left|Engine:|{{{engine}}}}} | }} | ||
{{#if: {{{version|}}} | {{BobRow|align=left | {{#if: {{{size|}}} | {{BobRow|align=left|File size:|{{{size}}}}} | }} | ||
{{#if: {{{releases|}}} | {{Releasetable|release={{{releases}}} }} | }} | {{#if: {{{genre|}}} | {{BobRow|align=left|Genre:|{{{genre}}}}} | }} | ||
{{#if: {{{players|}}} | {{BobRow|align=left|Supported players:|{{{players}}}}} | }} | |||
{{#if: {{{version|}}} | {{BobRow|align=left|Current version:|{{{version}}} {{#if: {{{nochangelog|}}} | | <small>([[{{FULLPAGENAME}}/Game updates|Read more...]])</small> | }} }} }} | |||
{{#if: {{{releases|}}} | {{Releasetable|border={{{border}}}|color={{{color|#fff}}}|release={{{releases}}} }} | }} | |||
}} | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 23: | Line 25: | ||
| imgcap= Test Card | | imgcap= Test Card | ||
| border= #2E92D5 | | border= #2E92D5 | ||
| title= Example Bob | | title= Example Bob | ||
| aka= Infobox (literally nobody) | | aka= Infobox (literally nobody) | ||
Line 29: | Line 30: | ||
| pub= Not Me | | pub= Not Me | ||
| system= PlayStation 4 | | system= PlayStation 4 | ||
| engine= Proprietary | |||
| size= 8 GB | |||
| genre= MMORPG | | genre= MMORPG | ||
| players= 1-2 | | players= 1-2 | ||
Line 34: | Line 37: | ||
| nochangelog= y | | nochangelog= y | ||
| releases= | | releases= | ||
{{release | |||
|system= PSNow | |||
|region= Planet Earth | |||
|edition= Gamer's Edition | |||
|date= 2021-02-06 | |||
|code= BCES00141 | |||
}} | |||
}} | }} | ||
Nicked from Sonic Retro and The Cutting Room Floor. | Nicked from Sonic Retro and The Cutting Room Floor. | ||
==Usage== | ==Usage== | ||
Line 57: | Line 60: | ||
| pub= | | pub= | ||
| system= | | system= | ||
| engine= | |||
| size= | |||
| genre= | | genre= | ||
| players= | | players= | ||
Line 95: | Line 100: | ||
* <code>pub</code>: The game's publisher. | * <code>pub</code>: The game's publisher. | ||
* <code>system</code>: The system the game was released for. | * <code>system</code>: The system the game was released for. | ||
* <code>engine</code>: The engine that the game runs on. If known, specify it here. Otherwise, omit. | |||
* <code>size</code>: The amount of space the game takes up on the system's storage. | |||
* <code>genre</code>: The genre the game is in. If the game is multi-genre, separate with commas (e.g. "Racing, Sandbox") | * <code>genre</code>: The genre the game is in. If the game is multi-genre, separate with commas (e.g. "Racing, Sandbox") | ||
* <code>players</code>: The number of players that can play at once. | * <code>players</code>: The number of players that can play at once. | ||
Line 111: | Line 118: | ||
* [[Template:Release]] | * [[Template:Release]] | ||
[[Category:Breakout box templates]]</noinclude> | [[Category:Breakout box templates]]</noinclude> |
Latest revision as of 09:59, 6 July 2024
Nicked from Sonic Retro and The Cutting Room Floor.
Usage
{{Bob | noimg= y | bobimg= | imgwidth= | imgcap= | border= | color= | title= | aka= | dev= | pub= | system= | engine= | size= | genre= | players= | version= | nochangelog= y | releases= {{release |system= |region= |edition= |date= |code= }} }}
When creating a page for a game, 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.
{{release |system= |region= |edition= |date= |code= }}
To add more releases to the bob, copy the above code, paste it underneath the existing {{release}}
template, and fill in the relevant fields.
Legend
noimg
: Use this to omit the title screen, box art or default placeholder 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. 320px)imgcap
: Witty caption for the chosen image, if it exists.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 game's title. 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. LittleBigPlanet (PlayStation 3).aka
: The game's title in other regions (e.g. "LiBits! Big Adventure (JP)")dev
: The game's developer.pub
: The game's publisher.system
: The system the game was released for.engine
: The engine that the game runs on. If known, specify it here. Otherwise, omit.size
: The amount of space the game takes up on the system's storage.genre
: The genre the game is in. If the game is multi-genre, separate with commas (e.g. "Racing, Sandbox")players
: The number of players that can play at once.version
: The current version for the game. This can be entered manually, or transcluded from Game updates to be kept up to date automatically. If the game was never updated, just put 1.00.nochangelog
: If the game was never updated, or a changelog hasn't been written yet, use this to omit the "Read more..." link that appears next to the version number.releases
: Used for providing information on each release of the game, be it the launch version or a special edition released later on. This should not be used for Game Updates.system
: The system this variant of the game was released on.media
: The storage media used for this variant of the game. For physical releases, put "p", and the icon will change depending on the system specified above. For digital releases, put "d".region
: The region this variant was released in. Defaults to "International" if omitted or left blank.edition
: If this edition is different from the inital launch version in some way, use this to specify which edition it is (e.g. "Game of the Year Edition"). Otherwise, omit this field.date
: The date this variant was, well, released. Sorted using the YYYY/MM/DD date format. (e.g. 2010-04-16).code
: The product code or Title ID associated with this variant (e.g. BCES00611). This will be different depending on the region and whether it was sold physically or digitally, so do your research!