Template:DramaLevel: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
mNo edit summary
(Xmas)
 
(88 intermediate revisions by 24 users not shown)
Line 1: Line 1:
<includeonly>
<noinclude>
==Usage==
 
Any user and/or group can add this template to their page. For example, the usual call:
<pre>{{DramaLevel}}</pre>
will give:
</noinclude>
{| style="font-size:10px; color:white; font-weight:bold; line-height:110%" align="{{{align|left}}}" cellspacing=0
{| style="font-size:10px; color:white; font-weight:bold; line-height:110%" align="{{{align|left}}}" cellspacing=0
|- style="background:{{{HeaderColor|Gold}}}"
|- style="background:{{{HeaderColor|Gold}}}"
Line 6: 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 12: 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 26: 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 35: Line 41:
|-
|-
| 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]]
|}</includeonly><noinclude>
|}<noinclude>
==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:
<pre>{{DramaLevel}}</pre>
will give:
{{DramaLevel}}


<br clear="all" />
<br clear="all" />
Line 49: Line 48:


Alternatively, you may set variables to set the styling. For example:
Alternatively, you may set variables to set the styling. For example:
<pre>{{DramaLevel|align=center|HeaderColor=SlateGray|HeaderTextColor=white|ActiveColor=#A3B1BF|ActiveTextColor=white|InactiveColor=#CEE0F2|InactiveTextColor=black}}</pre>
<pre>{{DramaLevel|align=center|HeaderColor=SlateGray|HeaderTextColor=white
|ActiveColor=#A3B1BF|ActiveTextColor=white
|InactiveColor=#CEE0F2|InactiveTextColor=black}}</pre>
will give:
will give:
{{DramaLevel|align=center|HeaderColor=SlateGray|HeaderTextColor=white|ActiveColor=#A3B1BF|ActiveTextColor=white|InactiveColor=#CEE0F2|InactiveTextColor=black}}
{{DramaLevel|align=center|HeaderColor=SlateGray|HeaderTextColor=white|ActiveColor=#A3B1BF|ActiveTextColor=white|InactiveColor=#CEE0F2|InactiveTextColor=black}}
Line 64: 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}}}"