Template:Testing/entry: Difference between revisions
Jump to navigation
Jump to search
(This should do the trick) |
(Disable link if there's a branch name. Didn't touch in category handling code, IDK what should we do with categories in these cases...) |
||
Line 1: | Line 1: | ||
<includeonly>|style="white-space:nowrap"|{{ | <includeonly>|style="white-space:nowrap"|{{#if:{{{branch|}}}|{{VersionRevision|{{{revision}}}|use=title}} [{{{branch}}}]|{{revision|{{{revision}}}}}}}{{#if:{{{revision|}}}|{{#if:{{#regex:{{{revision|}}}|/(2\.0{{!}}3\.0{{!}}4\.0\.1{{!}}4\.0\.2{{!}}4\.0)/}}|[[Category:Tested On (Release):{{#regex:{{{revision|}}}|/(2\.0{{!}}3\.0{{!}}4\.0\.1{{!}}4\.0\.2{{!}}4\.0)/}}]]}}|[[Category:Testing Templates missing details]][[Category:Testing Templates missing revision details]]}} | ||
|style="white-space:nowrap"|{{{OS}}}{{#if:{{{OS|}}}|[[Category:Tested On (OS):{{#regex:{{{OS|}}}|/(Linux{{!}}Linux{{!}}Mac OS X{{!}}Windows{{!}}Android)/}}]]{{#if:{{#regex:{{#regex:{{#regex:{{{OS}}}|/Mac OS.*/|x64}}|/x86_64/|x64}}|/(x86{{!}}x64)/}}|[[Category:Tested On (CPU Arch):{{#regex:{{#regex:{{#regex:{{{OS}}}|/Mac OS.*/|x64}}|/x86_64/|x64/|/A32/|A64}}|/(x86{{!}}x64)/}}]]}}|[[Category:Testing Templates missing details]][[Category:Testing Templates missing OS details]]}} | |style="white-space:nowrap"|{{{OS}}}{{#if:{{{OS|}}}|[[Category:Tested On (OS):{{#regex:{{{OS|}}}|/(Linux{{!}}Linux{{!}}Mac OS X{{!}}Windows{{!}}Android)/}}]]{{#if:{{#regex:{{#regex:{{#regex:{{{OS}}}|/Mac OS.*/|x64}}|/x86_64/|x64}}|/(x86{{!}}x64)/}}|[[Category:Tested On (CPU Arch):{{#regex:{{#regex:{{#regex:{{{OS}}}|/Mac OS.*/|x64}}|/x86_64/|x64/|/A32/|A64}}|/(x86{{!}}x64)/}}]]}}|[[Category:Testing Templates missing details]][[Category:Testing Templates missing OS details]]}} | ||
|style="white-space:nowrap"|{{{CPU}}}{{#if:{{{CPU|}}}|{{#if:{{#regex:{{{CPU|}}}|/(AMD{{!}}Intel{{!}}ARM)/}}|[[Category:Tested On (CPU):{{#regex:{{{CPU|}}}|/(AMD{{!}}Intel{{!}}ARM)/}}]]}}|[[Category:Testing Templates missing details]][[Category:Testing Templates missing CPU details]]}} | |style="white-space:nowrap"|{{{CPU}}}{{#if:{{{CPU|}}}|{{#if:{{#regex:{{{CPU|}}}|/(AMD{{!}}Intel{{!}}ARM)/}}|[[Category:Tested On (CPU):{{#regex:{{{CPU|}}}|/(AMD{{!}}Intel{{!}}ARM)/}}]]}}|[[Category:Testing Templates missing details]][[Category:Testing Templates missing CPU details]]}} |
Revision as of 06:29, 30 March 2015
[edit] [ ] Template documentation
The above documentation is transcluded from Template:Testing/entry/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |