Difference between revisions of "Template:DYK nompage links"

From blackwiki
Jump to navigation Jump to search
imported>Graeme Bartlett
(extend to 20 articles)
imported>Nakon
m (Changed protection level of Template:DYK nompage links: increasing protection, 25k+ transclusions. ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span class="plainlinks">( {{if|eq|{{FULLPAGENAME}}|Template:Did you know nominations/{{{nompage}}}|[[Template talk:Did you know#{{{nompage}}}|Back to T:TDYK]]|[{{fullurl:Template:Did you know nominations/{{{nompage}}}|action=edit}} Review or comment]}}{{if||{{{2|}}}| )<br />( Article history links: [{{fullurl:{{{1}}}|action=history}} {{{1}}}]{{if||{{{2|}}}| &bull; [{{fullurl:{{{2}}}|action=history}} {{{2}}}]|}}{{if||{{{3|}}}| &bull; [{{fullurl:{{{3}}}|action=history}} {{{3}}}]|}}{{if||{{{4|}}}| &bull; [{{fullurl:{{{4}}}|action=history}} {{{4}}}]|}}{{if||{{{5|}}}| &bull; [{{fullurl:{{{5}}}|action=history}} {{{5}}}]|}}{{if||{{{6|}}}| &bull; [{{fullurl:{{{6}}}|action=history}} {{{6}}}]|}}{{if||{{{7|}}}| &bull; [{{fullurl:{{{7}}}|action=history}} {{{7}}}]|}}{{if||{{{8|}}}| &bull; [{{fullurl:{{{8}}}|action=history}} {{{8}}}]|}}{{if||{{{9|}}}| &bull; [{{fullurl:{{{9}}}|action=history}} {{{9}}}]|}}{{if||{{{10|}}}| &bull; [{{fullurl:{{{10}}}|action=history}} {{{10}}}]|}}{{if||{{{11|}}}| &bull; [{{fullurl:{{{11}}}|action=history}} {{{11}}}]|}}{{if||{{{12|}}}| &bull; [{{fullurl:{{{12}}}|action=history}} {{{12}}}]|}}{{if||{{{13|}}}| &bull; [{{fullurl:{{{13}}}|action=history}} {{{13}}}]|}}{{if||{{{14|}}}| &bull; [{{fullurl:{{{14}}}|action=history}} {{{14}}}]|}}{{if||{{{15|}}}| &bull; [{{fullurl:{{{15}}}|action=history}} {{{15}}}]|}}{{if||{{{16|}}}| &bull; [{{fullurl:{{{16}}}|action=history}} {{{16}}}]|}}{{if||{{{17|}}}| &bull; [{{fullurl:{{{17}}}|action=history}} {{{17}}}]|}}{{if||{{{18|}}}| &bull; [{{fullurl:{{{18}}}|action=history}} {{{18}}}]|}}{{if||{{{19|}}}| &bull; [{{fullurl:{{{19}}}|action=history}} {{{19}}}]|}}{{if||{{{20|}}}| &bull; [{{fullurl:{{{20}}}|action=history}} {{{20}}}]|}} )| &bull; [{{fullurl:{{{1}}}|action=history}} Article history] )}}</span><noinclude>
+
<includeonly>{{#invoke:DYK nompage links|main}}</includeonly><noinclude>
[[Category:Wikipedia Did you know templates]]
+
{{documentation}}
 +
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
</noinclude>
 
</noinclude>

Latest revision as of 19:42, 26 March 2015

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

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
}}