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

From Wikispooks
Jump to navigation Jump to search
(center)
(Replace #substring:)
 
(6 intermediate revisions by the same user not shown)
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><center>{{#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: [[{{#if: {{#pos:{{{1|}}}}}|{{#substring:{{{1|}}}|0|{{#pos: {{{1|}}}|#}}}}}}}}]]'''<br/>Since {{#show: {{{1|}}}|?Start}}}}}}</center></includeonly>
+
<!--  e.g.    Mario Draghi#_11a07e6d388b6cb73b28c26ab550e7fb --></noinclude><includeonly><center>{{#if: {{#show: {{{1|}}}|?Start}}|{{#if: {{#show: {{{1|}}}|?End}}|<!-- Has a start and an end, so no 'incumbent'-->|{{Image of|link={{{1|}}}|pagename={{#if: {{#pos:{{{1|}}}}}|{{#sub:{{{1|}}}|0|{{#pos: {{{1|}}}|#}}}}}}}}<br/>'''Incumbent: [[{{#explode: {{{1|}}}|#|0}}]]'''<br/>Since {{#show: {{{1|}}}|?Start}}}}}}</center></includeonly>

Latest revision as of 06:08, 6 July 2019

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.