Template:H: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
No edit summary
No edit summary
Line 23:
! code !! output !! notes
|-
| <nowiki>{{highlighth | text }}</nowiki> || {{highlighth | text }} || The default highlight color is yellow
|-
| <nowiki>{{highlighth | text | lightblue }}</nowiki> || {{highlighth | text | lightblue }} || The second parameter is the highlight color
|-
| <nowiki>{{highlighth | text | pink | 2011-01-01 }}</nowiki> || {{highlighth | text | pink | 2011-01-01 }} || This is not highlighted since 1 January 2011 is in the past
|-
| <nowiki>{{highlighth | text | pink |</nowiki> {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}} <nowiki>}}</nowiki> || {{highlighth | 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>{{highlighth | text | #00FF00 | 1 January 2099 }}</nowiki> || {{highlighth | text | #00FF00 | 1 January 2099 }} || This is highlighted since 1 January 2099 is in the future
|-
| <nowiki>{{highlighth | text || January 1, 2099 }}</nowiki> || {{highlighth | text || January 1, 2099 }} || Note the color parameter, left blank, is still represented<br> with a pipe (followed by the expiration parameter pipe)
|}