Template:GAN link
Revision as of 23:51, 11 February 2016 by imported>Rich Farmbrough (Remove calls to "Exists", reduce calls to "replace" major speed-up.)
| This template uses Lua: |
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. It will strip out double and triple apostrophes.
{{GAN link|Saints Row 2 (mobile)}}→ Template:GAN link/core{{GAN link|''Saints Row 2'' (mobile)}}→ Template:GAN link/core
- 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)}}→ Template:GAN link/core{{GAN link|Saints Row 2 (mobile)|''Saints Row 2'' (mobile)}}→ Template:GAN link/core
|Template:Pound=sets the GAN number{{GAN link|Jumping Flash!|#=2}}→ Template:GAN link/core (Talk:Jumping Flash!/GAN2)
|icon=adds a GAN icon{{GAN link|Jumping Flash!|icon=y}}→ Template:GAN link/core
|i=sets whether the original input is a fully italicized name{{GAN link|Jumping Flash!|i=y}}→ Template:GAN link/core{{GAN link|Saints Row 2 (mobile)|i=y}}→ Template:GAN link/core (note that "(mobile)" is italicized too with this option)
| 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. Please add categories to the /doc subpage. Subpages of this template. |