Difference between revisions of "Template:ITN update/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(try)
imported>Anc516
(Reverting)
Line 1: Line 1:
<includeonly>{{mbox
+
{{mbox
  |style={{#switch:{{HoursElapsed|{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}}}
+
  |style={{#switch:{{HoursElapsed|{{In the news/Last update}}}}
   |0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23=
+
   |-1|0|1|2|3|4|5|6|7|8|9|10|11=
  |24|25=background-color:#FFD700; font-weight:bold;
+
  |12|13|14|15|16|17|18|19|20|21|22|23=background-color:khaki;
   |#default=background-color:#FF0000; color:#FFFFFF; font-weight:bold;
+
   |#default=background-color:#ffcece;
 
  }}
 
  }}
  |text=A [[Wikipedia:In the news section on the Main Page/Candidates|new item]] should be added to [[Template:In the news]] by {{#time:l, j F Y H:i|{{{1}}}{{{2}}}{{{3}}}{{{4}}}{{{5}}}{{{6}}} +24 hours}} Wikipedia time ([[UTC]]).
+
  |text={{navbar|ITN-Update|mini=1|style=float:right;}}A '''[[Wikipedia:In the news/Candidates|new item]]''' should be added to [[Template:In the news]] by {{#time:l, j F Y H:i|{{In the news/Last update}}+12 hours}} ([[UTC]]).<br /> This template will turn yellow if not reset by that time and red twelve hours after.
  
'''Current time:''' {{#time: l, j F Y H:i|{{CURRENTTIMESTAMP}}}} (UTC)
+
'''Current time:''' {{Time}}
  
Last updated: {{time ago|{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}}}.&emsp;&emsp;&emsp;([{{fullurl:Template:In the news|action=history}} verify]{{·}}[{{fullurl:Template:In the news/Next update/Time|action=edit}} reset]{{·}}[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge])
+
Last updated: {{time ago|{{In the news/Last update}}}}.&emsp;&emsp;&emsp;([{{fullurl:Template:In the news|action=history}} verify]{{int:dot-separator}}[{{fullurl:Template:In the news/Last update|action=edit&summary=Reset+timer}} reset]{{int:dot-separator}}[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge])
 
+
}}<noinclude>
<small>To update this updateclock to the current time use: '''{<nowiki>{ITN-Update|</nowiki>{{#time: Y&#124;m&#124;d&#124;H&#124;i&#124;s}}}<nowiki>}</nowiki>'''</small>
+
{{documentation}}
}}</includeonly><noinclude>
+
[[Category:Wikipedia In the news|Update]]
{{ITN-Update/sandbox|2009|07|17|09|30|00}}
 
 
</noinclude>
 
</noinclude>

Revision as of 23:33, 27 November 2012

Template documentation[create]