Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Template:Person"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
</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 | </noinclude><includeonly>{{#vardefine:username|{{#lowercase:{{PAGENAME}}}}}}{{#clear_external_data:}}{{#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-left: 40px; margin-bottom: 20px; font-family: Helvetica;"> | ||
<div float="left">{{#gravatar_img:{{# | <div float="left">{{#gravatar_img:{{#show:{{FULLPAGENAME}}|?email|link=none}}}}</div> | ||
{{#if:{{#external_value:fullname}}|[[Full name::{{#external_value:fullname}}]]}} | {{#if:{{#external_value:fullname}}|[[Full name::{{#external_value:fullname}}]]}} | ||
{{#set:Role={{#external_value:role}} | {{#set:Role={{#external_value:role}} | ||
Line 17: | Line 17: | ||
{| | {| | ||
|{{#if:{{#external_value:ircnick}}|freenode: <tt>[[Ircnick::{{#external_value:ircnick}}]]</tt>}} | |{{#if:{{#external_value:ircnick}}|freenode: <tt>[[Ircnick::{{#external_value:ircnick}}]]</tt>}} | ||
|- | |||
[[Email::{{#external_value:email}}]] | |||
|} | |} | ||
{{#if:{{{Geoloc|}}}| | {{#if:{{{Geoloc|}}}| |
Revision as of 21:39, October 16, 2014
This is the "Person" template. It should be called in the following format:
{{Person |Geoloc= |Location name= }}
Edit the page to see the template text.