From Funtoo
(Difference between pages)
Jump to navigation
Jump to search
|
|
Line 1: |
Line 1: |
| <noinclude>
| | <includeonly>{{#tag:console|{{{body}}}}} |
| This is the "Person" template.
| | {{#if:{{{desc|}}}|'''Console: {{{desc|}}}}}{{#if:{{{recipe|}}}|{{#subobject:|step={{{step|}}}|stepCount={{#tag:in||}}|In recipe={{{recipe|}}}|+sep=,|action=runcmd|body={{{body}}}}}}}</includeonly> |
| It should be called in the following format:
| |
| <pre>
| |
| {{Person
| |
| |Bio=
| |
| |Geoloc=
| |
| |Location name=
| |
| }}
| |
| </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-left: 40px; margin-bottom: 20px; font-family: Helvetica;">{{#vardefine:email|{{#external_value:email}}}}
| |
| <div float="left">{{#gravatar_img:{{#var:email}}}}</div>{{#if:{{#var:email}}|{{#set:Gravatar MD5={{#gravatar_md5:{{#var:email}}}}}}}}
| |
| {{#if:{{#external_value:fullname}}|[[Full name::{{#external_value:fullname}}]]}}
| |
| {{#set:Role={{#external_value:role}}
| |
| |SimpleRole={{#ifeq:{{#external_value:role}}|bdfl|dev}}{{#ifeq:{{#external_value:role}}|staff|dev}}{{#ifeq:{{#external_value:role}}|dev|dev}}}} | |
| == Contact ==
| |
| {|
| |
| |{{#if:{{#external_value:ircnick}}|freenode: <tt>[[Ircnick::{{#external_value:ircnick}}]]</tt>}}
| |
| |} | |
| {{#if:{{{Geoloc|}}}|
| |
| <span style="font-size: 8pt;">[[Location name::{{{Location name|}}}]] ([[Geoloc::{{{Geoloc|}}}]])</span>}}
| |
| </div>
| |
| [[Category:People]]
| |
| {{#set:Bio={{{Bio|}}}}}
| |
| __NOTOC__
| |
| __NOEDITSECTION__
| |
| __NOTITLE__</includeonly>
| |
Revision as of 04:32, February 19, 2015