Difference between revisions of "Template:User"
From its-wiki.no
Josef.Noll (Talk | contribs) |
Josef.Noll (Talk | contribs) |
||
(28 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|{{#!: | {{#ifingroup:user|{{#!: | ||
|- | |- | ||
Line 61: | 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 67: | 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:''' | + | | intro=<h1>Courses</h1> '''{{PAGENAME}} is involved in running the following courses:''' |
}} | }} | ||
<!-- 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:''' | + | | intro=<h1>Lecturer</h1> '''{{PAGENAME}} has given the following lectures:''' |
}} | }} | ||
= Presentations = | = Presentations = | ||
− | {{Show_Presentation|{{SUBJECTPAGENAME}}|+}} | + | {{#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 = | = Projects = | ||
− | + | {{#ask: [[Category:Project]][[Project leader::{{PAGENAME}}]] [[Due_date::>{{CURRENTYEAR}}]] | |
− | {{#ask: [[Project leader::{{ | + | |?Title=dealing with |
− | | intro='''{{PAGENAME}} | + | |?Partner=supported by: |
− | + | |?StartDate | |
+ | |?Due_date | ||
+ | | format=table | ||
+ | | limit=25 | ||
+ | | sort=Due_date | ||
+ | |order=descending | ||
+ | | intro='''ongoing projects, led by {{PAGENAME}}:''' | ||
}} | }} | ||
− | {{#ask: [[Project Participant::{{PAGENAME}} | + | |
− | | intro= | + | {{#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: }} | ||
+ | |||
+ | {{#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}}:''' | ||
}} | }} | ||
− | =Thesis | + | |
+ | {{#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: }} | ||
+ | |||
+ | ''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 100: | 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:''' | | intro='''{{PAGENAME}} is supervisor of the following ongoing theses:''' | ||
}} | }} | ||
<!-- 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= | + | |?User=by: ||?Supervisor=Supervisor(s): |
+ | | format=ul | ||
+ | | sort=Creation date | ||
+ | | order=descending | ||
+ | | limit=20 | ||
| intro='''{{PAGENAME}} is offering the following theses:''' | | intro='''{{PAGENAME}} is offering the following theses:''' | ||
}} | }} | ||
Line 117: | 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= | + | | limit=25 |
| intro='''{{SUBJECTPAGENAME}} participated in Meeting(s):''' | | intro='''{{SUBJECTPAGENAME}} participated in Meeting(s):''' | ||
}} | }} | ||
Line 125: | 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.