You are not currently logged in. Are you accessing the unsecure (http) portal? Click here to switch to the secure portal. |
Do you have permission to re-use this image? Just because scans appear on Wiktenauer does not mean that they are free to use. Wiktenauer is a 501(c)(3) nonprofit, and many of the scans we host are only licensed for nonprofit use. In other cases, the scans have no standard license and Wiktenauer has received special permission to host them (and can't grant that permission to anyone else). The license terms appear in the Copyright and License Terms box at the bottom of the page that sent you here. When in doubt, always check with the museum or library that owns a manuscript before publishing or otherwise reusing its scans. |
Template:Highlight
For adding yellow highlight to specified text. The highlight color can be changed, and the highlight can also be set to expire at a certain date. Please use this template sparingly and only on talk pages.
Usage
{{hilite | text | color (optional) | expiration (optional) }}
- Parameters
- text (parameter 1): Enter the text to be highlighted.
- Optional parameters
These parameters are optional, but unused parameters must be separated by a pipe (see examples below):
- color (parameter 2): Colors may be specified by word (e.g., "red", "blue", "lightgreen") or in hexidecimal format (e.g., "#FF0066", "#C0C0C0"). If no value is given for the color, the template defaults to yellow.
- expiration (parameter 3): Highlights may be set to expire on a certain date, which leaves the text as-is, but removes the highlight color. The expiration value can be specified in any format.
Examples
code | output | notes |
---|---|---|
{{hilite | text }} | text | |
{{hilite | text | lightblue }} | text | |
{{hilite | text | pink | 2010-01-01 }} | text | |
{{hilite | text || January 1, 2011 }} | text | Note the color parameter, left blank, is still represented with a pipe (followed by the expiration parameter pipe) |
{{hilite | text | #00FF00 | 1 January 2012 }} | text |
See also
- {{Highlight}} (redirects to this template)
The above documentation is transcluded from Template:Highlight/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |