Difference between revisions of "Template:DYK nompage links/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mr. Stradivarius
(add a category)
imported>Vanisaac
m (→‎Examples: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 54: Line 54:
 
}}
 
}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
 
 
<!-------------------------------------------------------------------
 
<!-------------------------------------------------------------------
 
       Categories below here, interwikis to Wikidata.
 
       Categories below here, interwikis to Wikidata.

Latest revision as of 00:48, 25 April 2020

This template creates the list of links used on Wikipedia:Did You Know nomination pages.

Usage

{{DYK nompage links
| nompage = nomination subpage
| 1 = article 1
| 2 = article 2
| 3 = article 3
  ...
}}

You must specify the nomination page and at least one article.

Examples

Single

{{DYK nompage links
| nompage = YOUR ARTICLE TITLE
| 1 = Foo
}}

Multiple

{{DYK nompage links
| nompage = YOUR ARTICLE TITLE
| 1 = Foo
| 2 = Bar
| 3 = Baz
}}