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

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Repository" template.
__NOTOC__
It should be called in the following format:
 
<pre>
== Add a New Repository ==
{{Repository
 
|Repository ID=
{{#forminput:form=Repository|query string=namespace=Repository}}
|Repository Type=
</noinclude><includeonly>
|Maintainer=
{{{for template|Repository}}}
|Organization=
{| class="formtable"
|Homepage=
|-
|Source URI=
! Repository ID:
}}
| {{{field|Repository ID|input type=text}}}{{#info:The name of the repository used in Funtoo's merge scripts.}}
</pre>
|-
Edit the page to see the template text.
! Repository Type:
</noinclude><includeonly><div style="float: right; width: 30%; padding: 1em; margin-left: 1em; margin-bottom: 1em; border-radius: 10px; border: 1px solid #ddd; background-color: #efefef;" id="ov_infobox">
| {{{field|Repository Type|property=Repository Type|input type=dropdown}}}
<table border="0" width="100%">
|-
<tr><td><i>Repository Type:</i></td><td>[[Repository Type::{{{Repository Type|}}}]]</td></tr>
! Maintainer(s):  
<tr><td><i>Repository ID:</i></td><td>[[Repository ID::{{{Repository ID|}}}]]</td></tr>
| {{{field|Maintainer|autocomplete on namespace=User|list|size=100}}}{{#info:If this repository has a single maintainer, or a small team, specify them here.}}
{{#if: {{{Maintainer|}}} |<tr><td><i>Current Maintainer(s):</i></td><td>{{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|,}}</td></tr> |}}
|-
<tr><td><i>Organization:</i></td><td>[[Organization::Organization:{{{Organization|}}}|{{{Organization|}}}]]</td></tr>
! Organization:
<tr><td><i>Links:</i></td><td>[[Homepage::{{{Homepage|}}}|Home Page]]</td></tr>
| {{{field|Organization|property=Organization|autocomplete on namespace=Organization}}} {{#info:Specify the organization, if any, that manages this repository. Note that you can create your own Organization on this wiki -- add it to the Organizations namespace.}}
{{#if:{{{Source URI|}}}|<tr><td></td><td>[[Source URI::{{{Source URI|}}}|Source Repository URL]]</td></tr>|}}
|-
</table>
! Homepage:
</div>
| {{{field|Homepage|property=Homepage|input type=text}}} {{#info:Specify a URL where you can get more information.}}
= {{PAGENAME}} =
|-
</includeonly>
! Source URI:
| {{{field|Source URI|property=Source URI|input type=text}}} Paste the "git read-only" GitHub link for your repo (that someone would use to clone)
|}
{{{end template}}}
 
 
== Documentation ==
 
Enter documentation or extended information for the repository 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 the repository.
 
{{{standard input|free text|rows=30}}}
 
{{{for template|RepositoryFooter}}}
{{{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 00:31, June 25, 2014


Add a New Repository