Difference between revisions of "Template:Version²"

From Industrial-Craft-Wiki
Jump to: navigation, search
m (Not the best of starts)
(Added other Jenkins branches)
Line 5: Line 5:
 
url=http://jenkins.ic2.player.to/job/IC2_18/api/xml?wrapper=changes&exclude=//description&exclude=//displayname&exclude=//name&exclude=//action&exclude=//artifact&exclude=//building&exclude=//duration&exclude=//estimatedDuration&exclude=//fullDisplayName&exclude=//id&exclude=//keepLog&exclude=//result&exclude=//timestamp&exclude=//builtOn&exclude=//changeSet//item//affectedPath&exclude=//changeSet//item//commitId&exclude=//changeSet//item//author//absoluteUrl&exclude=//changeSet//item//msg&exclude=//changeSet//item//date&exclude=//changeSet//item//path&exclude=//culprit&exclude=//changeSet//kind&exclude=//url
 
url=http://jenkins.ic2.player.to/job/IC2_18/api/xml?wrapper=changes&exclude=//description&exclude=//displayname&exclude=//name&exclude=//action&exclude=//artifact&exclude=//building&exclude=//duration&exclude=//estimatedDuration&exclude=//fullDisplayName&exclude=//id&exclude=//keepLog&exclude=//result&exclude=//timestamp&exclude=//builtOn&exclude=//changeSet//item//affectedPath&exclude=//changeSet//item//commitId&exclude=//changeSet//item//author//absoluteUrl&exclude=//changeSet//item//msg&exclude=//changeSet//item//date&exclude=//changeSet//item//path&exclude=//culprit&exclude=//changeSet//kind&exclude=//url
 
|format=XML
 
|format=XML
|data=newversion=number}}{{#switch:{{{1|}}}
+
|data=18version=number}}{{#get_web_data:
   |new=2.3.{{#iferror:{{#external_value:newversion}}|181|{{#external_value:newversion}}}}
+
url=http://jenkins.ic2.player.to/job/IC2_19/api/xml?wrapper=changes&exclude=//description&exclude=//displayname&exclude=//name&exclude=//action&exclude=//artifact&exclude=//building&exclude=//duration&exclude=//estimatedDuration&exclude=//fullDisplayName&exclude=//id&exclude=//keepLog&exclude=//result&exclude=//timestamp&exclude=//builtOn&exclude=//changeSet//item//affectedPath&exclude=//changeSet//item//commitId&exclude=//changeSet//item//author//absoluteUrl&exclude=//changeSet//item//msg&exclude=//changeSet//item//date&exclude=//changeSet//item//path&exclude=//culprit&exclude=//changeSet//kind&exclude=//url
   |old=2.2.{{#iferror:{{#external_value:version}}|819|{{#external_value:version}}}}
+
|format=XML
   |#default={{#iferror:{{#external_value:newversion}}|''V2.3.181''|'''V2.3.{{#external_value:newversion}}'''}}
+
|data=19version=number}}{{#get_web_data:
 +
url=http://jenkins.ic2.player.to/job/IC2_110/api/xml?wrapper=changes&exclude=//description&exclude=//displayname&exclude=//name&exclude=//action&exclude=//artifact&exclude=//building&exclude=//duration&exclude=//estimatedDuration&exclude=//fullDisplayName&exclude=//id&exclude=//keepLog&exclude=//result&exclude=//timestamp&exclude=//builtOn&exclude=//changeSet//item//affectedPath&exclude=//changeSet//item//commitId&exclude=//changeSet//item//author//absoluteUrl&exclude=//changeSet//item//msg&exclude=//changeSet//item//date&exclude=//changeSet//item//path&exclude=//culprit&exclude=//changeSet//kind&exclude=//url
 +
|format=XML
 +
|data=latestversion=number}}{{#switch:{{{1|}}}
 +
   |110=2.6.{{#iferror:{{#external_value:latestversion}}|59|{{#external_value:latestversion}}}}
 +
  |19=2.5.{{#iferror:{{#external_value:19version}}|59|{{#external_value:19version}}}}
 +
  |new=[[Category:Pages using Version²'s new]]2.3.{{#iferror:{{#external_value:18version}}|262|{{#external_value:18version}}}}
 +
  |18=2.3.{{#iferror:{{#external_value:18version}}|262|{{#external_value:18version}}}}
 +
  |17
 +
   |old=2.2.{{#iferror:{{#external_value:version}}|822|{{#external_value:version}}}}
 +
   |#default={{#iferror:{{#external_value:latestversion}}|''V2.6.59''|'''V2.6.{{#external_value:latestversion}}'''}}
 
}}<noinclude><br/>'''THIS IS THE IC² VERSION! FOR THE IC1 VERSION SEE {{Tl|Version}}.'''</noinclude>
 
}}<noinclude><br/>'''THIS IS THE IC² VERSION! FOR THE IC1 VERSION SEE {{Tl|Version}}.'''</noinclude>

Revision as of 15:30, 13 July 2016

V2.6.259
THIS IS THE IC² VERSION! FOR THE IC1 VERSION SEE {{Version}}.