Difference between revisions of "Template:Subarch"

 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#widget:AddThis}}{{#if:{{{title|}}}|
 
<includeonly>{{#widget:AddThis}}{{#if:{{{title|}}}|
{{DISPLAYTITLE:Funtoo Linux - {{{title}}}}}
+
{{DISPLAYTITLE:Download - {{{title}}}}}
 
|
 
|
{{DISPLAYTITLE:Funtoo Linux - {{{subarch}}}}}
+
{{DISPLAYTITLE:Download - {{{subarch}}}}}
}}This page describes a CPU-optimized build of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{{subarch}}}}} [[{{{CPU Family}}}]]. {{{Description|}}}
+
}}'''This page lists CPU-optimized builds of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{{subarch}}}}} [[{{{CPU Family}}}]].'''
 +
 
 +
{{{Description|}}}
 
{{#seo:
 
{{#seo:
|title={{#if:{{{title|}}}|Funtoo Linux for {{{title}}}|Funtoo Linux - {{{subarch}}}}}
+
|title={{#if:{{{title|}}}|Download - {{{title}}}|Download - {{{subarch}}}}}
 
|keywords=funtoo,linux,build,subarch,{{{subarch}}},{{{title}}}
 
|keywords=funtoo,linux,build,subarch,{{{subarch}}},{{{title}}}
|description=his page describes a CPU-optimized build of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{{subarch}}}}} [[{{{CPU Family}}}]].  
+
|description=This page lists CPU-optimized builds of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{{subarch}}}}} [[{{{CPU Family}}}]].
 
}}
 
}}
 
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}|title={{{title|}}}}}
 
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}|title={{{title|}}}}}
== Optimizations ==
+
=== Optimizations ===
 
__NOTOC__
 
__NOTOC__
{{table|1=
+
{{TableStart}}
 
<tr><td>CHOST</td><td><code>{{{CHOST|}}}</code></td></tr>
 
<tr><td>CHOST</td><td><code>{{{CHOST|}}}</code></td></tr>
 
<tr><td>CFLAGS</td><td><code>{{{CFLAGS|}}}</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>USE (see [[CPU_FLAGS]] for more info)</td><td>{{#if:{{{USE|}}}|<code>{{{USE}}}</code>|(none)}}</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}}}}
{{#vardefine:subarch|{{{subarch|}}}}}
+
=== Download ===
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=builds=/subarches/subarch[@name='{{{subarch|}}}']/@builds}}
+
{{#if:{{#var:builds}}|This section lists the Funtoo Linux builds currently available for download for '''{{{subarch}}}'''.  A full list of Funtoo Linux builds can be found on the [[Subarches]] page.
{{#vardefine:builds|{{#external_value:builds}}}}{{#if:{{#var:builds}}|
+
{{table|1=
== Download ==
+
<tr><th class="active">Build</th><th class="active">Variant</th><th class="active">Latest Build</th><th class="active">Download</th><th class="active">Browse Mirror</th></tr>{{#arraymaptemplate:{{#var:builds}}|DisplayBuilds|,|}}}}|No downloadable stage builds are currently available for this sub-architecture.}}
This section lists the Funtoo Linux builds currently available for download for '''{{{subarch}}}'''.  A full list of Funtoo Linux builds can be found on the [[Subarches]] page.
+
{{Important|Do you want a particular build of Funtoo Linux but do not see it here? Let us know what you need, and we will likely add it for you. [https://bugs.funtoo.org Create a bug report] requesting the build you need. To see what options there are, see our [[Corei7|Intel Core i7]] subarch page, which has a lot of builds listed.}}
{{TableStart}}<tr><td class="active">build</td><td class="active">variant</td><td class="active">latest build</td><td class="active">Download</td><td class="active">Browse Mirror</td></tr>
+
{{#arraymaptemplate:{{#var:builds}}|DisplayBuilds|,|}}
+
{{TableEnd}}|No downloadable stage builds are currently available for this sub-architecture.}}
+
 
[[Category:Subarches]]
 
[[Category:Subarches]]
 
__NOEDITSECTION__
 
__NOEDITSECTION__
== Description ==
+
=== Detailed Description ===
 
</includeonly>
 
</includeonly>

Latest revision as of 00:03, March 29, 2015