Difference between revisions of "Template:User"

From its-wiki.no
Jump to: navigation, search
 
(19 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 - 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
Line 82: Line 87:
 
}}
 
}}
 
= Presentations =
 
= Presentations =
{{#ask: [[Category:Presentation]][[Presenter::{{SUBJECTPAGENAME}}]] |?Title |?Project |?Date |?Presentation File |?Presentation_view |?Presenter |?Keywords
+
{{#ask: [[Category:Presentation]][[Presenter::{{SUBJECTPAGENAME}}]] |?Title |?Project |?Date |?Presentation File |?Presentation_view |?Presenter |?Keywords |?Event
 
|mainlabel=-
 
|mainlabel=-
 
|sort=Date
 
|sort=Date
 
|order=desc
 
|order=desc
|limit=15
+
|limit=25
 
|format=template
 
|format=template
 
|template=Presentation_table
 
|template=Presentation_table
Line 96: Line 101:
 
= Projects =
 
= Projects =
 
{{#ask: [[Category:Project]][[Project leader::{{PAGENAME}}]] [[Due_date::>{{CURRENTYEAR}}]]
 
{{#ask: [[Category:Project]][[Project leader::{{PAGENAME}}]] [[Due_date::>{{CURRENTYEAR}}]]
|?Title
+
|?Title=dealing with
 
|?Partner=supported by:  
 
|?Partner=supported by:  
 
|?StartDate
 
|?StartDate
Line 108: Line 113:
  
 
{{#ask: [[Project Participant::{{PAGENAME}}]] [[Due_date::>{{CURRENTYEAR}}]]
 
{{#ask: [[Project Participant::{{PAGENAME}}]] [[Due_date::>{{CURRENTYEAR}}]]
|?Title
+
|?Title=dealing with
 
|?Partner=supported by:  
 
|?Partner=supported by:  
 
|?StartDate=
 
|?StartDate=
Line 119: Line 124:
  
 
{{#ask: [[Category:Project]][[Project leader::{{PAGENAME}}]] [[Due_date::<{{CURRENTYEAR}}]]
 
{{#ask: [[Category:Project]][[Project leader::{{PAGENAME}}]] [[Due_date::<{{CURRENTYEAR}}]]
|?Title
+
|?Title=dealing with
 
|?Partner=supported by:  
 
|?Partner=supported by:  
 
|?Due_date=finished
 
|?Due_date=finished
Line 130: Line 135:
  
 
{{#ask: [[Project Participant::{{PAGENAME}}]] [[Due_date::<{{CURRENTYEAR}}]]
 
{{#ask: [[Project Participant::{{PAGENAME}}]] [[Due_date::<{{CURRENTYEAR}}]]
|?Title
+
|?Title=dealing with
 
|?Partner=supported by:  
 
|?Partner=supported by:  
 
|?Due_date=finished:  
 
|?Due_date=finished:  
Line 139: Line 144:
 
|intro={{PAGENAME}} was member of projects: &#10; }}
 
|intro={{PAGENAME}} was member of projects: &#10; }}
  
AND OLD VERSION OF PROJECTS
+
''For a list of all projects, see [[Template:Projects|Projects]]''  
<!-- Projects -->
+
{{#ask: [[Project leader::{{SUBJECTPAGENAME}}]] [[Category:Project]] [[Due_date::>{{CURRENTYEAR}}]]|  ?Title=dealing with: | format=ul
+
| intro='''{{PAGENAME}} is project leader of following ongoing Project(s):'''&#10;
+
|limit=5
+
}}
+
{{#ask: [[Project Participant::{{PAGENAME}}]] [[Category:Project]] [[Due_date::>{{CURRENTYEAR}}]]|  ?Title=dealing with: | format=ul
+
| intro='''{{PAGENAME}} is involved in the ongoing Projects:'''&#10;
+
|limit=10
+
|outro=''a list of all projects in [[WNaS]] is listed in [[Template:Projects|Projects]]''
+
}}
+
 
=Thesis =
 
=Thesis =
 
<!-- Ongoing Thesis -->
 
<!-- Ongoing Thesis -->
Line 157: 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 174: Line 174:
 
<!-- 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;
 
}}
 
}}
Line 182: 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