Template:Trac: Difference between revisions

From OLPC
Jump to navigation Jump to search
(→‎Sample usage: make more like Template:Ticket, mention it in "See also")
m (rename Category:Trac references, formatting)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[http://dev.laptop.org/ticket/{{{1|0000}}} {{{2|}}} (Trac #{{{1}}})][[Category:Trac Reference]] <noinclude>[[Category:Template]]
[http://dev.laptop.org/ticket/{{{1|0000}}} {{{2|}}} (Trac #{{{1}}})][[Category:Trac references]] <noinclude>

This template formats a link to Trac tickets on http://dev.laptop.org.
This template formats a link to a [[Trac]] ticket on http://dev.laptop.org.
It also puts any page using it in [[:Category:Trac Reference]]
It also puts any page using it in [[:Category:Trac references]]


== Usage ==
== Usage ==
Line 10: Line 11:
== Sample ==
== Sample ==
<nowiki>{{Trac|1|Not every child has her own XO}}</nowiki>
<nowiki>{{Trac|1|Not every child has her own XO}}</nowiki>
produces
{{Trac|1|Not every child has her own XO}}
: {{Trac|1|Not every child has her own XO}}


== See also ==
== See also ==
* Use the &lt;trac&gt; tag instead.
[[Template:Ticket]], a similar template.
* [[Template:Ticket]]


[[Category:Template]]
</noinclude>
</noinclude>

Latest revision as of 20:18, 2 February 2009

(Trac #{{{1}}})

This template formats a link to a Trac ticket on http://dev.laptop.org. It also puts any page using it in Category:Trac references

Usage

 {{Trac|Trac ticket number|description}}

Sample

 {{Trac|1|Not every child has her own XO}}

produces

Not every child has her own XO (Trac #1)

See also