Template:Revision: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
(add if statement and category for unspecified revisions)
(allow for 3.0)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}
<includeonly>{{#if:{{{1|}}}
  |[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>]
  |[http://code.google.com/p/dolphin-emu/source/detail?r={{#switch:{{{1}}}
  |2.0=5350
  |3.0=7613
  |#default={{{1}}}
}} <span style="font-weight:bold;font-family:monospace;color:purple;text-shadow: 0.1em 0.1em 0.2em lightPurple">{{#switch:{{{1}}}
  |2.0=2.0 (RC)
  |3.0=3.0
  |#default=r{{{1}}}
}}</span>]
  |<span style="font-weight:bold; color:red;">revision not specified</span>[[Category:Pages with revision template errors]]
  |<span style="font-weight:bold; color:red;">revision not specified</span>[[Category:Pages with revision template errors]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 01:47, 24 June 2011

[edit] [purge] Template documentation

This will output a link for a Dolphin revision.

Usage

code result
{{Revision|1}} r1
{{Revision|2}} 2.0 (RC)
{{Revision|3}} 3.0
{{Revision|4}} r4
{{Revision|4}} r5
{{Revision|2.0}} 2.0 (RC)
{{Revision|5384}} r5384
{{Revision|3.0}} 3.0
{{Revision|7615}} r7615
{{Revision|6900}} r6900
{{Revision|3.0-50}} r3.0-50
{{Revision|3.5}} r3.5
{{Revision|3.5-100}} r3.5-100
{{Revision|4.0}} r4.0
{{Revision|4.0-6}} r4.0-6
{{Revision|4.0.1}} r4.0.1
{{Revision|4.0.2}} r4.0.2
{{Revision|4.0-100}} r4.0-100
{{Revision|4.0-305 Triforce}} Triforce r4.0-305 Triforce
{{Revision|5.0-rc-20}} r5.0-rc-20
{{Revision|5.0}} r5.0
{{Revision|5.0-10}} (Doesn't exist) r5.0-10
{{Revision|5.0-560}} r5.0-560
{{Revision|6.0-rc-10}} r6.0-rc-10
{{Revision|Ishiiruka-427}} rIshiiruka-427
{{Revision|}} revision not specified

Issues

  • There are gaps in released revisions, for instance the following seem to be missing (i.e. r4.0-6, r3.5-100).
  • Non-5.0 rc releases link to old builds (since none exist this is OK for now)
  • Branch revisions link to a page with all revisions of that branch, rather than to the specific page for each release
  • Android revisions are not appropriately handled