Changes

Jump to navigation Jump to search

Template:Gna bug link

1,346 bytes added, 19:39, 16 October 2020
Expansion of the template to match {{gna task link}}.
[{{gna bug url|{{{1|0}}}|comment={{{comment|}}}}} <!---->{{#if: {{{text|{{{2|}}}}}} | {{{text|{{{2}}}}}} | bug Bug #{{{1|0}}}<!-- -->{{#if: {{{comment|}}} |, comment #{{{comment}}} }} }}]<noinclude>
{{Informative template|1=
{{obr}}gna bug url
{{!}} number {{!}}''numbertext'' = {{!}}''textcomment'' =
{{cbr}}
 
; {{param|number}}: The bug 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 ===
{{gna bug link|25044}}
==== Replacement text ====
 
{{obr}}gna task link{{!}}25044{{!}}text=Bug #25044: Model Free Analysis problems when attempting to run on multi-processors and using the script to run{{cbr}}
 
{{gna task link|25044|text=Bug #25044: Model Free Analysis problems when attempting to run on multi-processors and using the script to run}}
 
==== Replacement text, positional argument ====
 
{{obr}}gna task link{{!}}25044{{!}}Bug #25044: Model Free Analysis problems when attempting to run on multi-processors and using the script to run{{cbr}}
 
{{gna task link|25044|Bug #25044: Model Free Analysis problems when attempting to run on multi-processors and using the script to run}}
 
==== Comment anchor ====
 
{{obr}}gna task link{{!}}21599{{!}}comment=1{{cbr}}
 
{{gna task link|21599|comment=1}}
 
==== Comment anchor with replacement text ====
 
{{obr}}gna task link{{!}}21599{{!}}comment=2{{!}}text=Bug #21599 has been postponed.{{cbr}}
 
{{gna task link|21599|comment=2|text=Bug #21599 has been postponed.}}
}}
[[Category:Link templates]]</noinclude>
Trusted, Bureaucrats
4,228

edits

Navigation menu