Template:SoundEffect

From TheKolWiki
Revision as of 01:24, 15 February 2012 by Wrldwzrd89 (Talk | contribs) (Fix Brrr)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
{{SoundEffect}}
{{#ifeq: {{{type}}}|player|'''<span style="color:blue">{{{sound}}}</span>'''|{{#ifeq: {{{type}}}|cold|'''<span style="color:blue">{{#switch:{{{num}}}|1=Brrr.|2=Brrrrr.|3=Brrrrrrr.|4=Brrrrrrrrr.|5=Brrrrrrrrrrr.|6=Brrrrrrrrrrrrr.|7=Brrrrrrrrrrrrrrr.|8=Brrrrrrrrrrrrrrrrr.|9=Brrrrrrrrrrrrrrrrrrr.|10=Brrrrrrrrrrrrrrrrrrrrr.}}</span>'''|'''<span style="color:red">{{{sound}}}</span>'''}}}}

This template should be used on the Sound Effects page and any other page that includes a custom sound effect.

Usage

{{SoundEffect|type=player|sound=BAM!}}

appears as

BAM!

{{SoundEffect|sound=Eek!}}

appears as

Eek!

{{SoundEffect|type=cold|num=1}}

appears as

Brrr.

{{SoundEffect|type=cold|num=5}}

appears as

Brrrrrrrrrrr.

{{SoundEffect|type=cold|num=10}}

appears as

Brrrrrrrrrrrrrrrrrrrrr.