Difference between revisions of "Template:Bugzilla"

From SoftMC-Wiki
Jump to: navigation, search
m (Adjustment)
m (added better description)
Line 1: Line 1:
{{#if:{{{2|}}}
+
<includeonly>{{#if:{{{2|}}}
 
|[http://bugzilla.manz-automation.com/show_bug.cgi?id={{{1}}}#c{{{2}}} Issue {{{1}}}#{{{2}}}][[File:Bugzilla icon.png|x16px|text-top|link=]]
 
|[http://bugzilla.manz-automation.com/show_bug.cgi?id={{{1}}}#c{{{2}}} Issue {{{1}}}#{{{2}}}][[File:Bugzilla icon.png|x16px|text-top|link=]]
|[http://bugzilla.manz-automation.com/show_bug.cgi?id={{{1}}} Issue {{{1}}}][[File:Bugzilla icon.png|x16px|text-top|link=]]}}<noinclude>
+
|[http://bugzilla.manz-automation.com/show_bug.cgi?id={{{1}}} Issue {{{1}}}][[File:Bugzilla icon.png|x16px|text-top|link=]]}}</includeonly><!--
  
== Usage ==
+
 
;You type
+
### DESCRIPTION
:<pre>The discussion is documented in {{Bugzilla|2222}} or {{Bugzilla|3333|7}}.</pre>
+
--><noinclude>
;You get
+
{{Template
:The discussion is documented in {{Bugzilla|2222}} or {{Bugzilla|3333|7}}.
+
|description=
 +
Used to create a link to an issue in Manz-Bugzilla.
 +
 
 +
|template=
 +
<nowiki>
 +
{{Bugzilla|issue|comment}}
 +
</nowiki>
 +
 
 +
|parameters=
 +
;issue
 +
: Issue number in Manz-Bugzilla.
 +
;comment (optional)
 +
: Comment number within the issue.
 +
 
 +
|examples=
 +
;Input
 +
<pre>The discussion is documented in {{Bugzilla|2222}} or {{Bugzilla|3333|7}}.</pre>
 +
;Output
 +
The discussion is documented in {{Bugzilla|2222}} or {{Bugzilla|3333|7}}.
 +
}}
 +
 
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 12:04, 14 October 2010

Used to create a link to an issue in Manz-Bugzilla.

Template

{{Bugzilla|issue|comment}}

Parameters

issue
Issue number in Manz-Bugzilla.
comment (optional)
Comment number within the issue.

Examples

Input
The discussion is documented in {{Bugzilla|2222}} or {{Bugzilla|3333|7}}.
Output

The discussion is documented in Issue 2222Bugzilla icon.png or Issue 3333#7Bugzilla icon.png.


For more examples refer to pages, which use this template: What links here.

Help:Templates describes general usage of templates, including treatment of special characters.