注意:
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
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:url|https://build.funtoo.org/{{#var:release}}/{{#var:arch}}/{{#var:subarch}}/index.xml | <includeonly>{{#vardefine:url|https://build.funtoo.org/{{#var:release}}/{{#var:arch}}/{{#var:subarch}}/index.xml}}{{#get_web_data:url=https://build.funtoo.org/{{#var:release}}/{{#var:arch}}/{{#var:subarch}}/index.xml|format=xml|use xpath|data=variant=/subarch/build[@id='{{{1}}}']/@variant,size=/subarch/build[@id='{{{1}}}']/@size,latest=/subarch/build[@id='{{{1}}}']/@latest,path=/subarch/build[@id='{{{1}}}']/@path,download=/subarch/build[@id='{{{1}}}']/@download}}{{Download|kind={{#external_value:variant}}|title='''{{#external_value:variant}}'''|body='''[https://build.funtoo.org{{#external_value:download}} Download]'''<br/> | ||
Date: '''{{#external_value:latest}}'''<br/>Size: '''{{#external_value:size}}''' [https://build.funtoo.org{{#external_value:path}}/ browse]}}{{#clear_external_data:}}</includeonly> | Date: '''{{#external_value:latest}}'''<br/>Size: '''{{#external_value:size}}''' [https://build.funtoo.org{{#external_value:path}}/ browse]}}{{#ifeq:{{#external_value:variant}}|gnome|{{#vardefine:has_gnome|yes}}}}{{#clear_external_data:}}</includeonly> |