Difference between revisions of "Template:Infobox officeholder/short description"
Jump to navigation
Jump to search
Template documentation
imported>Jonesey95 (test for office= and make term_start optional (in lieu of testing for it)) |
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).) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#if: {{{office|}}}| {{#if: {{{order|}}} | + | <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> | ||
Revision as of 20:15, 21 January 2021
This template is used by Template:T to generate automatic short descriptions.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |