WineHQ

List of templates: Difference between revisions

No edit summary
(Specify relative instead of absolute font size)
Line 7: Line 7:
!Examples*
!Examples*
|-
|-
|Template:Check || <nowiki>{{check|color|size}}</nowiki> || Inserts a unicode check mark in the color and size specified. || {{check}}{{check|green|16}}{{check|red|9}}
|Template:Check || <nowiki>{{check|color|size}}</nowiki> || Inserts a unicode check mark in the color and size specified. || {{check}} {{check|green|150}} {{check|red|80}}
|-
|-
|Template:X mark || <nowiki>{{x mark|color|size}}</nowiki> || Inserts a unicode x mark in the color and size specified. || {{x mark}}{{x mark|red|16}}{{x mark|blue|9}}
|Template:X mark || <nowiki>{{x mark|color|size}}</nowiki> || Inserts a unicode x mark in the color and size specified. || {{x mark}} {{x mark|red|150}} {{x mark|blue|80}}
|-
|-
|Template:Warning || <nowiki>{{x mark|color|size}}</nowiki> || Inserts a unicode warning symbol in the color and size specified. || {{warning}}{{warning|red|20}}{{warning|green|9}}
|Template:Warning || <nowiki>{{x mark|color|size}}</nowiki> || Inserts a unicode warning symbol in the color and size specified. || {{warning}} {{warning|red|170}} {{warning|green|80}}
|}
|}
<nowiki>*</nowiki>The first example for each item is the default (no parameters specified).
<nowiki>*</nowiki>The first example for each item is the default (no parameters specified).
Note size is specified as a percentage relative to the current font size (by default 100%).
[[Category:Wiki]]
[[Category:Wiki]]

Revision as of 18:58, 27 January 2016

Below are the templates available on this wiki and their usage:

Template Name Syntax What it does Examples*
Template:Check {{check|color|size}} Inserts a unicode check mark in the color and size specified.
Template:X mark {{x mark|color|size}} Inserts a unicode x mark in the color and size specified.
Template:Warning {{x mark|color|size}} Inserts a unicode warning symbol in the color and size specified. redpx greenpx

*The first example for each item is the default (no parameters specified).

Note size is specified as a percentage relative to the current font size (by default 100%).

This page was last edited on 27 January 2016, at 18:58.