Template:DramaLevel: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
(Because there is no drama at all, apart from a flavour text change yesterday.)
m (Cornhole is back (probably)! ZOMG!)
Line 18: Line 18:
| style="width:40px" |  
| style="width:40px" |  
| style="width:210px"|
| style="width:210px"|
|- style="background:{{{ActiveColor|OrangeRed}}}"
|- style="background:{{{InactiveColor|RoyalBlue}}}"
| style="text-align:center" | [[Image:Face-wink.png|24px]]
| style="text-align:center" | [[Image:Face-wink.png|24px]]
| style="height:40px; padding-right:9px; color:{{{ActiveTextColor|white}}}" | There is little drama. Slow mondays ?
| style="height:40px; padding-right:9px; color:{{{InactiveTextColor|white}}}" | There is little drama. Slow mondays ?
|- style="font-size:1px"
|- style="font-size:1px"
| style="width:40px" |  
| style="width:40px" |  
| style="width:210px"|
| style="width:210px"|
|- style="background:{{{InactiveColor|RoyalBlue}}}"
|- style="background:{{{ActiveColor|OrangeRed}}}"
| style="text-align:center" | [[Image:Face-smile.png|24px]]
| style="text-align:center" | [[Image:Face-smile.png|24px]]
| style="height:40px; padding-right:9px; color:{{{InactiveTextColor|white}}}" | Situation normal. There is some drama, but no one is going to die.
| style="height:40px; padding-right:9px; color:{{{ActiveTextColor|white}}}" | Situation normal. There is some drama, but no one is going to die.
|- style="font-size:1px"
|- style="font-size:1px"
| style="width:40px" |  
| style="width:40px" |  

Revision as of 19:31, 14 August 2010

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:{{{InctiveColor|RoyalBlue}}}"
Section Text Color ... color:{{{ActiveTextColor|white}}}" ... color:{{{InactiveTextColor|white}}}"