Difference between revisions of "Template:Employment/Incumbent"

From Wikispooks
Jump to navigation Jump to search
(Fix)
 
Line 1: Line 1:
 
<noinclude>'''This is a sub template of [[Template:Employment]], used to create the picture of the incumbent, if there is one.'''<br/>
 
<noinclude>'''This is a sub template of [[Template:Employment]], used to create the picture of the incumbent, if there is one.'''<br/>
The first parameter is the employment title.<br/>
+
The first parameter is the employment title. If unused, it defaults to <nowiki><{{PAGENAME}}</nowiki>.<br/>
 
</br>
 
</br>
 
i.e. <nowiki>{{Employment/Incumbent|President of the European Central Bank}}</nowiki>
 
i.e. <nowiki>{{Employment/Incumbent|President of the European Central Bank}}</nowiki>
</noinclude><includeonly>{{#ask:[[Constitutes::Posting]][[Has jobTitle::{{PAGENAME}}]]
+
</noinclude><includeonly>{{#ask:[[Constitutes::Posting]][[Has jobTitle::{{#if: {{{1|}}}|{{{1}}}|{{PAGENAME}}}}]]
 
|format=template
 
|format=template
 
|template=Employment/Incumbent/Output
 
|template=Employment/Incumbent/Output

Latest revision as of 06:40, 6 October 2016

This is a sub template of Template:Employment, used to create the picture of the incumbent, if there is one.
The first parameter is the employment title. If unused, it defaults to <{{PAGENAME}}.

i.e. {{Employment/Incumbent|President of the European Central Bank}}