Template:DramaLevel: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
No edit summary
(Xmas)
 
(40 intermediate revisions by 17 users not shown)
Line 12: Line 12:
| 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-grin.png|24px]]
| style="text-align:center" | [[Image:Face-grin.png|24px]]
| style="height:40px; padding-right:9px; color:{{{InactiveTextColor|white}}}" | No drama around? Are we still in the Urban Dead Wiki ?
| style="height:40px; padding-right:9px; color:{{{InactiveTextColor|white}}}" | No drama around? Are we still in the Urban Dead Wiki ?
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" |  
Line 32: Line 32:
|- style="background:{{{InactiveColor|RoyalBlue}}}"
|- style="background:{{{InactiveColor|RoyalBlue}}}"
| style="text-align:center" | [[Image:Face-sad.png|24px]]
| style="text-align:center" | [[Image:Face-sad.png|24px]]
| style="height:40px; padding-right:9px; color:{{{InactiveTextColor|white}}}" | Misconbitration! Drama all around the wiki!
| style="height:40px; padding-right:9px; color:{{{InactiveTextColor|white}}}" | [[Misconbitration|<span style='color: {{{InactiveTextColor|white}}}'>Misconbitration</span>]]! Drama all around the wiki!
|- style="font-size:1px"
|- style="font-size:1px"
| style="width:40px" |  
| style="width:40px" |  
Line 65: Line 65:
| Section Background Color
| Section Background Color
| <code><nowiki>style="background:{{{ActiveColor|OrangeRed}}}"</nowiki></code>
| <code><nowiki>style="background:{{{ActiveColor|OrangeRed}}}"</nowiki></code>
| <code><nowiki>style="background:{{{InctiveColor|RoyalBlue}}}"</nowiki></code>
| <code><nowiki>style="background:{{{InactiveColor|RoyalBlue}}}"</nowiki></code>
|-
|-
| Section Text Color
| Section Text Color

Latest revision as of 22:47, 26 December 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}}}"