Template:GAN link
Revision as of 04:24, 20 January 2016 by imported>Xaosflux (Changed protection level of Template:GAN link: highly visisble template ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
[[{{{1}}}|{{{1}}}]] Template:Exists
| 30px | 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)}}→ Saints Row 2 (mobile) Template:Exists{{GAN link|''Saints Row 2'' (mobile)}}→ Saints Row 2 (mobile) Template:Exists
- 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) Template:Exists{{GAN link|Saints Row 2 (mobile)|''Saints Row 2'' (mobile)}}→ Saints Row 2 (mobile) Template:Exists
|Template:Pound=sets the GAN number{{GAN link|Jumping Flash!|#=2}}→ Jumping Flash! Template:Exists (Talk:Jumping Flash!/GAN2)
|icon=adds a GAN icon{{GAN link|Jumping Flash!|icon=y}}→ 16x16px Jumping Flash! Template:Exists
|i=sets whether the original input is a fully italicized name{{GAN link|Jumping Flash!|i=y}}→ Jumping Flash! Template:Exists{{GAN link|Saints Row 2 (mobile)|i=y}}→ Saints Row 2 (mobile) Template:Exists (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. |