Difference between revisions of "Template:Researcher"
From Origins
(One intermediate revision by one other user not shown) | |||
Line 9: | Line 9: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | </noinclude><includeonly>{{#set: | + | </noinclude><includeonly><!-- |
+ | -->{{#set: | ||
|Alias={{{Aliases|}}}|+sep=; | |Alias={{{Aliases|}}}|+sep=; | ||
|Last name={{{Last name|{{#explode:{{{Name|{{PAGENAME}}}}}| |-1}}}}} | |Last name={{{Last name|{{#explode:{{{Name|{{PAGENAME}}}}}| |-1}}}}} | ||
− | }}<div class="pull-right"><span class="sysop-show">[{{fullurl:{{ | + | }}<div class="pull-right" id="buttons"><span class="sysop-show">{{EditWithForm|Researcher}}</span>{{#if:{{{Image|{{PAGENAME:{{Get file}}}}}}}||<span class="sysop-show">[{{fullurl:Special:UploadWizard|campaign={{urlencode:Page file}}&{{urlencode:fields[]}}={{FULLPAGENAMEE}}}} <span class="button btn btn-primary">Add a photo</span>]</span>}}[{{fullurl:{{FULLPAGENAME}}|action=purge}} <span class="button btn btn-success">{{int:smw_purge}}</span>]</div> |
− | [{{fullurl:{{FULLPAGENAME}}|action=purge}} <span class="button btn btn-success">{{int:smw_purge}}</span>]</div> | ||
<div class="row" style="clear: both"> | <div class="row" style="clear: both"> | ||
− | {{#if:{{{Image|}}}|{{#ifexist:File:{{{Image|}}}|<div class="col-sm-4"> | + | {{#if:{{{Image|{{Get file}}}}}|{{#ifexist:File:{{{Image|{{PAGENAME:{{Get file}}}}}}}|<div class="col-sm-4"> |
− | {{#set:Image page=File:{{{Image|}}}}} | + | {{#set:Image page=File:{{{Image|{{PAGENAME:{{Get file}}}}}}}}} |
− | [[Image:{{{Image|}}}|300px|class=img-thumbnail img-responsive]] | + | [[Image:{{{Image|{{PAGENAME:{{Get file}}}}}}}|300px|class=img-thumbnail img-responsive]]{{#if:{{Get file}}|<span class="sysop-show">([{{fullurl:{{Get file}}|action=delete}} X])</span>}} |
</div>}}}} | </div>}}}} | ||
− | <div class="col-sm-{{#if:{{{Image|}}}|8|12}}"> | + | <div class="col-sm-{{#if:{{{Image|{{PAGENAME:{{Get file}}}}}}}|8|12}}"> |
;Name | ;Name | ||
:[[Name::{{{Name|{{PAGENAME}}}}}]]{{#if:{{{Affiliation|}}}| | :[[Name::{{{Name|{{PAGENAME}}}}}]]{{#if:{{{Affiliation|}}}| | ||
Line 37: | Line 37: | ||
== Related links == | == Related links == | ||
{{{Related links|}}} | {{{Related links|}}} | ||
− | }} | + | }}{{#ask: |
− | {{#ask: | ||
[[Category:Reference Materials]] | [[Category:Reference Materials]] | ||
{{#if:{{{Aliases|}}}| | {{#if:{{{Aliases|}}}| | ||
Line 46: | Line 45: | ||
|format=ol | |format=ol | ||
|intro=<h2><span class="mw-headline" id="Reference_Materials">Reference Materials</span></h2> | |intro=<h2><span class="mw-headline" id="Reference_Materials">Reference Materials</span></h2> | ||
+ | }} | ||
+ | == Involvement in the {{SITENAME}} Research Theme == | ||
+ | {{#ask: | ||
+ | [[Category:Agenda meetings]] | ||
+ | [[Organizer::{{FULLPAGENAME}}]] | ||
+ | |intro=<h3>Organizer</h3>This user is listed as an organizer for the following meetings: | ||
+ | |format=ol | ||
+ | }}{{#ask: | ||
+ | [[Category:Agenda items]] | ||
+ | [[Presenter::{{FULLPAGENAME}}]] | ||
+ | |intro=<h3>Presenter</h3>This user is listed as a presenter for the following agenda items: | ||
+ | |format=ol | ||
+ | }}{{#ask: | ||
+ | [[Category:Agenda meetings]] | ||
+ | [[Attendee::{{FULLPAGENAME}}]] | ||
+ | |intro=<h3>Attendee</h3>This user is listed as an attendee for the following meetings: | ||
+ | |format=ol | ||
+ | }}{{#ask: | ||
+ | [[Category:Agenda meetings]] | ||
+ | [[Student::{{FULLPAGENAME}}]] | ||
+ | |intro=<h3>Student</h3>This user is listed as a student for the following meetings: | ||
+ | |format=ol | ||
}} | }} | ||
[[Category:Researchers]]__NOTOC____NOEDITSECTION__</includeonly> | [[Category:Researchers]]__NOTOC____NOEDITSECTION__</includeonly> |
Latest revision as of 01:25, September 25, 2019
This is the "Researcher" template. It should be called in the following format:
{{Researcher |Biography= |Tags= }}
Edit the page to see the template text.