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

(Difference between pages)
 
 
Line 1: Line 1:
<includeonly>
+
<includeonly><div style="margin-bottom: 0.3em; padding: 3px; border: none;"><tt>{{#if:{{{name|}}}|'''{{{name|}}}'''}}</tt><span style="font-size: 0.8em"><span style="color: #888;">{{#if:{{{lang|}}}|({{{lang}}} source code)}}</span></span>{{#tag:{{#if:{{{lang|}}}|syntaxhighlight|pre}}|
= {{{subarch}}} (Sub-architecture) =
+
{{{body}}}
__NOTITLE__
+
|lang={{{lang}}}}}
{{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.}}
+
{{#if:{{{desc|}}}|{{{desc}}}}}</div></includeonly>
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}}}
+
== Overview ==
+
{{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}}
+
{{#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|,|}}
+
{{TableEnd}}|No downloadable stage builds are currently available for this sub-architecture.}}
+
[[Category:Subarches]]
+
__NOEDITSECTION__
+
== Description ==
+
</includeonly>
+

Revision as of 04:09, January 2, 2015