Difference between revisions of "Template:Gna bug url"

From relax wiki
Jump to navigation Jump to search
m (Bug fix.)
m (Switch from the imported {{informative template}} to the relax {{template info}} template)
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
https://web.archive.org/web/https://gna.org/bugs/?{{{1|0}}}<noinclude>
+
https://web.archive.org/web/gna.org/bugs/?{{{1|0}}}<!--
 +
-->{{#if: {{{comment|}}}
 +
    |&#35;comment{{{comment}}}
 +
  }}<noinclude>
  
{{Template info |1=
+
{{template info|1=
 
+
== The Gna! bug URL template ==
== The Gna! bug link template ==
 
  
 
=== Goal ===
 
=== Goal ===
  
Create links to the web archive of the Gna! bugs.
+
Create URLs to the web archive of the Gna! bugs.
  
 
=== Usage ===
 
=== Usage ===
  
  {{obr}}gna bug{{!}}''number''{{cbr}}
+
  {{obr}}gna bug url
 +
{{!}} number
 +
{{!}} ''comment'' =
 +
{{cbr}}
 +
 
 +
; {{param|number}}: The bug number.
 +
 
 +
; {{param|comment}}: The optional comment number to anchor to.
  
 
=== Examples ===
 
=== Examples ===
Line 17: Line 26:
 
==== Simple URL ====
 
==== Simple URL ====
  
  {{obr}}gna bug{{!}}25044{{cbr}}
+
  {{obr}}gna bug url{{!}}25044{{cbr}}
 +
 
 +
{{gna bug url|25044}}
 +
 
 +
==== Comment anchor ====
 +
 
 +
{{obr}}gna bug url{{!}}25044{{!}}comment=1{{cbr}}
 +
 
 +
{{gna bug url|25044|comment=1}}
  
{{uf|spin.create}}
+
}}
  
}}</noinclude>
+
[[Category:Link templates]]</noinclude>

Latest revision as of 13:49, 23 October 2020

https://web.archive.org/web/gna.org/bugs/?0

Template documentation

The Gna! bug URL template

Goal

Create URLs to the web archive of the Gna! bugs.

Usage

{{gna bug url
| number
| comment = 
}}
number
The bug number.
comment
The optional comment number to anchor to.

Examples

Simple URL

{{gna bug url|25044}}

https://web.archive.org/web/gna.org/bugs/?25044

Comment anchor

{{gna bug url|25044|comment=1}}

https://web.archive.org/web/gna.org/bugs/?25044#comment1