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

(Difference between pages)
(temporarily disable map due to db issues)
 
 
Line 1: Line 1:
<noinclude>
+
<includeonly>{{#if:{{{Subtitle|}}}|<div style="margin-left: 15px;">
This is the "Person" template.
+
==={{{Subtitle|}}}===
It should be called in the following format:
+
</div>}}<div class="container" style="margin-top: 20px;"><div class="row"><div class="col-xs-12 col-md-9">{{#if:{{{Summary|}}}|{{{Summary}}}
<pre>
+
 
{{Person
+
 
|Bio=
+
}}{{#widget:AddThis}}
|Geoloc=
+
{{#if:{{{Author|}}}|{{#set:Author=User:{{{Author|}}}}}}}{{#set:Gravatar MD5={{#show: User:{{{Author}}} | ?Gravatar MD5}}|Subtitle={{{Subtitle|}}}|Summary={{{Summary|}}}|Icon={{{Icon|}}}|Next in Series={{{Next in Series|}}}|Previous in Series={{{Previous in Series|}}}}}{{#if:{{{Previous in Series|}}}|<br>''Previous in series: [[{{{Previous in Series}}}]]''}}{{#if:{{{Next in Series|}}}|'''<br>Next in series: [[{{{Next in Series}}}]]'''}}
|Location name=
+
{{#seo:
 +
|title={{PAGENAME}}{{#if:{{{Subtitle|}}}|: {{{Subtitle}}}}}
 +
|keywords={{#if:{{{Author|}}}|{{#if: {{#show:User:{{{Author}}}|? Full name}}|{{#show:User:{{{Author}}}|?Full name}}  }} }},article,linux{{#if|{{{Keywords|}}},{{{Keywords}}}}}
 +
|description={{{Summary|}}}
 
}}
 
}}
</pre>
+
{{Tip|[[Support Funtoo]] and help us grow! '''Donate $15 per month and get a free SSD-based [[Funtoo Hosting|Funtoo Virtual Container]].'''}}
Edit the page to see the template text.
+
</includeonly>
</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 15:49, January 5, 2015