Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Template:DisplayBuilds"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
{{#get_web_data:url=https://upload.funtoo.org/index.xml|format=xml|use xpath|data=build=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@build,variant=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@variant,openvz=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@openvz,latest=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@latest,path=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@path,download=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@download}}{{#ifeq:{{#external_value:latest}}|None|| | {{#get_web_data:url=https://upload.funtoo.org/index.xml|format=xml|use xpath|data=build=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@build,variant=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@variant,openvz=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@openvz,latest=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@latest,path=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@path,download=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@download}}{{#ifeq:{{#external_value:latest}}|None|| | ||
<tr> | <tr> | ||
<td>{{#switch:{{#external_value:build}}|funtoo-current=1.2-release-std||1.3-release-std=1.3-release-std | <td>{{#switch:{{#external_value:build}}|funtoo-current=1.2-release-std||1.3-release-std=1.3-release-std|{{#external_value:build}}}}</td> | ||
<td>{{#switch:{{#external_value:variant}}|=<span style="font-weight: bold;">compatible</span>|{{#external_value:variant}}}}</td> | <td>{{#switch:{{#external_value:variant}}|=<span style="font-weight: bold;">compatible</span>|{{#external_value:variant}}}}</td> | ||
<td>{{#external_value:latest}}</td> | <td>{{#external_value:latest}}</td> |