Person: Difference between revisions

From MWStake
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{#vardefine:person|{{#urldecode:{{#urlget:person}}}}}}
{{#vardefine:person|{{#urldecode:{{#urlget:person}}}}}}
</div>
</div>
{{#if:{{#var:person}}|{{#!:{{#ifeq:{{#ask:[[Category:Users]][[Name::{{#var:person}}]]|format=count}}|0||
{{#if:{{#var:person}}|{{#!:{{#ifexist:User:{{#var:person}}|
=User Information=
=User Information=
<div style="display:none;">
{{:User:{{#var:person}}}}
{{#vardefine:userpage|{{#ask:[[Category:Users]][[Name::{{#var:person}}]]|link=none}}}}
</div>
{{:{{#var:userpage}}}}
}}
}}
<div style="display:none;">
<div style="display:none;">
{{#vardefine:blogcount|{{#ask:[[Category:Blog Posts]][[Person::{{#var:person}}]] OR [[Category:Blog Posts]][[Page creator::{{#var:person}}]]|format=count}}}}
{{#vardefine:blogcount|{{#ask:[[Category:Blog Posts]][[Person::{{#var:person}}]] OR [[Category:Blog Posts]][[Page creator::User:{{#var:person}}]]|format=count}}}}
</div>
</div>
{{#ifeq:{{#var:blogcount}}|0||{{#!:
{{#ifeq:{{#var:blogcount}}|0||{{#!:
=Blog Posts<sup>({{#var:blogcount}})</sup>=
=Blog Posts<sup>({{#var:blogcount}})</sup>=
{{#ask:[[Category:Blog Posts]][[Person::{{#var:person}}]] OR [[Category:Blog Posts]][[Page creator::{{#var:person}}]]
{{#ask:[[Category:Blog Posts]][[Person::{{#var:person}}]] OR [[Category:Blog Posts]][[Page creator::User:{{#var:person}}]]
|?Creation date
|?Creation date
|?Page creator
|?Page creator
Line 30: Line 27:
=Events<sup>({{#var:eventcount}})</sup>=
=Events<sup>({{#var:eventcount}})</sup>=
{{#ask:[[Category:Events]][[Person::{{#var:person}}]]
{{#ask:[[Category:Events]][[Person::{{#var:person}}]]
|?Start Date
|format=ul
|format=ul
|headers=hide
|headers=hide
|sort=Start Date
|sort=Start Date
|order=desc
|order=desc
|limit=10
}}
}}
}}
}}
Line 43: Line 38:
<div style="display:none;">
<div style="display:none;">
<headertabs />
<headertabs />
{{DISPLAYTITLE:{{#var:person}}}}
{{#set:Dynamic Display=$person}}
{{#set:Dynamic Display=$person}}
{{#set:Title Icon=Person.png}}
{{#set:Title Icon=Person.png}}
{{DISPLAYTITLE:{{#var:person}}}}
[[Category:Framework Pages]]
[[Category:Framework Pages]]
</div>
</div>

Latest revision as of 12:51, 25 January 2017