Difference between revisions of "Template:Employment/Incumbent/Output"

From Wikispooks
Jump to navigation Jump to search
(testing)
Line 1: Line 1:
 
<noinclude>'''This template formats the output for [[Template:Employment/Incumbent]].'''<br/>
 
<noinclude>'''This template formats the output for [[Template:Employment/Incumbent]].'''<br/>
 
It has only one parameter, that of a posting of an the most recent appointee of an [[Template:employment|employment]] object.[[Category:Semantic Output Templates]]
 
It has only one parameter, that of a posting of an the most recent appointee of an [[Template:employment|employment]] object.[[Category:Semantic Output Templates]]
<!--  e.g.    Mario Draghi#_11a07e6d388b6cb73b28c26ab550e7fb --></noinclude><includeonly>{{#if: {{#show: {{{1|}}}|?Start}}|{{#:if {{#show: {{{1|}}}|?End}}|<!-- Has a start and an end, so no 'incumbent'|Inc {{Image of|pagename={{#if: {{#pos:{{{1|}}}}}|{{#substring:{{{1|}}}|0|{{#pos: {{{1|}}}|#}}}}}}}}<br/>'''Incumbent'''<br/>Since {{#show: {{{1|}}}|?Start}}}}}}</includeonly>
+
<!--  e.g.    Mario Draghi#_11a07e6d388b6cb73b28c26ab550e7fb --></noinclude><includeonly>{{#if: {{#show: {{{1|}}}|?Start}}|S{{#:if {{#show: {{{1|}}}|?End}}|X<!-- Has a start and an end, so no 'incumbent'|Inc {{Image of|pagename={{#if: {{#pos:{{{1|}}}}}|{{#substring:{{{1|}}}|0|{{#pos: {{{1|}}}|#}}}}}}}}<br/>'''Incumbent'''<br/>Since {{#show: {{{1|}}}|?Start}}}}}}</includeonly>

Revision as of 09:30, 17 April 2016

This template formats the output for Template:Employment/Incumbent.
It has only one parameter, that of a posting of an the most recent appointee of an employment object.