Template:WM: Difference between revisions
Appearance
Content deleted Content added
SMcCandlish (talk | contribs) seem to expect a space here, but it's not consistently working so hard-code it as an underscore |
|||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
|- |
|- |
||
⚫ | |||
⚫ | |||
⚫ | |||
|} |
|||
</includeonly> |
|||
<noinclude> |
|||
==Parameters== |
|||
===Explanation=== |
|||
<pre> |
|||
{{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) |
|||
}} |
|||
</pre> |
|||
===Code with default values passed=== |
|||
<pre> |
|||
{{WM |
|||
|set=Wikimood |
|||
|mood=00 |
|||
|link=<nowiki>{{subst:FULLPAGENAME}}</nowiki> |
|||
|size=180px |
|||
|align=right |
|||
}} |
|||
</pre> |
|||
==Example usage== |
|||
Wiki mood input: -10 - 0 - 10 |
|||
{|width=600px |
|||
!Code |
|||
!Result |
|||
|- |
|- |
||
⚫ | |||
|<pre> |
|||
⚫ | |||
{{WM |
|||
⚫ | |||
|center |
|||
⚫ | |||
|Template:WM |
|||
{{documentation}} |
|||
|00 |
|||
}} |
|||
</pre> |
|||
|{{WM|center|Template:WM|00}} |
|||
|- |
|||
|<pre> |
|||
{{WM |
|||
|align=left |
|||
|mood=-04 |
|||
}} |
|||
</pre> |
|||
|{{WM|align=left|mood=-04}} |
|||
|- |
|||
|<pre> |
|||
{{WM |
|||
|align=right |
|||
|mood=10 |
|||
|set=Zen Wikimood |
|||
}} |
|||
</pre> |
|||
|{{WM|align=right|mood=10|set=Zen Wikimood}} |
|||
|} |
|||
[[de:Vorlage:Wikimood]] |
|||
[[tr:Template:WM]] |
|||
[[ja:Template:Wikimood]] |
|||
[[Category:User namespace templates|Wikimood]] |
|||
</noinclude> |
</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.