Difference between revisions of "Template:User"

From mwstake
Jump to: navigation, search
(use FULLPAGENAME in action query to pick up namespace)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
[[Category:Framework Pages]]
 
[[Category:Framework Pages]]
</noinclude><includeonly><div style="display:none;">
+
</noinclude><includeonly>{{#if:{{{linkedin-url|}}}{{{mw-username|}}}{{{smw-username}}}|{{#!:
{{#if:{{{preferred-name|}}}|{{#vardefine:name|{{{preferred-name}}}}}|{{#if:{{#userrealname:{{PAGENAME}}}}|{{#vardefine:name|{{#userrealname:{{PAGENAME}}}}}}|{{#vardefine:name|{{PAGENAME}}}}}}}}
 
</div>{{#if:{{{linkedin-url|}}}{{{mw-username|}}}{{{smw-username}}}|{{#!:
 
 
{|
 
{|
 
{{#if:{{{linkedin-url|}}}|{{#!:
 
{{#if:{{{linkedin-url|}}}|{{#!:
 
|{{#widget:LinkedIn Profile
 
|{{#widget:LinkedIn Profile
 
|profile={{{linkedin-url}}}
 
|profile={{{linkedin-url}}}
|name={{#var:name}}
+
|name={{{PAGENAME}}}
 
|norelated
 
|norelated
 
}}
 
}}
Line 17: Line 15:
 
|
 
|
 
{| class="wikitable"
 
{| class="wikitable"
{{Optional Table Row|[[Image:MediaWiki.png|24px|link=]] MediaWiki.org User Page|{{{mw-username|}}}|[https://mediawiki.org/wiki/User:{{{mw-username}}} {{{mw-username}}}]}}
+
{{Optional Table Row|[[Image:MediaWiki.png|24px|link=]] MediaWiki.org User Page|{{{mw-username|}}}|[https://www.mediawiki.org/wiki/User:{{{mw-username}}} {{{mw-username}}}]}}
{{Optional Table Row|[[Image:Semantic-MediaWiki.png|24px|link=]] Semantic-MediaWiki.org User Page|{{{smw-username|}}}|[https://semantic-mediawiki.org/wiki/User:{{{smw-username}}} {{{smw-username}}}]}}
+
{{Optional Table Row|[[Image:Semantic-MediaWiki.png|24px|link=]] Semantic-MediaWiki.org User Page|{{{smw-username|}}}|[https://www.semantic-mediawiki.org/wiki/User:{{{smw-username}}} {{{smw-username}}}]}}
 
|}
 
|}
 
}}
 
}}
Line 26: Line 24:
 
}}
 
}}
 
<div style="display:none;">
 
<div style="display:none;">
{{DEFAULTSORT:{{#var:name}}}}
+
{{#set:Name={{{PAGENAME}}}}}
{{#set:Name={{#var:name}}}}
 
 
{{#set:Title Icon=Person.png}}
 
{{#set:Title Icon=Person.png}}
 
[[Category:Users]]
 
[[Category:Users]]
 
</div>
 
</div>
 +
 +
<h2> Open Actions </h2>
 +
 +
{{#ask: [[Category:Actionable]] [[Action status::Open]] [[Assigned to::{{FULLPAGENAME}}]]
 +
|mainlabel=Action
 +
|?Due date
 +
|?Assigned to
 +
|?Label
 +
|?Related article
 +
|format=table
 +
|sort=Action ID
 +
|order=DESC
 +
|default = No actions
 +
|intro =
 +
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 17:16, 12 August 2019