Template:RT: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Clone Template:RT from Template:Ticket)
 
Line 15: Line 15:
== Sample ==
== Sample ==


The <nowiki>{{</nowiki>{{PAGENAME}}|1<nowiki>}}</nowiki> sums up the whole project.
The <nowiki>{{</nowiki>RT|1<nowiki>}}</nowiki> sums up the whole project.
The {{{{PAGENAME}}|1}} sums up the whole project.
The {{RT|1}} doesn't sum up the whole project.


The <nowiki>{{</nowiki>{{PAGENAME}}|1752|Blocker<nowiki>}}</nowiki> was referenced in the news.
The <nowiki>{{</nowiki>RT|1752|Blocker<nowiki>}}</nowiki> was referenced in the news.
The {{{{PAGENAME}}|1752|Blocker}} was referenced in the news.
The {{RT|1752|Blocker}} was referenced in the news.


== See also ==
== See also ==

Revision as of 11:25, 20 August 2008

#{{{1}}}


Simple 'helper' template to reference tickets in RT.

Usage

{{RT
  | 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 {{RT|1}} sums up the whole project.
The #1 doesn't sum up the whole project.
The {{RT|1752|Blocker}} was referenced in the news.
The Blocker#1752 was referenced in the news.

See also

Template:Trac, a similar template. Template:Ticket, from which this is based