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

From blackwiki
Jump to navigation Jump to search
imported>Rummskartoffel
(moved shortdesc logic to sub-template)
 
imported>Rummskartoffel
(+documentation)
Line 1: Line 1:
{{#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>{{#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>

Revision as of 18:01, 21 January 2021

Template documentation

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