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

From Wikispooks
Jump to navigation Jump to search
(Replace #substring:)
 
(20 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>
+
<!--  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>
{{#if: {{{1|}}}|'''Incumbent: '''[[{{{1}}}|test]]<br/>
 
Since xxx
 
}}
 
<hr/>{{{1|}}} - {{{1|}}} !
 
<!--
 
{{#pos:string|search term|offset}}
 
{{#if: {{#pos:Mario Draghi#_11a07e6d388b6cb73b28c26ab550e7fb|#}}|{{#substring:Mario Draghi#_11a07e6d388b6cb73b28c26ab550e7fb|0|{{#pos:Mario Draghi#_11a07e6d388b6cb73b28c26ab550e7fb|#}}}}}}
 
-->
 

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.