Template:DramaLevel: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
(Dialing it down to DramaCon 5. Nothing ever happens.)
mNo edit summary
Line 38: Line 38:
|- style="background:{{{InactiveColor|RoyalBlue}}}"
|- style="background:{{{InactiveColor|RoyalBlue}}}"
| style="text-align:center" | [[Image:Face-surprise.png|24px]]
| style="text-align:center" | [[Image:Face-surprise.png|24px]]
| style="height:40px; padding-right:9px; color:{{{ActiveTextColor|white}}}" | Drama levels not seen since Wikigate!
| style="height:40px; padding-right:9px; color:{{{InactiveTextColor|white}}}" | Drama levels not seen since Wikigate!
|-
|-
| 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]]

Revision as of 21:50, 9 November 2018

Usage

Any user and/or group can add this template to their page. For example, the usual call:

{{DramaLevel}}

will give:

Drama Levels
Face-grin.png No drama around? Are we still in the Urban Dead Wiki ?
Face-wink.png There is little drama. Slow mondays ?
Face-smile.png Situation normal. There is some drama, but no one is going to die.
Face-sad.png Misconbitration! Drama all around the wiki!
Face-surprise.png 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
Face-grin.png No drama around? Are we still in the Urban Dead Wiki ?
Face-wink.png There is little drama. Slow mondays ?
Face-smile.png Situation normal. There is some drama, but no one is going to die.
Face-sad.png Misconbitration! Drama all around the wiki!
Face-surprise.png 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:

Code
Section Active Inactive
Section Background Color style="background:{{{ActiveColor|OrangeRed}}}" style="background:{{{InactiveColor|RoyalBlue}}}"
Section Text Color ... color:{{{ActiveTextColor|white}}}" ... color:{{{InactiveTextColor|white}}}"