Difference between revisions of "Template:Subarch"

(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
{{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.}}
 
{{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.}}
 
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}}}
 
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}}}
 +
== Overview ==
 
{{TableStart}}
 
{{TableStart}}
 
<tr><td>CPU Family</td><td>[[{{{CPU Family}}}]]</td></tr>
 
<tr><td>CPU Family</td><td>[[{{{CPU Family}}}]]</td></tr>
Line 12: Line 13:
 
{{TableEnd}}{{#vardefine:subarch|{{{subarch|}}}}}
 
{{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}}
 
{{#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}}
+
{{#vardefine:builds|{{#external_value:builds}}}}{{#if:{{#var:builds}}|
 +
== Builds ==
 +
This section defines the stage builds currently available for download for this sub-architecture:
 +
{{TableStart}}<tr><td class="active">build</td><td class="active">variant</td><td class="active">latest build</td><td class="active">link</td></tr>
 
{{#arraymaptemplate:{{#var:builds}}|DisplayBuilds|,|}}
 
{{#arraymaptemplate:{{#var:builds}}|DisplayBuilds|,|}}
{{TableEnd}}}}
+
{{TableEnd}}|No downloadable stage builds are currently available for this sub-architecture.}}
 
[[Category:Subarches]]
 
[[Category:Subarches]]
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 +
== Description ==
 
</includeonly>
 
</includeonly>

Revision as of 09:09, December 24, 2014