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

(Difference between pages)
 
 
Line 1: Line 1:
<noinclude>
+
<includeonly>
This is the 'Subarch' form.
+
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}}}
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.
+
 
+
{{#forminput:Subarch}}
+
 
+
</noinclude><includeonly>
+
 
+
__NOTITLE__
+
 
+
{{{for template|Subarch}}}
+
 
+
 
{{TableStart}}
 
{{TableStart}}
<tr><td>family</td><td>{{{field|family|mandatory|values from category=CPU Family|existing values only}}}</td></tr>
+
<tr><td>CPU Family</td><td><code>{{{CPU Family}}}</code></td></tr>
<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</td><td><code>{{{USE|}}}</code></td></tr>
<tr><td>USE</td><td>{{{field|USE|list}}}</td></tr>
+
<tr><td>CPU Features</td><td>{{{field|property=CPU Features|input type=checkboxes|values=low-power}}}</td></tr>
+
<tr><td>Description</td><td>{{{field|Description|input type=textarea}}}</td></tr>
+
 
{{TableEnd}}
 
{{TableEnd}}
 
+
[[Category:Subarches]]
{{{end template}}}
+
 
+
{{{standard input|free text|rows=20}}}
+
 
+
{{{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 07:02, December 20, 2014