Template:WM: Difference between revisions
Appearance
Content deleted Content added
Line 14: | Line 14: | ||
<noinclude> |
<noinclude> |
||
==Parameters== |
==Parameters== |
||
===Explanation=== |
|||
<pre> |
<pre> |
||
{{WM |
{{WM |
||
set : This sets the alignment of the meter (default: Wikimood set) |
|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: ??) |
|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) |
|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) |
|size : This sets the size of the image (default: 180px) |
||
align : This sets meters alignment (default: right) |
|align : This sets meters alignment (default: right) |
||
}} |
}} |
||
</pre> |
</pre> |
||
===Code with default values passed=== |
|||
<pre> |
|||
{{WM |
|||
|set=Wikimood |
|||
|mood=00 |
|||
|link=<nowiki>{{subst:PAGENAME}}</nowiki> |
|||
|size=180px |
|||
|align=right |
|||
}} |
|||
</pre> |
|||
==Example usage== |
==Example usage== |
||
Wiki mood input: -10 - 0 - 10 |
Wiki mood input: -10 - 0 - 10 |
Revision as of 07:44, 20 December 2006
Parameters
Explanation
{{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
{{WM |set=Wikimood |mood=00 |link={{subst:PAGENAME}} |size=180px |align=right }}
Example usage
Wiki mood input: -10 - 0 - 10
Code | Result | ||||
---|---|---|---|---|---|
{{WM |center |Template:WM |00 }} |
| ||||
{{WM |align=center |mood=-04 }} |
| ||||
{{WM |align=right |mood=10 |set=Zen Wikimood }} |
|