Difference between pages "User:Duncan.britton" and "Template:Person"
(Difference between pages)
Jump to navigation
Jump to search
m (Drobbins moved page User:Duncan.Britton to User:Duncan.britton without leaving a redirect) |
|||
Line 1: | Line 1: | ||
<noinclude> | |||
This is the "Person" template. | |||
It should be called in the following format: | |||
<pre> | |||
{{Person | {{Person | ||
|Full name= | |Full name= | ||
|Email= | |Email= | ||
|Geoloc= | |Nick= | ||
|Location name= | |Geoloc= | ||
|Roles | |Location name= | ||
|Roles= | |||
|Blogs= | |Blogs= | ||
}} | }} | ||
</pre> | |||
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;"> | |||
<div float="left">{{#gravatar_img:{{#show:{{FULLPAGENAME}}|?email|link=none}}}}</div> | |||
{{#if:{{#external_value:fullname}}|[[Full name::{{#external_value:fullname}}]]}} | |||
{{#if:{{#external_value:role}}|{{#set:Role|{{#external_value:role}}}}}}{{#ifeq:{{#external_value:role}}|bdfl|[[SimpleRole::dev]]}}{{#ifeq:{{#external_value:role}}|staff|[[SimpleRole::dev]]}}{{#ifeq:{{#external_value:role}}|dev|[[SimpleRole::dev]]}} | |||
== Contact == | |||
{| | |||
|{{#if:{{#external_value:ircnick}}|freenode: <tt>[[Ircnick::{{#external_value:ircnick}}]]</tt>}} | |||
|- | |||
[[Email::{{#external_value:email}}]] | |||
|} | |||
{{#if:{{{Geoloc|}}}| | |||
== 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 19:38, June 23, 2014
This is the "Person" template. It should be called in the following format:
{{Person |Full name= |Email= |Nick= |Geoloc= |Location name= |Roles= |Blogs= }}
Edit the page to see the template text.