Difference between revisions of "Template:GAN link/doc"
Jump to navigation
Jump to search
imported>Czar (documentation start) |
imported>Czar (now strips out double and triple apostrophes) |
||
| Line 6: | Line 6: | ||
* {{Tl|ganl}} is a shortcut for {{Tl|GAN link}} | * {{Tl|ganl}} is a shortcut for {{Tl|GAN link}} | ||
| − | * | + | * Put the name in the first parameter. It will strip out double and triple apostrophes. |
| + | ** <code><nowiki>{{ganl|Saints Row 2 (mobile)}}</nowiki></code> → {{ganl|Saints Row 2 (mobile)}} | ||
| + | ** <code><nowiki>{{ganl|''Saints Row 2'' (mobile)}}</nowiki></code> → {{ganl|''Saints Row 2'' (mobile)}} | ||
| + | |||
| + | * Alternatively, the first parameter can be used for the name, and the second parameter for how the link should be displayed | ||
** <code><nowiki>{{ganl|Saints Row 2 (mobile)}}</nowiki></code> → {{ganl|Saints Row 2 (mobile)}} | ** <code><nowiki>{{ganl|Saints Row 2 (mobile)}}</nowiki></code> → {{ganl|Saints Row 2 (mobile)}} | ||
** <code><nowiki>{{ganl|Saints Row 2 (mobile)|''Saints Row 2'' (mobile)}}</nowiki></code> → {{ganl|Saints Row 2 (mobile)|''Saints Row 2'' (mobile)}} | ** <code><nowiki>{{ganl|Saints Row 2 (mobile)|''Saints Row 2'' (mobile)}}</nowiki></code> → {{ganl|Saints Row 2 (mobile)|''Saints Row 2'' (mobile)}} | ||
Revision as of 22:09, 18 May 2014
| This is a documentation subpage for Template:GAN link. It contains usage information, categories and other content that is not part of the original template page. |
Usage
- Put the name in the first parameter. It will strip out double and triple apostrophes.
{{ganl|Saints Row 2 (mobile)}}→ Saints Row 2 (mobile) (start){{ganl|''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
{{ganl|Saints Row 2 (mobile)}}→ Saints Row 2 (mobile) (start){{ganl|Saints Row 2 (mobile)|''Saints Row 2'' (mobile)}}→ Saints Row 2 (mobile) (start)
|Template:Pound=sets the GAN number{{ganl|Jumping Flash!|#=2}}→ Jumping Flash! (start) (Talk:Jumping Flash!/GAN2)
|i=sets whether the original input is a fully italicized name{{ganl|Jumping Flash!|i=y}}→ Jumping Flash! (start){{ganl|Saints Row 2 (mobile)|i=y}}→ Saints Row 2 (mobile) (start) (note that "(mobile)" is italicized too with this option)