Difference between revisions of "Template:Issue"

From Sugar Labs
Jump to navigation Jump to 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...")
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[https://github.com/sugarlabs/sugar/issues/{{{1|0000}}} Issue #{{{1}}}][[Category:GitHub Reference]]<noinclude>
+
[https://github.com/sugarlabs/{{{1}}}/issues/{{{2}}} {{{1}}}#{{{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>

Latest revision as of 23:31, 31 December 2018

{{{1}}}#{{{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