Difference between revisions of "Template:Bugzilla"

From SoftMC-Wiki
Jump to: navigation, search
m (Test)
m
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{if:{{{2|}}}|[http://bugzilla.manz-automation.com/show_bug.cgi?id={{{1}}}#c{{{2}}} Issue {{{1}}}#{{{2}}}]|[http://bugzilla.manz-automation.com/show_bug.cgi?id={{{1}}} Issue {{{1}}}]}}<noinclude>
+
<includeonly>{{#if:{{{2|}}}
 +
|<span class="plainlinks">[http://bugzilla.manz.com/show_bug.cgi?id={{{1}}}#c{{{2}}} Issue {{padleft:{{{1}}}|4|0}}#{{{2}}}]</span>[[File:Bugzilla icon.png|x16px|text-top|link=]]
 +
|<span class="plainlinks">[http://bugzilla.manz.com/show_bug.cgi?id={{{1}}} Issue {{padleft:{{{1}}}|4|0}}]</span>[[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|3333}}
+
|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>

Latest revision as of 08:32, 17 April 2014

Used to create a link to an issue in Bugzilla.

Template

{{Bugzilla|issue|comment}}

Parameters

issue
Issue number .
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.