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

From blackwiki
Jump to navigation Jump to search
imported>Rummskartoffel
(It's better to check for term_start than just making it optional: e.g. "MP from to 1998" would make no sense. Also removed {{plain text}} since that's taken care of in the main template already (see sandbox).)
imported>Rummskartoffel
m (This should get rid of leading and trailing spaces in the SDs)
 
Line 1: Line 1:
<includeonly>{{#if: {{{office|}}} | {{#if: {{{order|}}} | {{{order}}} {{{office}}} | {{#if: {{{term_end|}}} | {{#if: {{{term_start|}}} | {{{office}}} from {{YEAR|{{{term_start|}}}}} to {{YEAR|{{{term_end}}}}} | {{{office}}} }} | {{{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|}}} |{{{order}}} {{{office}}}| {{#if: {{{term_end|}}} | {{#if: {{{term_start|}}} |{{{office}}} from {{YEAR|{{{term_start|}}}}} to {{YEAR|{{{term_end}}}}}|{{{office}}}}} |{{{office}}}}} }} }}</includeonly><noinclude>{{documentation|content=This template is used by {{t|{{ROOTPAGENAME}}}} to generate automatic [[wp:short description|short description]]s.}}
 
</noinclude>
 
</noinclude>

Latest revision as of 12:32, 23 January 2021

Template documentation

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