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

(Difference between pages)
 
 
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
= {{{subarch}}} (Sub-architecture) =
+
{{#get_web_data:url=http://build.funtoo.org|format=xml|use xpath|data=build=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@build}}
__NOTITLE__
+
<tr><td>{{#external_value:build}}</td>
{{Note|This page describes a sub-architecture for Funtoo Linux, which is a particular set of optimizations that is used for a Funtoo Linux build.}}
+
</tr>
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}}}
+
{{TableStart}}
+
<tr><td>CPU Family</td><td>[[{{{CPU Family}}}]]</td></tr>
+
<tr><td>CHOST</td><td><code>{{{CHOST|}}}</code></td></tr>
+
<tr><td>CFLAGS</td><td><code>{{{CFLAGS|}}}</code></td></tr>
+
<tr><td>USE</td><td>{{#if:{{{USE|}}}|<code>{{{USE}}}</code>|(none)}}</td></tr>
+
<tr><td>Summary</td><td>{{{Description|}}}</td></tr>
+
{{TableEnd}}{{#vardefine:subarch|{{{subarch|}}}}}
+
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=builds=/subarches/subarch[@name='{{{subarch|}}}']/@builds}}
+
{{TableStart}}
+
{{#arraymaptemplate:{{#external_value:builds}}|DisplayBuilds|,|}}
+
{{TableEnd}}
+
[[Category:Subarches]]
+
__NOEDITSECTION__
+
 
</includeonly>
 
</includeonly>

Revision as of 08:46, December 24, 2014