Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Template:Person"

From Funtoo
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
|Nick=
|Nick=
|Geoloc=
|Geoloc=
|Maintains=
|Location name=
|Location name=
|Roles=
|Roles=
Line 15: Line 14:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly><div style="float:right; width: 400px; border-radius: 20px; background-color: #eeeeee; padding: 20px; margin: 40px; font-family: Helvetica;">
</noinclude><includeonly>
<div float="left">{{#gravatar_img:{{#show:{{FULLPAGENAME}}|?Email|link=none}}}}</div>
{{#vardefine:username|{{#lowercase:{{PAGENAME}}}}}}
{{#if:{{{Full name|}}}|== [[Full name::{{{Full name|}}} ]]==}}  
{{#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}}
<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}}|{{#external_value:email}}|link=none}}}}</div>
{{#if:{{{Full name|}}}|== [[Full name::{{#external_value:fullname}} ]]==}}  
{{#if:{{{Roles|}}}|{{{Roles}}}|{{#if:{{{Geoloc|}}}|{{Role|Role type=User}}|}}}}
{{#if:{{{Roles|}}}|{{{Roles}}}|{{#if:{{{Geoloc|}}}|{{Role|Role type=User}}|}}}}
== Contact ==
== Contact ==
Line 23: Line 25:
|{{#if:{{{Nick|}}}|freenode: <tt>[[Nick::{{{Nick}}}]]</tt>}}
|{{#if:{{{Nick|}}}|freenode: <tt>[[Nick::{{{Nick}}}]]</tt>}}
|-
|-
|{{#if:{{{Email|}}}|[[Email::{{{Email}}}]]}}
|{{#if:{{{Email|}}}|[[Email::{{#external_value:email}}]]}}
|}
|}
{{#if:{{{Geoloc|}}}|
{{#if:{{{Geoloc|}}}|
Line 34: Line 36:
| height=350
| height=350
}} <span style="font-size: 8pt;">[[Location name::{{{Location name|}}}]] ([[Geoloc::{{{Geoloc|}}}]])</span>}}
}} <span style="font-size: 8pt;">[[Location name::{{{Location name|}}}]] ([[Geoloc::{{{Geoloc|}}}]])</span>}}
</div>{{{Maintains|}}}{{{Blogs|}}}
</div>{{{Blogs|}}}
[[Category:People]]
[[Category:People]]
__NOTOC__
__NOTOC__
__NOEDITSECTION__
__NOEDITSECTION__
__NOTITLE__</includeonly>
__NOTITLE__</includeonly>

Revision as of 20:42, June 18, 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.