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

(Difference between pages)
 
 
Line 1: Line 1:
<noinclude>
+
<includeonly>{{#widget:AddThis}}{{#if:{{{title|}}}|
This is the 'Subarch' form.
+
{{DISPLAYTITLE:Download - {{{title}}}}}
To add a page with this form, enter the page name below;
+
|
if a page with that name already exists, you will be sent to a form to edit that page.
+
{{DISPLAYTITLE:Download - {{{subarch}}}}}
 
+
}}'''This page lists CPU-optimized builds of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{{subarch}}}}} [[{{{CPU Family}}}]].'''
{{#forminput:Subarch}}
+
 
+
</noinclude><includeonly>
+
 
+
__NOTITLE__
+
 
+
{{{for template|Subarch}}}
+
  
 +
{{{Description|}}}
 +
{{#seo:
 +
|title={{#if:{{{title|}}}|Download - {{{title}}}|Download - {{{subarch}}}}}
 +
|keywords=funtoo,linux,build,subarch,{{{subarch}}},{{{title}}}
 +
|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|}}}}}
 +
=== Optimizations ===
 +
__NOTOC__
 
{{TableStart}}
 
{{TableStart}}
<tr><td>subarch</td><td>{{{field|subarch|mandatory}}}</td></tr>
+
<tr><td>CHOST</td><td><code>{{{CHOST|}}}</code></td></tr>
<tr><td>CHOST</td><td>{{{field|CHOST|mandatory}}}</td></tr>
+
<tr><td>CFLAGS</td><td><code>{{{CFLAGS|}}}</code></td></tr>
<tr><td>CFLAGS</td><td>{{{field|CFLAGS|mandatory}}}</td></tr>
+
<tr><td>USE (see [[CPU_FLAGS]] for more info)</td><td>{{#if:{{{USE|}}}|<code>{{{USE}}}</code>|(none)}}</td></tr>
<tr><td>USE</td><td>{{{field|USE|list}}}</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}}}}
<tr><td>CPU Features</td><td>{{{field|property=CPU Features|input type=checkboxes|default=low-power}}}</td></tr>
+
=== Download ===
<tr><td>Description</td><td>{{{field|Description|input type=textarea}}}</td></tr>
+
{{#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.
{{TableEnd}}
+
{{table|1=
 
+
<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.}}
{{{end template}}}
+
{{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.}}
 
+
[[Category:Subarches]]
{{{standard input|free text|rows=20}}}
+
__NOEDITSECTION__
 
+
=== Detailed Description ===
{{{standard input|summary}}}
+
 
+
{{{standard input|minor edit}}} {{{standard input|watch}}}
+
 
+
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
+
 
</includeonly>
 
</includeonly>

Revision as of 00:03, March 29, 2015