Template:Ticket: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
(→‎See also: mention the <trac> tag)
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
The <nowiki>{{</nowiki>{{PAGENAME}}|1752|Blocker<nowiki>}}</nowiki> was referenced in the news.
The <nowiki>{{</nowiki>{{PAGENAME}}|1752|Blocker<nowiki>}}</nowiki> was referenced in the news.
The {{{{PAGENAME}}|1752|Blocker}} was referenced in the news.
The {{{{PAGENAME}}|1752|Blocker}} was referenced in the news.

== See also ==
[[Template:Trac]], a similar template.

Also, {{SERVERNAME}} includes a <tt><nowiki><trac></nowiki>''nnnn''<nowiki></trac></nowiki></tt> extension tag that does something similar&mdash; maybe this template should switch to that?


[[Category:Template]]
[[Category:Template]]

Latest revision as of 00:00, 26 July 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.

See also

Template:Trac, a similar template.

Also, wiki.laptop.org includes a <trac>nnnn</trac> extension tag that does something similar— maybe this template should switch to that?