Template:Mouse: Difference between revisions

Template page
w:c:strategywiki>Mason11987
(adding middle click case)
m (12 revisions imported: Imported from https://strategywiki.org/)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Image:PC Mous{{switch|{{{1}}}|case: l=e Left Click|case: r=e Right Click|case: b=e Double Click|case: m=e Middle Click|default=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:
[[Category:Controller button templates|M]]</noinclude>
* <nowiki>{{mouse}}</nowiki>: {{mouse}}
* <nowiki>{{mouse|l}}</nowiki>: {{mouse|l}}
* <nowiki>{{mouse|r}}</nowiki>: {{mouse|r}}
* <nowiki>{{mouse|m}}</nowiki>: {{mouse|b}}
* <nowiki>{{mouse|b}}</nowiki>: {{mouse|b}}
 
[[Category: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