Difference between revisions of "Template:In the news/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>John of Reading
(Experiment: add support for a nocurrenteventslink parameter to hide part of the last line)
imported>Mr. Stradivarius
(Fix spacing)
Line 13: Line 13:
 
</ul>
 
</ul>
 
'''{{#ifexist:Deaths in {{CURRENTYEAR}}|[[Deaths in {{CURRENTYEAR}}|Recent deaths]]|[[Deaths in {{#time:Y|-1 years}}|Recent deaths]]}}''':{{nbsp}}[[Rex Hunt (governor)|Rex Hunt]]
 
'''{{#ifexist:Deaths in {{CURRENTYEAR}}|[[Deaths in {{CURRENTYEAR}}|Recent deaths]]|[[Deaths in {{#time:Y|-1 years}}|Recent deaths]]}}''':{{nbsp}}[[Rex Hunt (governor)|Rex Hunt]]
<!--  Please consider keeping ongoing news stories on ITN if the article keeps getting updated.  --><div style="text-align: right;" class="noprint">'''[[Syrian civil war]]''' – '''[[n:Main Page|Wikinews]]'''{{#if:{{{nocurrenteventslink|}}}||– '''[[Portal:Current events|More&nbsp;current&nbsp;events...]]'''}}</div><noinclude>
+
<!--  Please consider keeping ongoing news stories on ITN if the article keeps getting updated.  --><div style="text-align: right;" class="noprint">'''[[Syrian civil war]]''' – '''[[n:Main Page|Wikinews]]'''{{#if:{{{nocurrenteventslink|}}}||&nbsp;– '''[[Portal:Current events|More&nbsp;current&nbsp;events...]]'''}}</div><noinclude>
 
{{active editnotice}}
 
{{active editnotice}}
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 13:44, 16 November 2012

Xi Jinping

Recent deaths: Rex Hunt

Template:Active editnotice

Template documentation[view] [edit] [history] [purge]

"In the news" mentions and links to entries of timely interestencyclopedia articles that have been updated to reflect an important current event – rather than conventional news items. To prevent vandalism on the Main Page, it is a permanently protected template. See Wikipedia:In the news for more details.

See an error? Please note it on Wikipedia:Main Page/Errors for administrator assistance.

The template accepts one parameter: adding |nocurrenteventslink=1 removes the link to Portal:Current events. This is used on the current events page to hide the link there.

Admins: After updating please purge the cache of the Main Page so that the updated version appears.

In terms of Main Page balance, right now we're configured for widescreen monitors, which it appears most editors use. Non-widescreen users, please do not change the balance even if it looks off on your monitor.

Click here to purge the template's cache manually, if it does not appear to be updating on the Main Page after you edit it.