Difference between revisions of "Template:DYKnom link/doc"

From blackwiki
Jump to navigation Jump to search
imported>SounderBruce
(Created page with '{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> Ba...')
 
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 19: Line 19:
 
** <code><nowiki>{{DYKnom link|Operation London Bridge|icon=y}}</nowiki></code> → {{DYKnom link|Operation London Bridge|icon=y}}
 
** <code><nowiki>{{DYKnom link|Operation London Bridge|icon=y}}</nowiki></code> → {{DYKnom link|Operation London Bridge|icon=y}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
[[Category:DYK templates for record-keeping]]
 
[[Category:DYK templates for record-keeping]]

Latest revision as of 00:49, 25 April 2020

Based on {{GAN link}}.

Usage

  • The template will show the article's name alongside a link to its GAN (defaults to "/GA1"). If the GAN has started, it will be linked as "nom". If not, a "start" link with the preloaded GA stuff will show instead.
  • Alternatively, the first parameter can be used for the name, the second parameter for how the link should be displayed, and the third parameter for how the nom should be displayed.