Template:DramaLevel: Difference between revisions
From The Urban Dead Wiki
Jump to navigationJump to search
(change the upper box into the real thing so preview will work) |
m (whoops) |
||
Line 42: | Line 42: | ||
|- | |- | ||
| style="text-align:right; padding:0 9px; font-weight:normal" colspan="2" | [[Template:DramaLevel|update]] | | style="text-align:right; padding:0 9px; font-weight:normal" colspan="2" | [[Template:DramaLevel|update]] | ||
|} | |}<noinclude> | ||
<br clear="all" /> | <br clear="all" /> |
Revision as of 13:23, 7 April 2009
Usage
The table is centered in this page for aesthetics reasons. It will otherwise align left by default.
Any user and/or group can add this template to their page. For example, the usual call:
{{DramaLevel}}
will give:
Drama Levels | |
No drama around? Are we still in the Urban Dead Wiki ? | |
There is little drama. Slow mondays ? | |
Situation normal. There is some drama, but no one is going to die. | |
Misconbitration! Drama all around the wiki! | |
Drama levels not seen since Wikigate! | |
update |
Alternatively, you may set variables to set the styling. For example:
{{DramaLevel|align=center|HeaderColor=SlateGray|HeaderTextColor=white|ActiveColor=#A3B1BF|ActiveTextColor=white|InactiveColor=#CEE0F2|InactiveTextColor=black}}
will give:
Drama Levels | |
No drama around? Are we still in the Urban Dead Wiki ? | |
There is little drama. Slow mondays ? | |
Situation normal. There is some drama, but no one is going to die. | |
Misconbitration! Drama all around the wiki! | |
Drama levels not seen since Wikigate! | |
update |
Changing Levels
To change the drama level, you must change the currently active section to inactive coding, and change the desired section to active coding as follows:
Section | Active | Inactive |
Section Background Color | style="background:{{{ActiveColor|OrangeRed}}}"
|
style="background:{{{InctiveColor|RoyalBlue}}}"
|
Section Text Color | ... color:{{{ActiveTextColor|white}}}"
|
... color:{{{InactiveTextColor|white}}}"
|