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

(Difference between pages)
 
 
Line 1: Line 1:
 
<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}}
+
= {{{subarch}}} (Sub-architecture) =
<tr><td>{{#external_value:build}}</td>
+
__NOTITLE__
<tr><td>{{#external_value:variant}}</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><td>{{#external_value:latest}}</td>
+
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}}}
<tr><td>[http://build.funtoo.org{{#external_value:path}} Download]</td>
+
{{TableStart}}
</tr>
+
<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}}
 +
{{#vardefine:builds|{{#external_value:builds}}}}{{#if:{{#var:builds}}|{{TableStart}}
 +
{{#arraymaptemplate:{{#var:builds}}|DisplayBuilds|,|}}
 +
{{TableEnd}}}}
 +
[[Category:Subarches]]
 +
__NOEDITSECTION__
 
</includeonly>
 
</includeonly>

Revision as of 09:01, December 24, 2014