Difference between revisions of "Template:GAN link/doc"
Jump to navigation
Jump to search
imported>Rich Farmbrough |
imported>Rich Farmbrough (→Usage) |
||
| Line 9: | Line 9: | ||
* Put the name in the first parameter. It will strip out double and triple apostrophes. | * Put the name in the first parameter. It will strip out double and triple apostrophes. | ||
| − | ** <code><nowiki>{{ | + | ** <code><nowiki>{{GAN link|Saints Row 2 (mobile)}}</nowiki></code> → {{GAN link|Saints Row 2 (mobile)}} |
| − | ** <code><nowiki>{{ | + | ** <code><nowiki>{{GAN link|''Saints Row 2'' (mobile)}}</nowiki></code> → {{GAN link|''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 | * Alternatively, the first parameter can be used for the name, and the second parameter for how the link should be displayed | ||
| − | ** <code><nowiki>{{ | + | ** <code><nowiki>{{GAN link|Saints Row 2 (mobile)}}</nowiki></code> → {{GAN link|Saints Row 2 (mobile)}} |
| − | ** <code><nowiki>{{ | + | ** <code><nowiki>{{GAN link|Saints Row 2 (mobile)|''Saints Row 2'' (mobile)}}</nowiki></code> → {{GAN link|Saints Row 2 (mobile)|''Saints Row 2'' (mobile)}} |
* {{para|{{pound}}}} sets the GAN number | * {{para|{{pound}}}} sets the GAN number | ||
| − | ** <code><nowiki>{{ | + | ** <code><nowiki>{{GAN link|Jumping Flash!|#=2}}</nowiki></code> → {{GAN link|Jumping Flash!|#=2}} (<code>Talk:Jumping Flash!/GAN'''2'''</code>) |
* {{para|icon}} adds a GAN icon | * {{para|icon}} adds a GAN icon | ||
| − | ** <code><nowiki>{{ | + | ** <code><nowiki>{{GAN link|Jumping Flash!|icon=y}}</nowiki></code> → {{GAN link|Jumping Flash!|icon=y}} |
* {{para|i}} sets whether the original input is a fully italicized name | * {{para|i}} sets whether the original input is a fully italicized name | ||
| − | ** <code><nowiki>{{ | + | ** <code><nowiki>{{GAN link|Jumping Flash!|i=y}}</nowiki></code> → {{GAN link|Jumping Flash!|i=y}} |
| − | ** <code><nowiki>{{ | + | ** <code><nowiki>{{GAN link|Saints Row 2 (mobile)|i=y}}</nowiki></code> → {{GAN link|Saints Row 2 (mobile)|i=y}} <small>(note that "(mobile)" is italicized too with this option)</small> |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | ||
Revision as of 17:36, 5 July 2014
| 40px | 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
- 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}}→ 16x16px 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)