Difference between revisions of "Template:RHSA"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(use #replace)
(use #sub)
Line 1: Line 1:
[http://rhn.redhat.com/errata/RHSA-{{#replace:{{{1}}}|:|-}}.html RHSA-{{{1}}}{{{2|}}}]<noinclude>
+
<includeonly>[http://rhn.redhat.com/errata/RHSA-{{#replace:{{#sub:{{{1}}}|0|9}}|:|-}}.html RHSA-{{{1}}}]</includeonly><noinclude>
  
 
Put in an RHSA (Red Hat Security Advisory) number with a link.
 
Put in an RHSA (Red Hat Security Advisory) number with a link.
  
 
== Usage ==
 
== Usage ==
<pre><nowiki>{{RHSA|2007:0993|-13}}</nowiki></pre>
+
<pre><nowiki>{{RHSA|2007:0993-13}}</nowiki></pre>
 
will give you
 
will give you
 
{{RHSA|2007:0993|-13}}.
 
{{RHSA|2007:0993|-13}}.

Revision as of 20:32, 20 March 2008


Put in an RHSA (Red Hat Security Advisory) number with a link.

Usage

{{RHSA|2007:0993-13}}

will give you RHSA-2007:0993.

{{RHSA|2007-0936}}

will give you RHSA-2007-0936.