Difference between revisions of "Template:DYKnom link"
Jump to navigation
Jump to search
imported>SounderBruce m (wrong order) |
imported>SounderBruce m (rm 3rd) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#if:{{{icon|}}}|[[File:Symbol question.svg|x16px]] }}[[{{{1}}}|{{{2|{{{1|}}}}}}]] ([[Template:Did you know nominations/{{{1}}}|{{{ | + | <includeonly>{{#if:{{{icon|}}}|[[File:Symbol question.svg|x16px]] }}[[{{{1}}}|{{{2|{{{1|}}}}}}]] ([[Template:Did you know nominations/{{{1}}}|{{{nom|nom}}}]])</includeonly><noinclude> |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 02:18, 28 March 2018
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.
- Put the name in the first parameter.
{{DYKnom link|Saints Row 2 (mobile)}}→ Saints Row 2 (mobile) (nom)
- 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.
{{DYKnom link|Saints Row 2 (mobile)}}→ Saints Row 2 (mobile) (nom){{DYKnom link|Operation London Bridge|OLB}}→ OLB (nom){{DYKnom link|Operation London Bridge|nom=DYK}}→ Operation London Bridge (DYK)
|icon=adds a DYK icon{{DYKnom link|Operation London Bridge|icon=y}}→ x16px Operation London Bridge (nom)
| The above documentation is transcluded from Template:DYKnom link/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |