Difference between revisions of "Template:Bg-grad/colour"
From Worms Knowledge Base
Explorer09 (Talk | contribs) m |
Explorer09 (Talk | contribs) m (escaped number sign (#) in order 'not' to become an ordered list) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <span style="background-color: #{{uc:{{{1|000000}}}}};"> </span> #{{uc:{{{1| | + | {{#ifeq: {{{2|left}}} | left |<span style="background-color: #{{uc:{{{1|000000}}}}};"> </span> }}<!-- |
+ | -->#{{uc:{{{1|NO COLOUR!}}}}}<!-- | ||
+ | -->{{#ifeq: {{{2|}}} | right | <span style="background-color: #{{uc:{{{1|000000}}}}};"> </span>}}<noinclude> | ||
+ | ---- | ||
+ | ==Usage== | ||
+ | <nowiki>{{Bg-grad/colour|colour|position}}</nowiki> | ||
+ | ;Paremeters | ||
+ | :'''1''': colour code, in hex triplet, excluding the number sign # . | ||
+ | :'''2''': position of the colour block, can be <tt>left</tt> or <tt>right</tt> . | ||
+ | </noinclude> |
Latest revision as of 07:06, 8 July 2010
#NO COLOUR!
Usage
{{Bg-grad/colour|colour|position}}
- Paremeters
- 1: colour code, in hex triplet, excluding the number sign # .
- 2: position of the colour block, can be left or right .