Difference between revisions of "Template:Infobox officeholder/short description"

From blackwiki
Jump to navigation Jump to search
imported>Rummskartoffel
(+documentation)
imported>Jonesey95
(test for office= and make term_start optional (in lieu of testing for it))
Line 1: Line 1:
<includeonly>{{#if: {{{order|}}} | {{plain text|{{{order}}}}} {{plain text|{{{office}}}}} | {{#if: {{{term_end|}}} | {{plain text|{{{office}}}}} from {{YEAR|{{plain text|{{{term_start}}}}}}} to {{YEAR|{{plain text|{{{term_end}}}}}}} | {{plain text|{{{office}}}}} }} }}</includeonly><noinclude>{{documentation|content=This template is used by {{t|{{ROOTPAGENAME}}}} to generate automatic [[wp:short description|short description]]s.}}
+
<includeonly>{{#if: {{{office|}}}| {{#if: {{{order|}}} | {{plain text|{{{order}}}}} {{plain text|{{{office}}}}} | {{#if: {{{term_end|}}} | {{plain text|{{{office}}}}} from {{YEAR|{{plain text|{{{term_start|}}}}}}} to {{YEAR|{{plain text|{{{term_end}}}}}}} | {{plain text|{{{office}}}}} }} }} }}</includeonly><noinclude>{{documentation|content=This template is used by {{t|{{ROOTPAGENAME}}}} to generate automatic [[wp:short description|short description]]s.}}
 
</noinclude>
 
</noinclude>

Revision as of 18:31, 21 January 2021

Template documentation

This template is used by Template:T to generate automatic short descriptions.