Difference between revisions of "Template:GAN link/sandbox"
Jump to navigation
Jump to search
(Synced.) |
imported>Rich Farmbrough |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{GAN link/core|1={{{1|}}}|2={{{2|}}}|3={{replace|{{replace|{{{1}}}|'''|}}|''|}}|i={{{1|}}}|#={{{#|}}}}}<noinclude> |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 23:45, 11 February 2016
| This is the template sandbox page for Template:GAN link (diff). See also the companion subpage for test cases. |
| 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) (start){{GAN link|''Saints Row 2'' (mobile)}}→ Saints Row 2 (mobile) (start)
- 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) (start){{GAN link|Saints Row 2 (mobile)|''Saints Row 2'' (mobile)}}→ Saints Row 2 (mobile) (start)
|Template:Pound=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! (start)
|i=sets whether the original input is a fully italicized name{{GAN link|Jumping Flash!|i=y}}→ Jumping Flash! (start){{GAN link|Saints Row 2 (mobile)|i=y}}→ Saints Row 2 (mobile) (start) (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. |