Template:Revision: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><!--Route pre-3.5 versions to Old Builds archive-->{{#ifexpr:{{VersionRevision|{{{1}}}|use=link}}<8553|
<includeonly>{{#ifexpr:{{VersionRevision|{{{1}}}|use=link}}<8553|[https://dl.dolphin-emu.org/oldbuilds/ {{VersionRevision|{{{1}}}|use=title}}]|{{#ifeq:{{VersionRevision|{{{1}}}|use=title}}|4.0.1|4.0.1|{{#ifeq:{{VersionRevision|{{{1}}}|use=title}}|4.0.2|4.0.2|{{#ifeq:{{VersionRevision|{{{1}}}|use=link}}|8553|[https://dolphin-emu.org/download/dev/master/3.5-0/ 3.5]|{{#ifeq:{{VersionRevision|{{{1}}}|use=link}}|11003|[https://dolphin-emu.org/download/dev/master/4.0-0/ 4.0]|[https://dolphin-emu.org/download/dev/master/{{VersionRevision|{{{1}}}|use=title}}/ {{VersionRevision|{{{1}}}|use=title}}]}}}}}}}}
  [https://dl.dolphin-emu.org/oldbuilds/ {{VersionRevision|{{{1}}}|use=title}}]|<!--Special handle release builds-->
  {{#ifeq:{{VersionRevision|{{{1}}}|use=title}}|4.0.1|
      4.0.1|
      {{#ifeq:{{VersionRevision|{{{1}}}|use=title}}|4.0.2|
        4.0.2|
        {{#ifeq:{{VersionRevision|{{{1}}}|use=link}}|8553|
            [https://dolphin-emu.org/download/dev/master/3.5-0/ 3.5]|
            {{#ifeq:{{VersionRevision|{{{1}}}|use=link}}|11003|
              [https://dolphin-emu.org/download/dev/master/4.0-0/ 4.0]|
              [https://dolphin-emu.org/download/dev/master/{{VersionRevision|{{{1}}}|use=title}}/ {{VersionRevision|{{{1}}}|use=title}}]
 
            }}
        }}
      }}
  }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 10:19, 12 January 2015

[edit] [purge] Template documentation

This will output a link for a Dolphin revision.

Usage

code result
{{Revision|1}} r1
{{Revision|2}} r2
{{Revision|3}} r3
{{Revision|4}} r4
{{Revision|4}} r5
{{Revision|2.0}} 2.0
{{Revision|5384}} 2.0
{{Revision|3.0}} 3.0
{{Revision|7615}} 3.0
{{Revision|6900}} r6900
{{Revision|3.0-50}} 3.0-50
{{Revision|3.5}} 3.5
{{Revision|3.5-100}} 3.5-100
{{Revision|4.0}} 4.0
{{Revision|4.0-6}} 4.0-6
{{Revision|4.0.1}} 4.0.1
{{Revision|4.0.2}} 4.0.2
{{Revision|4.0-100}} 4.0-100
{{Revision|4.0-305 Triforce}} Triforce/ 4.0-305 Triforce
{{Revision|5.0-rc-20}} 5.0-rc-20
{{Revision|5.0}} 5.0
{{Revision|5.0-10}} (Doesn't exist) 5.0-10
{{Revision|5.0-560}} 5.0-560
{{Revision|6.0-rc-10}} 6.0-rc-10
{{Revision|Ishiiruka-427}} Expression error: Unrecognized word "ishiiruka".
{{Revision|}} Expression error: Unexpected < operator.

Issues

  • There are gaps in released revisions, for instance the following seem to be missing (i.e. 4.0-6, 3.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