Template:Coin infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
m (Added some line breaks (<br>))
m (Made it possible to expand and collapse the 'found in' tab (just for the blue coin probably). The collapsing is copied from object_infobox)
Line 55: Line 55:
{{!}}-}}
{{!}}-}}
|-
|-
{{#if:{{{foundIn|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Found in</span>'''
{{#if:{{{foundIn|}}}|
{{!}} colspan="2" style="padding:0" {{!}}
{{{!}} class="mw-collapsible mw-expanded" width="100%" style="background: ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0"
! style="background:{{{secbg|#c5ced6}}}; padding:2px;" {{!}} Found In
{{!}}-
{{!}} style="padding:0 2px;" {{!}} {{{foundIn}}}
{{!}}}
|}}
|}}
|-
{{#if: {{{foundIn|}}} |
{{!}} {{{foundIn}}}
{{!}}-}}
|-
|-
{{#if:{{{related|}}}|{{!}}align="left" colspan="2" bgcolor="#c5ced6" style="font-size:100%;" {{!}} '''<span style=color:black;">Related</span>'''
{{#if:{{{related|}}}|{{!}}align="left" colspan="2" bgcolor="#c5ced6" style="font-size:100%;" {{!}} '''<span style=color:black;">Related</span>'''
Line 83: Line 85:
|height=64
|height=64
|offset=0
|offset=0
|foundIn=[[All Courses]],<br>[[The Castle]]
|foundIn=[[All Courses]]<br>[[The Castle]]
|related=[[Red Coin]]s,<br>[[Blue Coin]]s
|related=[[Red Coin|Red]] and [[Blue Coin]]s
}}
}}
<div style="float:right"><pre>{{Coin_infobox
<div style="float:right"><pre>{{Coin_infobox

Revision as of 14:49, 31 March 2019


Yellow Coin
Yellow Coin.gif
Technical Constants
Object Group Level
Coin Value 1
Tangibility Radius 1000
Draw Distance 4000
Hitbox
Interaction Type Coin
Radius 100
Height 64
Down Offset 0
Found In
All Courses
The Castle
Related
Red and Blue Coins
{{Coin_infobox
|title=
|image=
|coin_value=
|tangibility=
|draw=
|gravity=
|friction=
|buoyancy=
|radius=
|height=
|offset=
|foundIn=
|related=
}}

Special Case of the object_infobox_2 template, used specifically for creating coins. Probably can still be improved upon so feel free to make edits!

Related

Yellow Coin
Red Coin
Blue Coin