Template:H: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1:
<includeonly>{{#if: {{{3|}}} | {{Highlight|{{{1}}}|{{{2|yellow}}}|{{{3}}}}} | {{Highlight|{{{1}}}|{{{2|yellow}}}}} }}</includeonly><noinclude>
 
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 keep template usage to talk pages only.
Line 29:
| <nowiki>{{h | text | pink | 2011-01-01 }}</nowiki> || {{h | text | pink | 2011-01-01 }} || This is not highlighted since 1 January 2011 is in the past
|-
| <nowiki>{{h | text | pink |</nowiki> {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}} <nowiki>}}</nowiki> || {{h | text || {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}}} || There is no highlighting on the expiration date ({{Purge|purge this page's server cache}} if today's date is not shown)
|-
| <nowiki>{{h | text | #00FF00 | 1 January 2099 }}</nowiki> || {{h | text | #00FF00 | 1 January 2099 }} || This is highlighted since 1 January 2099 is in the future