Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Template:DisplayBuilds"

From Funtoo
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}}{{#vardefine:latest|{{#external_value:latest}}}}{{#ifeq:{{#var: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}}{{#vardefine:latest|{{#external_value:latest}}}}{{#ifeq:{{#var:latest}}|None||
<tr>
<tr>
<td>{{#external_value:build}}</td>
<td>{{#ifeq:{{#external_value:build}}|funtoo-current|1.2-release|{{#external_value:build}}}}</td>
<td>{{#vardefine:v|{{#external_value:variant}}}}{{#if:{{#var:v}}|{{#var:v}}|<span style="font-weight: bold;">standard</span>}}</td>
<td>{{#vardefine:v|{{#external_value:variant}}}}{{#if:{{#var:v}}|{{#var:v}}|<span style="font-weight: bold;">standard</span>}}</td>
<td>{{#var:latest}}</td>
<td>{{#var:latest}}</td>

Revision as of 23:45, November 22, 2018