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

(Difference between pages)
m
 
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Ebuild" template.
+
__NOTOC__
It should be called in the following format:
+
 
<pre>
+
== Add a New Organization ==
{{Ebuild
+
 
|Summary=
+
{{#forminput:form=Organization|query string=namespace=Organization}}
|CatPkg=
+
</noinclude><includeonly>
|Maintainer=
+
{{{for template|Organization}}}
|Homepage=
+
{{TableStart}}
}}
+
<tr><th class="active">Homepage</th><td> {{{field|Homepage|property=Homepage|input type=text|placeholder=Specify your organization's Web site URL.}}} </td></tr>
</pre>
+
<tr><th class="active">Summary</th><td> {{{field|Summary|property=Summary|input type=textarea|placeholder=Summary of your organization.}}} </td></tr>
Edit the page to see the template text.
+
<tr><th class="active">Funtoo-related Services</th><td> {{{field|Funtoo services|property=Funtoo services|input type=textarea|placeholder=What Funtoo-related services do you offer?}}} </td></tr>
</noinclude><includeonly>__NOTOC__<div style="float: right; clear: both; width: 30%; padding: 1em; margin-left: 1em; margin-bottom: 1em; border-radius: 10px; border: 1px solid #ddd; background-color: #efefef;" id="eb_infobox">
+
<tr><th class="active">Services</th><td> {{{field|Services|property=Services|input type=textarea|placeholder=What is a general summary of your full service offerings?}}} </td></tr>
<b><font size=5><code>[[CatPkg::{{{CatPkg|}}}]]</code></font></b>
+
{{TableEnd}}
<hr>{{#vardefine:cat|{{#explode:{{{CatPkg}}}|/|0}}}}{{#vardefine:pkg|{{#explode:{{{CatPkg}}}|/|1}}}}{{#get_web_data:url=http://ports.funtoo.org/packages.xml|format=xml|use xpath|data=repo_id=/packages/category[@name='{{#var:cat}}']/package[@name='{{#var:pkg}}']/@repository}}{{#vardefine:repoid|{{#if:{{#external_value:repo_id}}|{{#external_value:repo_id}}|gentoo}}}}{{#set:RepoID={{#var:repoid}}}}
+
 
<table border="0" width="100%">
+
== Location ==
{{#if: {{{Maintainer|}}} |<tr><td><i>Current Maintainer(s):</i></td><td>{{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|<br>}}</td></tr> |}}<tr><td><i>Source Repository:</i></td><td>{{#ask:[[Category:Repositories]] [[Repository ID::{{#var:repoid}}]]}}</td></tr>   {{#if: {{{Homepage|}}} |<tr><td></td><td>[[Homepage::{{{Homepage|}}}|Homepage]]</td></tr> |}}</table><hr>
+
 
<b>Summary:</b> [[Summary::{{{Summary|}}}]]
+
{{TableStart}}
</div>
+
<tr><th class="active">Geographic Coordinates</th><td>
{{#get_web_data:url=http://ports.funtoo.org/packages.xml|format=xml|use xpath|data=use=/packages/category[@name='{{#var:cat}}']/package[@name='{{#var:pkg}}']/@use}}
+
This section can be used to identify your geographic location. Enter the name of the location (either as an address or in City, State format) into the ''second field'', and click '''Look up Coordinates'''. Geographic Coordinates will then be automatically be placed in the first field.
{{#set:Use={{#external_value:use}}}}
+
 
{{#if: {{#external_value:use}}|<div style="float: right; clear: both; width: 30%; padding: 1em; margin-left: 1em; margin-bottom: 1em; border-radius: 10px; border: 1px solid #ddd; background-color: #efefef;" id="eb_infobox">
+
{{{field
== Use Flags ==
+
| Geoloc
{{#arraymaptemplate:{{#external_value:use}}|ExternUse|,|}}
+
| input type=googlemaps
</div>
+
| height=300
}}
+
| width=100%
<div id="ebuild_header"><div id="ebuild_logo" style="padding-bottom: 1em;">[[File:ebuild.png|link=|frameless]]</div><div id="ebuild_title">
+
| autozoom=off
= {{PAGENAME}} =
+
| zoom=2
</div></includeonly>
+
}}} </td></tr>
 +
<tr><th class="active">Location name</th><td>{{{field|Location name|list}}}</td></tr>
 +
{{TableEnd}}
 +
 
 +
{{{end template}}}
 +
 
 +
== Documentation ==
 +
 
 +
Enter documentation or extended information for the organization 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|OrganizationFooter}}}
 +
{{{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 21:57, January 7, 2015


Add a New Organization