Template:WM: Difference between revisions
Appearance
Content deleted Content added
BLueFiSH.as (talk | contribs) m de:Vorlage:Wikimood |
SMcCandlish (talk | contribs) seem to expect a space here, but it's not consistently working so hard-code it as an underscore |
||
(30 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{|style=" |
<includeonly>{| style="background:transparent;" align="{{{align|{{{1|right}}}}}}" |
||
! colspan="2" | <big>[[m:Wikimood|Wikimood]]</big> |
|||
[[Image:Wikimood {{{3}}}.png|180px]] |
|||
|- |
|- |
||
| colspan="2" | [[File:{{{set|Wikimood}}}_{{WM/Sub|Value={{{mood|{{{3|??}}}}}}}}.png|{{{size|{{{4|180px}}}}}}]] |
|||
{{User:Cool Cat/Wikistress status/Footer|{{{2}}}}} |
|||
|- |
|||
|}<!--wiki mood input: -10 - 0 - 10 Example usage: {{WM|-04}} {{WM|05}}--> |
|||
| style="text-align:left;" | <span class="plainlinks" style="white-space:nowrap; font-size:smaller">[[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]]</span> |
|||
<noinclude>[[de:Vorlage:Wikimood]]</noinclude> |
|||
| style="text-align:right;" | <span class="plainlinks" style="white-space:nowrap; font-size:smaller">[[{{fullurl:{{{link|{{{2|{{FULLPAGENAME}}}}}}}}|action=edit}} edit]]</span> |
|||
|}</includeonly><noinclude> |
|||
<!-- Note, for the sake of backward compatibility original parameters are kept. --> |
|||
{{documentation}} |
|||
</noinclude> |
Latest revision as of 07:27, 16 September 2016
Usage
[edit]{{WM
|set = This sets the alignment of the meter (default: Wikimood set)
|mood = This sets the mood. Input a value between and including -10 to 10 (default: ??)
|link = This is the page 'edit' link on the meter leads to (default: whichever page it appears on)
|size = This sets the size of the image (default: 180px)
|align = This sets meters alignment (default: right)
}}
Code with default values passed
[edit]{{WM
|set=Wikimood
|mood=00
|link={{subst:FULLPAGENAME}}
|size=180px
|align=right
}}
Example usage
[edit]Wiki mood input: -10 - 0 - 10
Code | Result | ||||||
---|---|---|---|---|---|---|---|
{{WM
|center
|Template:WM
|00
}}
|
| ||||||
{{WM
|align=left
|mood=-04
}}
|
| ||||||
{{WM
|align=right
|mood=10
|set=Zen Wikimood
}}
|
|
Gallery
[edit]This is a list of outcomes for the {{WM}} template.