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

(Difference between pages)
 
 
Line 1: Line 1:
<noinclude>
+
<includeonly>{{#widget:AddThis}}{{#if:{{{title|}}}|
This is the "Ebuild" template.
+
{{DISPLAYTITLE:Funtoo Linux - {{{title}}}}}
It should be called in the following format:
+
|
<pre>
+
{{DISPLAYTITLE:Funtoo Linux - {{{subarch}}}}}
{{Ebuild
+
}}This page describes a CPU-optimized build of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{{subarch}}}}} [[{{{CPU Family}}}]]. {{{Description|}}}
|Summary=
+
{{#seo:
|CatPkg=
+
|title={{#if:{{{title|}}}|Funtoo Linux for {{{title}}}|Funtoo Linux - {{{subarch}}}}}
|Maintainer=
+
|keywords=funtoo,linux,build,subarch,{{{subarch}}},{{{title}}}
|Repository=
+
|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__
[[File:ebuild.png|link=|frameless]]
+
{{table|1=
<hr>
+
<tr><td>CHOST</td><td><code>{{{CHOST|}}}</code></td></tr>
<b><tt>[[CatPkg::{{{CatPkg|}}}]]</tt></b>
+
<tr><td>CFLAGS</td><td><code>{{{CFLAGS|}}}</code></td></tr>
<hr>
+
<tr><td>USE</td><td>{{#if:{{{USE|}}}|<code>{{{USE}}}</code>|(none)}}</td></tr>
<table border="0" width="100%">
+
}}
{{#if: {{{Maintainer|}}} |<tr><td><i>Current Maintainer(s):</i></td><td>{{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|,}}</td></tr> |}}{{#if: {{{Repository|}}}|<tr><td><i>Source Repository:</i></td><td>[[Repository::Repository:{{{Repository}}}|{{{Repository}}}]] </td></tr>|}}</table><hr>
+
{{#vardefine:subarch|{{{subarch|}}}}}
<b>Summary:</b> [[Summary::{{{Summary|}}}]]
+
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=builds=/subarches/subarch[@name='{{{subarch|}}}']/@builds}}
</div><div id="ebuild_header"><div id="ebuild_title">
+
{{#vardefine:builds|{{#external_value:builds}}}}{{#if:{{#var:builds}}|
= {{PAGENAME}} =
+
== Download ==
</div>
+
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