Difference between revisions of "Template:User"

From its-wiki.no
Jump to: navigation, search
 
(40 intermediate revisions by 2 users not shown)
Line 26: Line 26:
 
! Last Name
 
! Last Name
 
| [[Name::{{{Name|}}}]]
 
| [[Name::{{{Name|}}}]]
 +
|-
 +
! Home Page
 +
|  [[Web::{{{Web|}}}]]
 +
{{#ifingroup:user|{{#!:
 
|-
 
|-
 
! ☎:
 
! ☎:
| [[Phone::{{{Phone|}}}]]
+
| {{{Phone|}}}
 
|-
 
|-
 
! m:
 
! m:
| [[Mobile phone::{{{Mobile|}}}]]
+
| {{{Mobile|}}}
 
|-
 
|-
 
! e:
 
! e:
| [[Email::{{{Email|}}}]]
+
| {{{Email|}}}}}}}
 +
|-
 +
!LinkedIN:
 +
|{{{LinkedIN|}}}
 
|-
 
|-
 
! Company
 
! Company
Line 57: Line 64:
 
}}
 
}}
 
|}
 
|}
<p>{{#ifexist: File:{{PAGENAME}}.jpg | [[File:{{PAGENAME}}.jpg|150px]]</p> | [[File:Avatar.jpg|150px]] </p> ''upload {{PAGENAME}}.jpg to see your picture'' }}
+
<!--- 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 63: Line 71:
 
|popup
 
|popup
 
}}
 
}}
 +
<!----  about the user - does not work, needs an "if/exist User_Picture_URL/then show, else nothing  --->
 +
<!--- {|class="wikitable" style="width:150;"
 +
|-
 +
|[[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
 
| limit=10;
 
| limit=10;
| intro='''{{PAGENAME}} is involved in running the following courses:'''&#10;
+
| intro=<h1>Courses</h1>&#10;'''{{PAGENAME}} is involved in running the following courses:'''&#10;
 
}}
 
}}
 
<!-- Lecturer -->
 
<!-- Lecturer -->
 
{{#ask: [[Lecturer::{{PAGENAME}}]] [[Category:Course]]| ?Course= | format=ul
 
{{#ask: [[Lecturer::{{PAGENAME}}]] [[Category:Course]]| ?Course= | format=ul
 
| limit=8
 
| limit=8
| intro='''{{PAGENAME}} has given the following lectures:'''&#10;
+
| intro=<h1>Lecturer</h1>&#10;'''{{PAGENAME}} has given the following lectures:'''&#10;
 
}}
 
}}
<!-- Projects -->
+
= Presentations =
{{#ask: [[Project leader::{{SUBJECTPAGENAME}}]] [[Category:Project]] [[Due_date::>{{CURRENTYEAR}}]]| ?Title=dealing with: | format=ul
+
{{#ask: [[Category:Presentation]][[Presenter::{{SUBJECTPAGENAME}}]] |?Title |?Project |?Date |?Presentation File |?Presentation_view |?Presenter |?Keywords |?Event
| intro='''{{PAGENAME}} is project leader of following ongoing Project(s):'''&#10;
+
|mainlabel=-
|limit=5
+
|sort=Date
 +
|order=desc
 +
|limit=25
 +
|format=template
 +
|template=Presentation_table
 +
| introtemplate=Table_header
 +
| outrotemplate=Table_footer
 
}}
 
}}
{{#ask: [[Project Participant::{{PAGENAME}}]] [[Category:Project]] [[Due_date::>{{CURRENTYEAR}}]]| ?Title=dealing with: | format=ul
+
<!--- {{Show_Presentation|{{SUBJECTPAGENAME}}|+}} --->
| intro='''{{PAGENAME}} is involved in the ongoing Projects:'''&#10;
+
 
|limit=10
+
= Projects =
|outro=''a list of all projects in [[WNaS]] is listed in [[Template:Projects|Projects]]''
+
{{#ask: [[Category:Project]][[Project leader::{{PAGENAME}}]] [[Due_date::>{{CURRENTYEAR}}]]
 +
|?Title=dealing with
 +
|?Partner=supported by:  
 +
|?StartDate
 +
|?Due_date
 +
| format=table
 +
| limit=25
 +
| sort=Due_date
 +
|order=descending
 +
| intro='''ongoing projects, led by {{PAGENAME}}:'''&#10;
 
}}
 
}}
 +
 +
{{#ask: [[Project Participant::{{PAGENAME}}]] [[Due_date::>{{CURRENTYEAR}}]]
 +
|?Title=dealing with
 +
|?Partner=supported by:
 +
|?StartDate=
 +
|?Due_date=-
 +
| format=ul
 +
| limit=25
 +
| sort=Due_date
 +
|order=descending
 +
|intro={{PAGENAME}} is member of ongoing projects: &#10; }}
 +
 +
{{#ask: [[Category:Project]][[Project leader::{{PAGENAME}}]] [[Due_date::<{{CURRENTYEAR}}]]
 +
|?Title=dealing with
 +
|?Partner=supported by:
 +
|?Due_date=finished
 +
| format=table
 +
| limit=25
 +
| sort=Due_date
 +
|order=descending
 +
| intro='''Finished projects, led by {{PAGENAME}}:'''&#10;
 +
}}
 +
 +
{{#ask: [[Project Participant::{{PAGENAME}}]] [[Due_date::<{{CURRENTYEAR}}]]
 +
|?Title=dealing with
 +
|?Partner=supported by:
 +
|?Due_date=finished:
 +
| format=ul
 +
| limit=25
 +
| sort=Due_date
 +
|order=descending
 +
|intro={{PAGENAME}} was member of projects: &#10; }}
 +
 +
''For a list of all projects, see [[Template:Projects|Projects]]''
 +
=Thesis =
 
<!-- Ongoing Thesis -->
 
<!-- Ongoing Thesis -->
 
{{#ask: [[User::{{PAGENAME}}]] [[Category:Thesis]] [[ThesisStatus::+]]|?User=by: ||?Supervisor=, Supervisor(s):  | format=ul
 
{{#ask: [[User::{{PAGENAME}}]] [[Category:Thesis]] [[ThesisStatus::+]]|?User=by: ||?Supervisor=, Supervisor(s):  | format=ul
Line 89: 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 103: Line 171:
 
| intro='''{{PAGENAME}} has previously been supervisor for:'''&#10;
 
| intro='''{{PAGENAME}} has previously been supervisor for:'''&#10;
 
}}
 
}}
 +
=Meetings =
 
<!-- Meetings -->
 
<!-- Meetings -->
 
{{#ask: [[User::{{SUBJECTPAGENAME}}]] [[Category:Meeting]]| ?Date=on  | format=ul |sort=Date | sep=',  |order=desc
 
{{#ask: [[User::{{SUBJECTPAGENAME}}]] [[Category:Meeting]]| ?Date=on  | format=ul |sort=Date | sep=',  |order=desc
| limit=10
+
| limit=25
 
| intro='''{{SUBJECTPAGENAME}} participated in Meeting(s):'''&#10;
 
| intro='''{{SUBJECTPAGENAME}} participated in Meeting(s):'''&#10;
 
}}
 
}}
 +
<headertabs/>
  
 +
{{#set:Phone={{{Phone|}}}}}
 +
{{#set:Mobile phone={{{Mobile|}}}}}
 +
{{#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