Difference between pages "Template:NewsDisplay" and "Template:DisplayBuilds"

(Difference between pages)
 
 
Line 1: Line 1:
<includeonly>{{#widget:NewsDisplay|user={{#sub:{{{5|}}}|5}}|{{#if:{{{7|}}}|icon_url={{filepath:{{#sub:{{{7}}}|5}}|64}}|icon_url=http://www.gravatar.com/avatar/{{{6|}}}/?s=64&d=retro&r=g}}|article_url={{fullurl:{{{1}}}}}|title={{#sub:{{{1}}}|5}}|body={{{4|}}}|date={{{2}}}|format={{{8}}}}}</includeonly>
+
<includeonly>
 +
{{#get_web_data:url=http://build.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,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}}
 +
<tr>
 +
<td>{{#external_value:build}}</td>
 +
<td>{{#vardefine:v|{{#external_value:variant}}}}{{#if:{{#var:v}}|{{#var:v}}|<span style="color: #888;">standard</span>}}</td>
 +
<td>{{#external_value:latest}}</td>
 +
<td>*'''[http://ftp.osuosl.org/pub/funtoo{{#external_value:download}} osuosl.org]'''
 +
* '''[http://build.funtoo.org{{#external_value:download}} funtoo.org]'''</td>
 +
<td>* [http://ftp.osuosl.org/pub/funtoo{{#external_value:path}} osuosl.org]
 +
* [http://build.funtoo.org{{#external_value:path}} funtoo.org]</td>
 +
</tr>
 +
</includeonly>

Revision as of 04:21, January 15, 2015