Template:Coin infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(Added a coin_infobox, similar to object_infobox_2. Please help improving if you feel like it)
 
m (→‎Related: List syntax)
 
(2 intermediate revisions by one other user not shown)
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]], [[The Castle]]
|foundIn=[[All Courses]]<br>[[The Castle]]
|related=[[Red Coin]]s, [[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
Line 105: Line 107:


==Related==
==Related==
[[Yellow Coin]]
* [[Yellow Coin]]
[[Red Coin]]
* [[Red Coin]]
[[Blue Coin]]
* [[Blue Coin]]
[[Category:Infobox templates|{{PAGENAME}}]]
 
[[Category:Infobox templates|{{PAGENAME}}]]

Latest revision as of 03:45, 8 May 2021


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