Template:FunctionBob: Difference between revisions
Jump to navigation
Jump to search
DokkeFyxen (talk | contribs) mNo edit summary |
m (Trimmed unnecesary code) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{{BobRow|headline=y|align=center|bgcolor={{{border}}}|textcolor={{{color|#fff}}}|title={{#if: {{{title|}}} | {{{title}}} | {{SUBPAGENAME}} }} }} | {{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= | ||
{{imageexists | {{imageexists | ||
| file = {{#if: {{{bobimg|}}} | {{{bobimg}}} | {{PAGENAME}}-title.png }} | | file = {{#if: {{{bobimg|}}} | {{{bobimg}}} | {{PAGENAME}}-title.png }} | ||
| width = {{#if: {{{imgwidth|}}} | {{{imgwidth}}} | }} | | width = {{#if: {{{imgwidth|}}} | {{{imgwidth}}} | }} | ||
| class = {{#if: {{{imgclass|}}} | {{{imgclass}}} | }} | | class = {{#if: {{{imgclass|}}} | {{{imgclass}}} | invert }} | ||
| caption= Popit Function | | caption= {{#if: {{{imgcap|}}} | {{{imgcap}}} | Popit Function }} | ||
}}}}}} | |||
{{#if: {{{dev|}}} | {{BobRow|align=left|Developer Exclusive:|{{{dev}}}}} | }} | {{#if: {{{dev|}}} | | ||
{{BobRow|align=left|Developer Exclusive:|{{#switch:{{lc:{{{dev}}}}} | |||
|yes=[[File:Tweak_GenericSetting_Yes.png|22px|class=invert|link=|Yes]] | |||
|y=[[File:Tweak_GenericSetting_Yes.png|22px|class=invert|link=|Yes]] | |||
|no=[[File:Tweak_GenericSetting_No.png|22px|class=invert|link=|No]] | |||
|n=[[File:Tweak_GenericSetting_No.png|22px|class=invert|link=|No]] | |||
|#default={{{dev}}} | |||
}} }} | }} | |||
{{#if: {{{type|}}} | {{BobRow|align=left|Type:|{{{type}}}}} | }} | {{#if: {{{type|}}} | {{BobRow|align=left|Type:|{{{type}}}}} | }} | ||
{{#if: {{{game|}}} | {{BobRow|align=left|Game:|{{{game}}}}} | }} | {{#if: {{{game|}}} | {{BobRow|align=left|Game:|{{{game}}}}} | }} | ||
Line 25: | Line 31: | ||
==Usage== | ==Usage== | ||
<pre>{{FunctionBob | <pre>{{FunctionBob | ||
| noimg= Use this to omit the | | noimg= Use this to omit the bob 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. | | bobimg= Image filename (e.g. Placeholder.png). This is typically the icon that gets displayed in the Popit menu. | ||
| imgwidth= Image width, in pixels. | | imgwidth= Image width, in pixels. | ||
Line 35: | Line 41: | ||
| games= Use this instead of 'game' if the function appears in more than one game. Game links should be separted by commas. | | games= Use this instead of 'game' if the function appears in more than one game. Game links should be separted by commas. | ||
| type= Specify what kind of function it is (sticker, costume, material, pod, etc) | | type= Specify what kind of function it is (sticker, costume, material, pod, etc) | ||
| dev= If the item is a Developer tool. | | dev= If the item is a Developer tool. | ||
}}</pre> | }}</pre> | ||
[[Category:Breakout box templates]]</noinclude> | [[Category:Breakout box templates]]</noinclude> |
Latest revision as of 10:01, 6 July 2024
Sticker Scrubber | |
---|---|
Developer Exclusive: | |
Type: | Sticker Tool |
Games: | LittleBigPlanet 2 (DEV), LittleBigPlanet PS Vita, LittleBigPlanet 3 |
Use this to provide a brief summary of information about popit functions and other functions.
Usage
{{FunctionBob | noimg= Use this to omit the bob 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 function's name. Only necessary if the articles name has a disambiguation term, e.g. "Page Title (function)" | game= The game in which this function appears. Use this if the item only appears in one game. | games= Use this instead of 'game' if the function appears in more than one game. Game links should be separted by commas. | type= Specify what kind of function it is (sticker, costume, material, pod, etc) | dev= If the item is a Developer tool. }}