Template:Ticket: Difference between revisions

From OLPC
Jump to navigation Jump to search
(helper template for tickets in dev.laptop.org)
 
mNo edit summary
Line 1: Line 1:
[http://dev.laptop.org/ticket/{{{1}}} {{{2|Ticket}}}#{{{1}}}]<noinclude>
[http://dev.laptop.org/ticket/{{{1}}} {{{2|}}}#{{{1}}}]<noinclude>


----
----
Line 10: Line 10:
| ticket &lt;!-- UNNAMED PARAMETER &mdash; number of the ticket --&gt;
| ticket &lt;!-- UNNAMED PARAMETER &mdash; number of the ticket --&gt;
| title &lt;!-- UNNAMED PARAMETER &mdash; OPTIONAL &mdash; text going before the number
| title &lt;!-- UNNAMED PARAMETER &mdash; OPTIONAL &mdash; text going before the number
(ie: bug, blocker, or whatever text). Default '''Ticket''' --&gt;
(ie: bug, blocker, or whatever text). Default "" --&gt;
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>



Revision as of 21:22, 18 April 2008

#{{{1}}}


Simple 'helper' template to reference tickets in dev.laptop.org.

Usage

{{Ticket
  | ticket   <!-- UNNAMED PARAMETER — number of the ticket -->
  | title    <!-- UNNAMED PARAMETER — OPTIONAL — text going before the number
                     (ie: bug, blocker, or whatever text). Default "" -->
}}

Sample

The {{Ticket|1}} sums up the whole project.
The #1 sums up the whole project.
The {{Ticket|1752|Blocker}} was referenced in the news.
The Blocker#1752 was referenced in the news.