Template:Mouse: Difference between revisions

Template page
w:c:strategywiki>DrBob
m (Protected "Template:Mouse": Critical template [edit=sysop:move=sysop])
m (12 revisions imported: Imported from https://strategywiki.org/)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Image:PC Mous{{#switch:{{{1}}}|l=e Left Click|r=e Right Click|b=e Double Click|m=e Middle Click|e}}.png]]<noinclude>
[[File:PC Mous{{#switch:{{{1}}}|l=e Left Click|r=e Right Click|b=e Double Click|m=e Middle Click|wheel=e Wheel Neutral|wheelup=e Wheel Up|wheeldown=e Wheel Down|wheelupdown=e Wheel UpDown|e}}.png]]<noinclude>
 
{{Documentation}}
For including a mouse image (for PC controls) in a page. The first parameter controls which buttons are highlighted:
* <nowiki>{{mouse}}</nowiki>: {{mouse}}
* <nowiki>{{mouse|l}}</nowiki>: {{mouse|l}}
* <nowiki>{{mouse|r}}</nowiki>: {{mouse|r}}
* <nowiki>{{mouse|m}}</nowiki>: {{mouse|m}}
* <nowiki>{{mouse|b}}</nowiki>: {{mouse|b}}


[[Category:Controller button templates|M]]</noinclude>
[[Category:Controller button templates|M]]</noinclude>

Latest revision as of 18:28, 28 October 2023

This page has been transcluded from Template:Mouse/Documentation.


For including a mouse image (for PC controls) in a page. The first parameter controls which buttons are highlighted:

  • {{mouse}}:
  • {{mouse|l}}:
  • {{mouse|r}}:
  • {{mouse|m}}:
  • {{mouse|b}}:
  • {{mouse|wheel}}:
  • {{mouse|wheelup}}:
  • {{mouse|wheeldown}}:
  • {{mouse|wheelupdown}}:

See Also[edit source]

Template:Kbd