Template:Revision/doc: Difference between revisions

Jump to navigation Jump to search
update documentation for 3.0
(move documentation to /doc)
(update documentation for 3.0)
Line 1: Line 1:
This template is used for linking to revisions from the Google Code page. Please use this template as it saves code and maintains style. The usage is:
This template is used for linking to revisions from the Google Code page. Please use this template as it saves code and maintains style. The usage is:
<pre>{{revision|<revisionnumber>}}</pre>
<pre>{{revision|<revisionnumber>}}</pre>
For example, if you have a problem that was solved on revision 5768, only write <tt><nowiki>{{revision|5768}}</nowiki></tt>. The result will be "This problem was solved on {{revision|5768}}."
For example, if you have a problem that was solved on revision 5768, only write <tt><nowiki>{{revision|5768}}</nowiki></tt>. The result will be "This problem was solved on {{revision|5768}}."


==Usage examples==
Please note that you can put 2.0 as revision if you want to link to the Dolphin {{revision|2.0}}. Also, r5350 is the revision that 2.0 (RC) derives from, so in this case, use 2.0 instead of 5350.
Please note that you can put 2.0 as revision if you want to link to the Dolphin {{revision|2.0}}. Also, r5350 is the revision that 2.0 (RC) derives from, so in this case, use 2.0 instead of 5350.
{| class="wikitable"
!Code
!Result
!Notes
|-
| <code><nowiki>{{revision|5678}}</nowiki></code>
| {{revision|5678}}
|-
| <code><nowiki>{{revision|2.0}}</nowiki></code>
| {{revision|2.0}}
| 2.0 is linked to {{revision|5350}}
|-
| <code><nowiki>{{revision|3.0}}</nowiki></code>
| {{revision|3.0}}
| 3.0 is linked to {{revision|7613}}
|}

Navigation menu