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

From Funtoo
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
__NOTOC__
+
This is the "Ebuild" template.
 
+
It should be called in the following format:
== Add a New Ebuild ==
+
<pre>
 
+
{{Ebuild
{{#forminput:form=Ebuild|query string=namespace=Package}}
+
|Summary=
 +
|CatPkg=
 +
|Maintainer=
 +
|Repository=
 +
}}
 +
</pre>
 +
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{{for template|Ebuild}}}
+
[[Category:Ebuilds|{{PAGENAME}}]] __NOEDITSECTION__ __NOTOC__ __NOTITLE__<div id="eblogo">[[File:ebuild.png|link=|frameless]]</div><div class="ebuild_summary" id="ebuild_info">{{#if: {{{Maintainer|}}} |;Current Maintainer(s): {{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|,}} |}}{{#if: {{{Organization|}}} |
{| class="formtable"
+
;From Repository: [[Repository::Repository:{{{Repository}}}|{{{Repository}}}]]::[[CatPkg::{{{CatPkg|}}}]]
! Summary of Ebuild:
+
</div>
| {{{field|Summary|}}}{{#info:Specify a short summary of the Ebuild here. One or two sentences max.}}
+
= {{PAGENAME}} =
|-
+
<div class="ebuild_subtitle">[[Summary::{{{Summary|}}}]]</div></includeonly>
! Ebuild CatPkg:
+
| {{{field|CatPkg}}}{{#info:Ebuild name in cat/pkg format -- where this ebuild can be found in its repository}}
+
|-
+
! Maintainer(s):  
+
| {{{field|Maintainer|autocomplete on namespace=User|list|size=100}}} (specify original author(s) - use wiki usernames. Will auto-complete.)
+
|-
+
! Primary Source Repository:
+
| {{{field|Repository|autocomplete on namespace=Repository}}} The repository that holds this ebuild.
+
|-
+
|}
+
{{{end template}}}
+
 
+
 
+
== Documentation ==
+
 
+
Enter documentation or extended information for the ebuild below.  If you need to add more complex wikitext, use the "Edit" button after saving this page, and enter your wiki text at the bottom. This allows you to provide rich documentation content for your Ebuild.
+
 
+
{{{standard input|free text|rows=30}}}
+
 
+
{{{for template|EbuildFooter}}}
+
{{{end template}}}
+
 
+
{{{standard input|summary}}}
+
 
+
{{{standard input|minor edit}}} {{{standard input|watch}}}
+
 
+
 
+
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
+

Revision as of 05:19, 25 March 2014

This is the "Ebuild" template. It should be called in the following format:

{{Ebuild
|Summary=
|CatPkg=
|Maintainer=
|Repository=
}}

Edit the page to see the template text.