Template:DramaLevel: Difference between revisions
From The Urban Dead Wiki
Jump to navigationJump to search
m (loldrama) |
(Xmas) |
||
(93 intermediate revisions by 24 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>< | <noinclude> | ||
{| style="font-size: 10px; color: white; font-weight: bold; line-height: 110%" cellspacing=0 | ==Usage== | ||
|- style="background | |||
| style="padding: 0 9px; font-size: 18px; color: black; text-align: center; height: 30px" colspan="2" | Drama Levels | Any user and/or group can add this template to their page. For example, the usual call: | ||
|- style="font-size:1px | <pre>{{DramaLevel}}</pre> | ||
will give: | |||
</noinclude> | |||
{| style="font-size:10px; color:white; font-weight:bold; line-height:110%" align="{{{align|left}}}" cellspacing=0 | |||
|- style="background:{{{HeaderColor|Gold}}}" | |||
| style="padding:0 9px; font-size:18px; color:{{{HeaderTextColor|black}}}; text-align:center; height:30px" colspan="2" | Drama Levels | |||
|- style="font-size:1px" | |||
| style="width:40px" | | | style="width:40px" | | ||
| style="width:210px"| | | style="width:210px"| | ||
|- style="background | |- 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" | 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 ? | ||
|- style="font-size:1px | |- style="font-size:1px" | ||
| style="width:40px" | | | style="width:40px" | | ||
| style="width:210px"| | | style="width:210px"| | ||
|- style="background | |- 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" | 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 | |- style="background:{{{InactiveColor|RoyalBlue}}}" | ||
| style="text-align:center" | [[Image:Face-smile.png|24px]] | | style="text-align:center" | [[Image:Face-smile.png|24px]] | ||
| style="height:40px; padding-right: 9px" | Situation normal. There is some drama, but no one is going to die. | | style="height:40px; padding-right:9px; color:{{{InactiveTextColor|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" | | ||
| style="width:210px"| | | style="width:210px"| | ||
|- style="background | |- 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" | 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" | | ||
| style="width:210px"| | | style="width:210px"| | ||
|- style="background | |- 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" | 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 | | style="text-align:right; padding:0 9px; font-weight:normal" colspan="2" | [[Template:DramaLevel|update]] | ||
|}<noinclude></ | |}<noinclude> | ||
<br clear="all" /> | |||
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> | |||
will give: | |||
{{DramaLevel|align=center|HeaderColor=SlateGray|HeaderTextColor=white|ActiveColor=#A3B1BF|ActiveTextColor=white|InactiveColor=#CEE0F2|InactiveTextColor=black}} | |||
==Changing Levels== | ==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: | |||
{| style="text-align:center" border="1" | |||
|+ '''Code''' | |||
|- | |||
| Section || Active || Inactive | |||
|- | |||
| Section Background Color | |||
| <code><nowiki>style="background:{{{ActiveColor|OrangeRed}}}"</nowiki></code> | |||
| <code><nowiki>style="background:{{{InactiveColor|RoyalBlue}}}"</nowiki></code> | |||
|- | |||
| Section Text Color | |||
| <code><nowiki>... color:{{{ActiveTextColor|white}}}"</nowiki></code> | |||
| <code><nowiki>... color:{{{InactiveTextColor|white}}}"</nowiki></code> | |||
|} | |||
[[Category:Wikicentric Templates|{{PAGENAME}}]] | [[Category:Wikicentric Templates|{{PAGENAME}}]]</noinclude> | ||
</noinclude> |
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 | |
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:{{{InactiveColor|RoyalBlue}}}"
|
Section Text Color | ... color:{{{ActiveTextColor|white}}}"
|
... color:{{{InactiveTextColor|white}}}"
|