Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:WM/doc

From Wikipedia, the free encyclopedia

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
}}
Wikimood
[purge] [edit]
{{WM
  |align=left
  |mood=-04
}}
Wikimood
[purge] [edit]
{{WM
  |align=right
  |mood=10
  |set=Zen Wikimood
}}
Wikimood
[purge] [edit]
[edit]

This is a list of outcomes for the {{WM}} template.