Difference between revisions of "Template:User"

From its-wiki.no
Jump to: navigation, search
 
(10 intermediate revisions by 2 users not shown)
Line 64: Line 64:
 
}}
 
}}
 
|}
 
|}
<!--- <p>{{#ifexist: File:{{PAGENAME}}.jpg | [[File:{{PAGENAME}}.jpg|150px]]</p> {{#set:User Picture=[[File:{{PAGENAME}}.jpg|150px]]}}| [[File:Avatar.jpg|150px]] </p> ''"Upload File" {{PAGENAME}}.jpg to see your picture'' {{#set:User Picture=[[File:Avatar.jpg|150px]]}}}} --->
+
<!--- Taken out in Aug2020 Josef, to be replaced by User_Picture_URL --->
 +
<p>{{#ifexist: File:{{PAGENAME}}.jpg | [[File:{{PAGENAME}}.jpg|150px]]</p> {{#set:User Picture=[[File:{{PAGENAME}}.jpg|150px]]}}| [[File:Avatar.jpg|150px]] </p> ''"Upload File" {{PAGENAME}}.jpg to see your picture'' {{#set:User Picture=[[File:Avatar.jpg|150px]]}}}}  
 
{{#widget:LinkedIn Profile
 
{{#widget:LinkedIn Profile
 
|profile={{{LinkedIN}}}
 
|profile={{{LinkedIN}}}
Line 70: Line 71:
 
|popup
 
|popup
 
}}
 
}}
<!----  about the user --->
+
<!----  about the user - does not work, needs an "if/exist User_Picture_URL/then show, else nothing  --->
{| class="wikitable" style="width: 10%;"
+
<!--- {|class="wikitable" style="width:150;"
 
|-
 
|-
 
|[[User_Picture_URL::{{{User_Picture_URL|}}}]]
 
|[[User_Picture_URL::{{{User_Picture_URL|}}}]]
|}
+
|} --->
 
<!-- Course holder -->
 
<!-- Course holder -->
 
{{#ask: [[Lecturer::{{PAGENAME}}]] [[Category:Course]] [[ResearchArea::+]]| ?Course | ?Title= | format=ul
 
{{#ask: [[Lecturer::{{PAGENAME}}]] [[Category:Course]] [[ResearchArea::+]]| ?Course | ?Title= | format=ul
Line 151: Line 152:
 
}}
 
}}
 
<!-- Ongoing Thesis -->
 
<!-- Ongoing Thesis -->
{{#ask: [[Supervisor::{{PAGENAME}}]] [[Category:Thesis]] [[ThesisStatus::Ongoing]]|?User=by: ||?Supervisor=, Supervisor(s):  | format=ul
+
{{#ask: [[Supervisor::{{PAGENAME}}]] [[Category:Thesis]] [[ThesisStatus::Ongoing]]
 +
|?User=by: ||?Supervisor=, Supervisor(s):  | format=ul
 
| limit=15
 
| limit=15
 
| intro='''{{PAGENAME}} is supervisor of the following ongoing theses:'''&#10;
 
| intro='''{{PAGENAME}} is supervisor of the following ongoing theses:'''&#10;
 
}}
 
}}
 
<!-- Planned Thesis -->
 
<!-- Planned Thesis -->
{{#ask: [[Supervisor::{{PAGENAME}}]] [[Category:Thesis]] [[ThesisStatus::Planned]]|?User=by: ||?Supervisor=Supervisor(s): | format=ul
+
{{#ask: [[Supervisor::{{PAGENAME}}]] [[Category:Thesis]] [[ThesisStatus::Planned]]
| limit=10
+
|?User=by: ||?Supervisor=Supervisor(s):  
 +
| format=ul
 +
| sort=Creation date
 +
| order=descending
 +
| limit=20
 
| intro='''{{PAGENAME}} is offering the following theses:'''&#10;
 
| intro='''{{PAGENAME}} is offering the following theses:'''&#10;
 
}}
 
}}
Line 176: Line 182:
 
{{#set:Mobile phone={{{Mobile|}}}}}
 
{{#set:Mobile phone={{{Mobile|}}}}}
 
{{#set:|Email={{{Email|}}}}}
 
{{#set:|Email={{{Email|}}}}}
 +
{{#set:Full Name={{{Prename|}}} {{{Name|}}}}}
 
</includeonly>
 
</includeonly>
 
== About ==
 
== About ==
 
[[Category:User]]
 
[[Category:User]]

Latest revision as of 15:13, 1 June 2021

This is the "User" template. It should be called in the following format:

{{User
|Prename=
|Name=
|Phone=
|Mobile=
|Email=
|LinkedIN=
|Partner=
}}

Edit the page to see the template text.

About