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

(Difference between pages)
 
 
Line 1: Line 1:
<noinclude>
+
<includeonly>{{#widget:AddThis}}{{#if:{{{title|}}}|
This is the "Repository" template.
+
{{DISPLAYTITLE:Funtoo Linux - {{{title}}}}}
It should be called in the following format:
+
|
<pre>
+
{{DISPLAYTITLE:Funtoo Linux - {{{subarch}}}}}
{{Repository
+
}}This page describes a CPU-optimized build of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{{subarch}}}}} [[{{{CPU Family}}}]]. {{{Description|}}}
|Repository Type=
+
{{#seo:
|Organization=
+
|title={{#if:{{{title|}}}|Funtoo Linux for {{{title}}}|Funtoo Linux - {{{subarch}}}}}
|Homepage=
+
|keywords=funtoo,linux,build,subarch,{{{subarch}}},{{{title}}}
|Source URI=
+
|description=his page describes a CPU-optimized build of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{{subarch}}}}} [[{{{CPU Family}}}]].
 
}}
 
}}
</pre>
+
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}|title={{{title|}}}}}
Edit the page to see the template text.
+
== Optimizations ==
</noinclude><includeonly><div style="float: right; width: 30%; padding: 1em; margin-right: 1em; margin-bottom: 1em; border-radius: 10px; border: 1px solid #ddd; background-color: #efefef;" id="eb_infobox">
+
__NOTOC__
<b><tt>[[CatPkg::{{{CatPkg|}}}]]</tt></b>
+
{{table|1=
<hr>
+
<tr><td>CHOST</td><td><code>{{{CHOST|}}}</code></td></tr>
<table border="0" width="100%">
+
<tr><td>CFLAGS</td><td><code>{{{CFLAGS|}}}</code></td></tr>
<tr><td><i>Repository Type:</i></td><td>[[Repository Type::{{{Repository Type|}}}]]</td></tr>
+
<tr><td>USE</td><td>{{#if:{{{USE|}}}|<code>{{{USE}}}</code>|(none)}}</td></tr>
<tr><td><i>Organization:</i></td><td>[[Organization::Organization:{{{Organization|}}}|{{{Organization|}}}]]</td></tr>
+
}}
<tr><td><i>Homepage:</i></td><td>[[Homepage::{{{Homepage|}}}]]</td></tr>
+
{{#vardefine:subarch|{{{subarch|}}}}}
<tr><td><i>Source URI:</i></td><td>[[Source URI::{{{Source URI|}}}]]</td></tr>
+
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=builds=/subarches/subarch[@name='{{{subarch|}}}']/@builds}}
</table>
+
{{#vardefine:builds|{{#external_value:builds}}}}{{#if:{{#var:builds}}|
</div>
+
== Download ==
= {{PAGENAME}} =
+
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.
 +
{{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]]
 +
__NOEDITSECTION__
 +
== Description ==
 
</includeonly>
 
</includeonly>

Revision as of 07:24, January 6, 2015