Template:Revision/doc: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
No edit summary
mNo edit summary
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 currently non-functional due to the conversion to Git in Google Code. Per information from the devs, there may be a way to correlate an old SVN-style number with a git rev, but there is currently no way to match a new-style rev number to a git rev.


<pre>{{revision|<revisionnumber>}}</pre>
For now, this simply passes the rev to VersionRevision for formatting and then returns the result.


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}}."
--[[User:Keller999|Keller999]] 08:54, 8 September 2011 (CEST)
 
==Usage examples==
Please note that you can put 2.0 as revision if you want to link to the Dolphin {{revision|2.0}} or 3.0 if you want to link to the Dolphin {{revision|3.0}}. Also, r5350 is the revision that 2.0 (RC) derives from, so in this case, use 2.0 instead of 5350. The same applies to r7616, the revision that Dolphin 3.0 derives from, so in this case, use 3.0 instead of 7616 too.
 
{| class="wikitable"
!Code
!Result
!Notes
|-
| <code><nowiki>{{revision|5678}}</nowiki></code>
| {{revision|5678}}
| Normal usage
|-
| <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|7616}}
|-
| <code><nowiki>{{revision}}</nowiki></code>
| {{revision}}
| If you don't specify the revision, the page is added in the  [http://wiki.dolphin-emulator.com/index.php?title=Category:Pages_with_revision_template_errors Category:Pages with revision template errors]
|}
1,411

edits

Navigation menu