Template:Revision: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
(Fix to close styling tags, <grumble>BTW I hate the monospace style used</grumble>)
(Cleanup)
Line 1: Line 1:
<noinclude>
<noinclude>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:
{{Documentation}}
<pre>{{revision|<revisionnumber>}}</pre>
</noinclude>{{#ifeq:{{{1}}}|2.0|[http://code.google.com/p/dolphin-emu/source/detail?r=5350 <span style="font-weight:bold;font-family:monospace;color:purple;text-shadow: 0.1em 0.1em 0.2em lightPurple">2.0 (RC)</span>]|[http://code.google.com/p/dolphin-emu/source/detail?r={{{1}}} <span style="font-weight:bold;font-family:monospace;color:purple;text-shadow: 0.1em 0.1em 0.2em lightPurple">r{{{1}}}</span>]}}
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}}."
 
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.
</noinclude><includeonly>[http://code.google.com/p/dolphin-emu/source/detail?r={{#ifeq:{{{1}}}|2.0|5350|{{{1}}}}} <span style="font-weight:bold;font-family:monospace;color:purple;text-shadow: 0.1em 0.1em 0.2em lightPurple">{{#ifeq:{{{1}}}|2.0|2.0 (RC)|r{{{1}}}}}</span>]</includeonly>

Revision as of 14:11, 6 May 2011

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:

{{revision|<revisionnumber>}}

For example, if you have a problem that was solved on revision 5768, only write {{revision|5768}}. The result will be "This problem was solved on r5768."

Please note that you can put 2.0 as revision if you want to link to the Dolphin 2.0 (RC). Also, r5350 is the revision that 2.0 (RC) derives from, so in this case, use 2.0 instead of 5350.