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

(Difference between pages)
 
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Person" template.
+
This is the "Repository" template.
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{Person
+
{{Repository
|Geoloc=
+
|Repository ID=
|Location name=
+
|Repository Type=
 +
|Maintainer=
 +
|Organization=
 +
|Homepage=
 +
|Source URI=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{{#vardefine:username|{{#lowercase:{{PAGENAME}}}}}}{{#get_web_data:url=http://auth.funtoo.org:9093/static/members.xml|format=xml|use xpath|data=fullname=/members/user[@username='{{#var:username}}']/fullname,ircnick=/members/user[@username='{{#var:username}}']/ircnick,role=/members/user[@username='{{#var:username}}']/role,email=/members/user[@username='{{#var:username}}']/email}}<div style="float:right; width: 400px; border-radius: 20px; background-color: #eeeeee; padding: 20px; margin: 40px; font-family: Helvetica;">
+
</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">
<div float="left">{{#gravatar_img:{{#show:{{FULLPAGENAME}}|?email|link=none}}}}</div>
+
<table border="0" width="100%">
{{#if:{{#external_value:fullname}}|[[Full name::{{#external_value:fullname}}]]}}
+
<tr><td><i>Repository Type:</i></td><td>[[Repository Type::{{{Repository Type|}}}]]</td></tr>
{{#set:Role={{#external_value:role}}
+
<tr><td><i>Repository ID:</i></td><td>[[Repository ID::{{{Repository ID|}}}]]</td></tr>
|SimpleRole={{#ifeq:{{#external_value:role}}|bdfl|dev}}{{#ifeq:{{#external_value:role}}|staff|dev}}{{#ifeq:{{#external_value:role}}|dev|dev}}}}
+
{{#if: {{{Maintainer|}}} |<tr><td><i>Current Maintainer(s):</i></td><td>{{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|<br>}}</td></tr> |}}
== Contact ==
+
<tr><td><i>Organization:</i></td><td>[[Organization::Organization:{{{Organization|}}}|{{{Organization|}}}]]</td></tr>
{|
+
<tr><td><i>Links:</i></td><td>[[Homepage::{{{Homepage|}}}|Home Page]]</td></tr>
|{{#if:{{#external_value:ircnick}}|freenode: <tt>[[Ircnick::{{#external_value:ircnick}}]]</tt>}}
+
{{#if:{{{Source URI|}}}|<tr><td></td><td>[[Source URI::{{{Source URI|}}}|Source Repository URL]]</td></tr>|}}
|-
+
</table>
[[Email::{{#external_value:email}}]]
+
</div>
|}
+
= {{PAGENAME}} =
{{#if:{{{Geoloc|}}}|
+
</includeonly>
== Location ==
+
{{
+
#display_point:
+
coordinates={{{Geoloc|}}}
+
| zoom=5
+
| width=100%
+
| height=350
+
}} <span style="font-size: 8pt;">[[Location name::{{{Location name|}}}]] ([[Geoloc::{{{Geoloc|}}}]])</span>}}
+
</div>{{{Blogs|}}}
+
[[Category:People]]
+
__NOTOC__
+
__NOEDITSECTION__
+
__NOTITLE__</includeonly>
+

Revision as of 00:37, June 25, 2014

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

{{Repository
|Repository ID=
|Repository Type=
|Maintainer=
|Organization=
|Homepage=
|Source URI=
}}

Edit the page to see the template text.