• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:GAN link

  • Template
  • Talk
  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 113,000 pages.
To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.
This template uses Lua:
  • Module:GAN link (sandbox)

Usage

  • {{Ganl}} is a shortcut for {{GAN link}}
  • 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. It will strip out double and triple apostrophes.
    • {{GAN link|Saints Row 2 (mobile)}} → Saints Row 2 (mobile) (nom)
    • {{GAN link|''Saints Row 2'' (mobile)}} → Saints Row 2 (mobile) (nom)
  • Alternatively, the first parameter can be used for the name, and the second parameter for how the link should be displayed
    • {{GAN link|Saints Row 2 (mobile)}} → Saints Row 2 (mobile) (nom)
    • {{GAN link|Saints Row 2 (mobile)|''Saints Row 2'' (mobile)}} → Saints Row 2 (mobile) (nom)
  • |#= sets the GAN number
    • {{GAN link|Jumping Flash!|#=2}} → Jumping Flash! (start) (Talk:Jumping Flash!/GAN2)
  • |icon= adds a GAN icon
    • {{GAN link|Jumping Flash!|icon=y}} → Jumping Flash! (nom)
  • |i= sets whether the original input is a fully italicized name
    • {{GAN link|Jumping Flash!|i=y}} → Jumping Flash! (nom)
    • {{GAN link|Saints Row 2 (mobile)|i=y}} → Saints Row 2 (mobile) (nom) (note that "(mobile)" is italicized too with this option)

TemplateData

Creates a link to an article along with its good article nomination page

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Page name1

Name of the page at GAN

Page namerequired
Page label2

What to display for the page name

Stringsuggested
Italic?i

Whether to italicize the page

Booleansuggested
GAN number#

Good article nomination number

Numbersuggested
Iconicon

Adds a GAN icon

Booleansuggested
The above documentation is transcluded from Template:GAN link/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:GAN_link&oldid=755078860"
Last edited on 16 December 2016, at 02:51

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 16 December 2016, at 02:51 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop