Template:GadgetBob: Difference between revisions

From Imagisphere
Jump to navigation Jump to search
m (Removed alternating background colour parameters from the bobrows, as that's handled automatically now.)
m (Subpages)
Line 1: Line 1:
<includeonly>{{BobTable|width=262px|border={{{border}}}|content=
<includeonly>{{BobTable|width=262px|border={{{border}}}|content=
{{BobRow|headline=y|align=center|bgcolor={{{border}}}|textcolor={{{color|#fff}}}|title={{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }} }}
{{BobRow|headline=y|align=center|bgcolor={{{border}}}|textcolor={{{color|#fff}}}|title={{#if: {{{title|}}} | {{{title}}} | {{SUBPAGENAME}} }} }}
{{ #if: {{{noimg|}}} |  | {{BobRow|headline=y|align=center|title=
{{ #if: {{{noimg|}}} |  | {{BobRow|headline=y|align=center|title=
{{#ifeq:{{{bobimg|}}}|IMAGE_NAME.png| Incompetent template use! [[Category:{{namespace detect|main=Missing box art}}]] |  
{{#ifeq:{{{bobimg|}}}|IMAGE_NAME.png| Incompetent template use! [[Category:{{namespace detect|main=Missing box art}}]] |  

Revision as of 23:46, 26 March 2023

Motion Recorder
"LBP2_Motion_Recorder.png" does not exist. Click here to upload it...Dummy link
Game: LittleBigPlanet 2
Type: Gadgets
Category: Movers
Inputs: 1
Outputs: 3
Obtained from: DLC

Use this to provide a brief summary of information about tools, gadgets and any other special objects that live in the Tools Bag.

Usage

{{GadgetBob
| noimg=	Use this to omit the title screen and placeholder image. Generally this shouldn't be used outside of specific circumstances, i.e. no Popit icon exists.
| bobimg=	Image filename (e.g. Placeholder.png). This is typically the icon that gets displayed in the Popit menu.
| imgwidth=	Image width, in pixels.
| imgcap=	Description for the bob's image that will appear when hovering the mouse cursor over it.
| border=	Allows you to change the colour of the border, if you want it to be themed around a certain game. Hope you know your hex colours!
| color=	Change the colour of the bob's heading text. Typical use case would be changing it to black (#000) if the border colour makes the header hard to see.
| title=	The gadget's name. Only necessary if the articles name has a disambiguation term, e.g. "Page Title (gadget)"
| game=		The game in which this gadget appears. Use this if the item only appears in one game.
| games=	Use this instead of 'game' if the item appears in more than one game. Game links should be separted by commas.
| type=		Specify what kind of tool the item is (gadget, gameplay object, connector, tool)
| category=	The default category for the item.
| inputs=	Number of inputs on the item, if any.
| outputs=	Number of outputs on the item, if any.
| obtained=	Where the gadget is unlocked or obtained from. If the gadget is available from the start, put "Start". Omit this argument if the item unobtainable through normal means.
}}