Jump to content

Template:WM: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Line 14: Line 14:
<noinclude>
<noinclude>
==Parameters==
==Parameters==
===Explanation===
<pre>
<pre>
{{WM
{{WM
set&nbsp;&nbsp;&nbsp;: This sets the alignment of the meter (default: Wikimood set)
|set&nbsp;&nbsp;&nbsp;: This sets the alignment of the meter (default: Wikimood set)
mood&nbsp;&nbsp;: This sets the mood. Input a value between and including -10 to 10 (default: ??)
|mood&nbsp;&nbsp;: This sets the mood. Input a value between and including -10 to 10 (default: ??)
link&nbsp;&nbsp;: This is the page 'edit' link on the meter leads to (default: whichever page it appears on)
|link&nbsp;&nbsp;: This is the page 'edit' link on the meter leads to (default: whichever page it appears on)
size&nbsp;&nbsp;: This sets the size of the image (default: 180px)
|size&nbsp;&nbsp;: This sets the size of the image (default: 180px)
align&nbsp;: This sets meters alignment (default: right)
|align&nbsp;: 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
}}
Wikimood

[purge] [edit]


{{WM
  |align=center
  |mood=-04
}}
Wikimood

[purge] [edit]


{{WM
  |align=right
  |mood=10
  |set=Zen Wikimood
}}
Wikimood

[purge] [edit]