Difference between revisions of "Template:GAN link/doc"

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
imported>Rich Farmbrough
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>{{ganl|Saints Row 2 (mobile)}}</nowiki></code> → {{ganl|Saints Row 2 (mobile)}}
+
** <code><nowiki>{{GAN link|Saints Row 2 (mobile)}}</nowiki></code> → {{GAN link|Saints Row 2 (mobile)}}
** <code><nowiki>{{ganl|''Saints Row 2'' (mobile)}}</nowiki></code> → {{ganl|''Saints Row 2'' (mobile)}}
+
** <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>{{ganl|Saints Row 2 (mobile)}}</nowiki></code> → {{ganl|Saints Row 2 (mobile)}}
+
** <code><nowiki>{{GAN link|Saints Row 2 (mobile)}}</nowiki></code> → {{GAN link|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>{{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>{{ganl|Jumping Flash!|#=2}}</nowiki></code> → {{ganl|Jumping Flash!|#=2}} (<code>Talk:Jumping Flash!/GAN'''2'''</code>)
+
** <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>{{ganl|Jumping Flash!|icon=y}}</nowiki></code> → {{ganl|Jumping Flash!|icon=y}}
+
** <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>{{ganl|Jumping Flash!|i=y}}</nowiki></code> → {{ganl|Jumping Flash!|i=y}}
+
** <code><nowiki>{{GAN link|Jumping Flash!|i=y}}</nowiki></code> → {{GAN link|Jumping Flash!|i=y}}
** <code><nowiki>{{ganl|Saints Row 2 (mobile)|i=y}}</nowiki></code> → {{ganl|Saints Row 2 (mobile)|i=y}} <small>(note that "(mobile)" is italicized too with this option)</small>
+
** <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

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.
  • Alternatively, the first parameter can be used for the name, and the second parameter for how the link should be displayed
  • |i= sets whether the original input is a fully italicized name