Difference between revisions of "Template:User"

From its-wiki.no
Jump to: navigation, search
 
(64 intermediate revisions by 2 users not shown)
Line 15: Line 15:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>  
 
</noinclude><includeonly>  
==User [[User::{{SUBJECTPAGENAME}}]]==
+
__NOTITLE__
{| class="wikitable"
+
=User [[User::{{SUBJECTPAGENAME}}]]=
 +
<span style="float: right; font-size: 80%;" > ''[[Special:FormEdit/User/{{SUBJECTPAGENAME}}|(edit page)]]''  </span>
 +
__NOTOC__
 +
__NOEDITSECTION__
 +
{| class="wikitable", style="width:30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
! First Name
 
! First Name
 
| [[Prename::{{{Prename|}}}]]
 
| [[Prename::{{{Prename|}}}]]
 
|-
 
|-
! Name
+
! Last Name
 
| [[Name::{{{Name|}}}]]
 
| [[Name::{{{Name|}}}]]
 
|-
 
|-
! ph:
+
! Home Page
| [[Phone::{{{Phone|}}}]]
+
| [[Web::{{{Web|}}}]]
 +
{{#ifingroup:user|{{#!:
 +
|-
 +
! ☎:
 +
| {{{Phone|}}}
 
|-
 
|-
 
! m:
 
! m:
| [[Mobile phone::{{{Mobile|}}}]]
+
| {{{Mobile|}}}
 
|-
 
|-
 
! e:
 
! e:
| [[Email::{{{Email|}}}]]
+
| {{{Email|}}}}}}}
 
|-
 
|-
! LinkedIN:
+
!LinkedIN:
| [[LinkedIN::{{{LinkedIN|}}}]]
+
|{{{LinkedIN|}}}
 
|-
 
|-
 
! Company
 
! Company
| [[Partner::{{{Partner|}}}]]
+
| {{#arraymap:{{{Partner|}}}|,|x|[[Partner::x]]}}
 +
|-
 +
! about:
 +
| [[Headline::{{{Headline|}}}]]
 +
|-
 +
! involved in Projects
 +
| {{#arraymap:{{{Project|}}}|,|x|[[Project::x]]}}
 +
|-
 +
! Keywords
 +
| {{#arraymap:{{{Keywords|}}}|,|x|[[Keywords::x]]}}
 
|}
 
|}
 +
{| style="width:28em; padding: 10px; float: right; clear: right; background-color: #f9f9f9; border: 2px"
 +
! style="text-align: center; background-color:#ccccff;" colspan="1" |Major <big>Keywords</big> from activities
 +
|-
 +
| {{#ask: [[Supervisor::{{SUBJECTPAGENAME}}]] OR [[Lecturer::{{SUBJECTPAGENAME}}]] OR [[User::{{SUBJECTPAGENAME}}]] OR [[{{SUBJECTPAGENAME}}]]
 +
| ?Keywords
 +
| format=tagcloud
 +
| maxtags=40
 +
}}
 +
|}
 +
<!--- 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
 +
|profile={{{LinkedIN}}}
 +
|name={{{Prename}}} {{{Name}}}
 +
|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 -->
 +
{{#ask: [[Lecturer::{{PAGENAME}}]] [[Category:Course]] [[ResearchArea::+]]| ?Course | ?Title= | format=ul
 +
| limit=10;
 +
| intro=<h1>Courses</h1>&#10;'''{{PAGENAME}} is involved in running the following courses:'''&#10;
 +
}}
 +
<!-- Lecturer -->
 +
{{#ask: [[Lecturer::{{PAGENAME}}]] [[Category:Course]]| ?Course= | format=ul
 +
| limit=8
 +
| intro=<h1>Lecturer</h1>&#10;'''{{PAGENAME}} has given the following lectures:'''&#10;
 +
}}
 +
= Presentations =
 +
{{#ask: [[Category:Presentation]][[Presenter::{{SUBJECTPAGENAME}}]] |?Title |?Project |?Date |?Presentation File |?Presentation_view |?Presenter |?Keywords |?Event
 +
|mainlabel=-
 +
|sort=Date
 +
|order=desc
 +
|limit=25
 +
|format=template
 +
|template=Presentation_table
 +
| introtemplate=Table_header
 +
| outrotemplate=Table_footer
 +
}}
 +
<!--- {{Show_Presentation|{{SUBJECTPAGENAME}}|+}} --->
  
 +
= 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;
 +
}}
  
User {{PAGENAME}} is involved in the following activities:
+
{{#ask: [[Project Participant::{{PAGENAME}}]] [[Due_date::>{{CURRENTYEAR}}]]
{{#ask: [[User::{{PAGENAME}}]]| ?User= for | ?Titel= AI: | format=ul
+
|?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 -->
 +
{{#ask: [[User::{{PAGENAME}}]] [[Category:Thesis]] [[ThesisStatus::+]]|?User=by: ||?Supervisor=, Supervisor(s):  | format=ul
 +
| limit=15
 +
| intro='''{{PAGENAME}} works/worked on the following ongoing thesis:'''&#10;
 +
}}
 +
<!-- Ongoing Thesis -->
 +
{{#ask: [[Supervisor::{{PAGENAME}}]] [[Category:Thesis]] [[ThesisStatus::Ongoing]]
 +
|?User=by: ||?Supervisor=, Supervisor(s):  | format=ul
 +
| limit=15
 +
| intro='''{{PAGENAME}} is supervisor of the following ongoing theses:'''&#10;
 +
}}
 +
<!-- Planned Thesis -->
 +
{{#ask: [[Supervisor::{{PAGENAME}}]] [[Category:Thesis]] [[ThesisStatus::Planned]]
 +
|?User=by: ||?Supervisor=Supervisor(s):  
 +
| format=ul
 +
| sort=Creation date
 +
| order=descending
 +
| limit=20
 +
| intro='''{{PAGENAME}} is offering the following theses:'''&#10;
 +
}}
 +
<!-- Delivered Thesis -->
 +
{{#ask: [[Supervisor::{{PAGENAME}}]] [[Category:Thesis]][[ThesisStatus::Finished]]|?User=by: ||?Supervisor=Supervisor(s): |?DueDate=Delivered: | sort=DueDate | order=desc | format=ul
 +
| limit=10
 +
| intro='''{{PAGENAME}} has previously been supervisor for:'''&#10;
 +
}}
 +
=Meetings =
 +
<!-- Meetings -->
 +
{{#ask: [[User::{{SUBJECTPAGENAME}}]] [[Category:Meeting]]| ?Date=on  | format=ul |sort=Date | sep=',  |order=desc
 +
| limit=25
 +
| 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>
This page was created by: [[Form:AddUser]]
+
== About ==
 +
[[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