Difference between revisions of "Template:GAN link"

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
(Remove calls to "Exists", reduce calls to "replace" major speed-up.)
imported>Mr. Stradivarius
(convert this to use Module:GAN link)
 
Line 1: Line 1:
<noinclude>{{pp-template|small=yes}}</noinclude>{{GAN link/core|1={{{1|}}}|2={{{2|}}}|3={{replace|{{replace|{{{1}}}|'''|}}|''|}}|i={{{i|}}}|icon={{{icon|}}}|number={{{#|1}}}}}<noinclude>
+
<includeonly>{{#invoke:GAN link|main}}</includeonly><noinclude>
 
 
 
{{Documentation}}
 
{{Documentation}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 02:51, 16 December 2016

50px Template documentation[view] [edit] [history] [purge]

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