Difference between revisions of "Template:Issue"

From Sugar Labs
Jump to: navigation, search
(Created page with "[https://github.com/sugarlabs/sugar/issues/{{{1|0000}}} Issue #{{{1}}}]Category:GitHub Reference<noinclude> Category:Template This template formats a link to GitHub...")
 
(include repository)
Line 1: Line 1:
[https://github.com/sugarlabs/sugar/issues/{{{1|0000}}} Issue #{{{1}}}][[Category:GitHub Reference]]<noinclude>
+
[https://github.com/sugarlabs/{{{1|sugar}}}/issues/{{{2|0000}}} {{{1}}} Issue #{{{2}}}][[Category:GitHub Reference]]<noinclude>
  
 
[[Category:Template]]
 
[[Category:Template]]
  
This template formats a link to GitHub issues on https://github.com/sugarlabs/sugar,
+
This template formats a link to GitHub issues on https://github.com/sugarlabs/,
  
 
and adds the wiki page to [[:Category:GitHub Reference]].
 
and adds the wiki page to [[:Category:GitHub Reference]].
Line 13: Line 13:
  
 
<tt>
 
<tt>
   <nowiki>{{</nowiki>Issue|''GitHub issue number''<nowiki>}}</nowiki></tt>
+
   <nowiki>{{</nowiki>Issue|''sugar repository|GitHub issue number''<nowiki>}}</nowiki></tt>
  
  <nowiki>{{Issue|769}}</nowiki>
+
  <nowiki>{{Issue|sugar|769}}</nowiki>
produces {{Issue|769}}
+
produces {{Issue|sugar|769}}
 +
 
 +
<nowiki>{{Issue|sugar-toolkit-gtk3|368}}</nowiki>
 +
produces {{Issue|sugar-toolkit-gtk3|368}}
  
 
</noinclude>
 
</noinclude>

Revision as of 13:04, 26 November 2018

{{{1}}} Issue #{{{2}}}

This template formats a link to GitHub issues on https://github.com/sugarlabs/,

and adds the wiki page to Category:GitHub Reference.


See also Template:OlpcBug and Template:Trac.

Sample usage

 {{Issue|sugar repository|GitHub issue number}}
{{Issue|sugar|769}}

produces sugar#769

{{Issue|sugar-toolkit-gtk3|368}}

produces sugar-toolkit-gtk3#368