Changes

Jump to navigation Jump to search

Template:Gna task link

1,013 bytes added, 13:48, 23 October 2020
m
Switch from the imported {{informative template}} to the relax {{template info}} template
[{{gna task url|{{{1|0}}}|comment={{{comment|}}}}} <!---->{{#if: {{{text|{{{2|}}}}}} | {{{text|{{{2}}}}}} | task Task #{{{1|0}}}<!-- -->{{#if: {{{comment|}}} |, comment #{{{comment}}} }} }}]<noinclude>
{{Informative templateinfo|1=
== The Gna! task link template ==
=== Usage ===
{{obr}}gna tasks task url {{!}} number {{!}}''numbertext'' = {{!}}''textcomment'' =
{{cbr}}
 
; {{param|number}}: The task number.
 
; {{param|text}}: The optional link text. This can also be supplied as parameter number 2.
 
; {{param|comment}}: The optional comment number to anchor to.
=== Examples ===
==== Default text ====
 
{{obr}}gna task link{{!}}7826{{cbr}}
 
{{gna task link|7826}}
 
==== Replacement text ====
{{obr}}gna task link{{!}}7826{{!}}text=Task #7826: Write an python class for the repeated analysis of dispersion data{{cbr}}
{{gna task link|7826|text=Task #7826: Write an python class for the repeated analysis of dispersion data}}
==== Replacement text, positional argument ====
 
{{obr}}gna task link{{!}}7826{{!}}Task #7826: Write an python class for the repeated analysis of dispersion data{{cbr}}
 
{{gna task link|7826|Task #7826: Write an python class for the repeated analysis of dispersion data}}
 
==== Comment anchor ====
 
{{obr}}gna task link{{!}}7415{{!}}comment=6{{cbr}}
 
{{gna task link|7415|comment=6}}
 
==== Comment anchor with replacement text ====
 
{{obr}}gna task link{{!}}7712{{!}}comment=3{{!}}text=Comment 3 of task #7712{{cbr}}
 
{{gna task link|7712|comment=3|text=Comment 3 of task #7712}}
}}
[[Category:Link templates]]</noinclude>

Navigation menu