Difference between revisions of "Template:User"
From its-wiki.no
Josef.Noll (Talk | contribs) |
Josef.Noll (Talk | contribs) |
||
(5 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:150;" | + | <!--- {|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:''' | | 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 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.