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

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
(Synced.)
Line 1: Line 1:
{{GAN link/core|1={{{1|}}}|2={{{2|}}}|3={{replace|{{replace|{{{1}}}|'''|}}|''|}}|i={{{i|}}}|icon={{{icon|}}}|number={{{#|1}}}}}<noinclude>{{documentation}}</noinclude>
+
{{if||{{{icon|}}}|{{icon|GAN}} |}} [[{{replace|{{replace|{{{1}}}|'''|}}|''|}}|{{if||{{{i|}}}|''{{{1}}}''|{{{2|{{{1}}}}}}}}]] {{exists|page=Talk:{{replace|{{replace|{{{1}}}|'''|}}|''|}}/GA{{{#|1}}}|then=([[Talk:{{replace|{{replace|{{{1}}}|'''|}}|''|}}/GA{{{#|1}}}|nom]])|else=('''<span class='plainlinks'>[{{fullurl:Talk:{{replace|{{replace|{{{1}}}|'''|}}|''|}}/GA{{{#|1}}}|action=edit&editintro=Template:GAN/editintro&preload=Template:GAN/preload}} start]</span>''')}}<noinclude>
 +
 
 +
{{Documentation}}
 +
 
 +
</noinclude>

Revision as of 02:16, 27 September 2014

[[{{{1}}}|{{{1}}}]] Template:Exists
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