Difference between revisions of "Template:DYK article"

From blackwiki
Jump to navigation Jump to search
imported>TheCoffee
m (Protected Template:DYK article: high risk ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
imported>WOSlinker
m (use protocol relative links for wikipedia pages)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[{{{1}}}]] <small>([http://en.wikipedia.org/w/index.php?title=Template:Did_you_know&oldid={{{2}}} {{#if:{{{3|}}}|{{{3}}}}}])</small><noinclude>{{documentation}}</noinclude>
+
[[{{{1}}}]] <small>([//en.wikipedia.org/w/index.php?title=Template:Did_you_know&oldid={{{2}}} {{#if:{{{3|}}}|{{{3}}}}}])</small><noinclude>{{documentation}}</noinclude>

Latest revision as of 09:49, 17 September 2017

[[{{{1}}}]] ([1])

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

This template creates a link to an article that was featured in the Did you know section of the Main Page, along with a link to the revision of Template:Did you know where the article appeared.

Usage

Syntax:

{{DYK article|Article|OldRevID|YYYY-MM-DD}}

Example:

{{DYK article|Janina San Miguel|243377379|2008-10-06}}

The above generates:

Janina San Miguel (2008-10-06)

If the third parameter is omitted, it generates:

Janina San Miguel ([2])

See also