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

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
<noinclude>
<includeonly>
This is the "FLOP" template.
= {{{subarch}}} (Sub-architecture) =
It should be called in the following format:
__NOTITLE__
<pre>
{{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.}}
{{FLOP
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}}}
|Created on=
{{TableStart}}
|Summary=
<tr><td>CPU Family</td><td>[[{{{CPU Family}}}]]</td></tr>
|Author=
<tr><td>CHOST</td><td><code>{{{CHOST|}}}</code></td></tr>
|Maintainer=
<tr><td>CFLAGS</td><td><code>{{{CFLAGS|}}}</code></td></tr>
|Organization=
<tr><td>USE</td><td>{{#if:{{{USE|}}}|<code>{{{USE}}}</code>|(none)}}</td></tr>
|Source URI=
<tr><td>Summary</td><td>{{{Description|}}}</td></tr>
|Reference Bug=
{{TableEnd}}{{#vardefine:subarch:{{{subarch|}}}}}
|FLOP Status=
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=builds=/subarches/subarch[@name='{{{subarch}}}']}}
}}
{{#arraymaptemplate:{{#external_value:builds}}|DisplayBuilds|,|}}
</pre>
[[Category:Subarches]]
Edit the page to see the template text.
__NOEDITSECTION__
</noinclude><includeonly>
</includeonly>
[[Category:FLOP|{{PAGENAME}}]] __NOEDITSECTION__ __NOTOC__ __NOTITLE__<div id="zplogo">[[File:flop.png|frameless]]</div><div class="flop_summary" id="flop_info">{{#if: {{{Created on|}}}|
;Created on: [[Created on::{{{Created on|}}}]]}}{{#if: {{{Author|}}} |;Original Author(s): {{#arraymaptemplate:{{{Author|}}}|AuthorDisplay|,|,}}|}}{{#if: {{{Maintainer|}}} |;Current Maintainer(s): {{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|,}} |}}{{#if: {{{Organization|}}} |
;Organization: [[Organization::{{{Organization|}}}]] |}}{{#if: {{{Source URI|}}}|
;Git sources (for cloning): [{{{Source URI}}} Link]{{#set:Source URI={{{Source URI}}}}} }}
;Status: [[FLOP Status::{{{FLOP Status|}}}]]{{#if:{{{Reference Bug|}}}|
;Reference Bug: [https://bugs.funtoo.org/browse/{{{Reference Bug|}}} [[Reference Bug::{{{Reference Bug|}}}]]]]}}
</div>
= Funtoo Linux Optimization Proposal: {{PAGENAME}} =
<div class="flop_subtitle">[[Summary::{{{Summary|}}}]]</div></includeonly>

Revision as of 08:26, December 24, 2014