Template:OfficeHolder: Difference between revisions

From FeyworldWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 26: Line 26:
</noinclude><includeonly>
</noinclude><includeonly>
{{#if:{{{title1|}}}|{{!}}-
{{#if:{{{title1|}}}|{{!}}-
{{!}}<div style="text-align: center;font-size: 1em;">'''{{{title1}}}{{#if:{{{region1|}}}|&nbsp;of&nbsp;{{{region1}}}|}}'''{{#if:{{{termstart1|}}}|<br />in&nbsp;office<br />{{{termstart1}}}&nbsp;to&nbsp;{{#if:{{{termend1|}}}|{{{termend1}}}|present}}}}</div>|}}
{{!}}<hr style="length:20px;">
{{!}}-
{{!}}<div style="text-align: center;font-size: 1em;">'''{{{title1}}}{{#if:{{{region1|}}}|&nbsp;of&nbsp;{{{region1}}}|}}'''{{#if:{{{termstart1|}}}|<br />in&nbsp;office<br />{{{termstart1}}}&nbsp;to&nbsp;{{#if:{{{termend1|}}}|{{{termend1}}}|present}}}}</div>|}}{{#if:{{{title2|}}}|{{!}}-
{{!}}<div style="text-align: center;font-size: 1em;">'''{{{title2}}}{{#if:{{{region2|}}}|&nbsp;of&nbsp;{{{region2}}}|}}'''{{#if:{{{termstart2|}}}|<br />in&nbsp;office<br />{{{termstart2}}}&nbsp;to&nbsp;{{#if:{{{termend2|}}}|{{{termend2}}}|present}}}}</div>|}}{{#if:{{{title3|}}}|{{!}}-
{{!}}<div style="text-align: center;font-size: 1em;">'''{{{title3}}}{{#if:{{{region3|}}}|&nbsp;of&nbsp;{{{region3}}}|}}'''{{#if:{{{termstart3|}}}|<br />in&nbsp;office<br />{{{termstart3}}}&nbsp;to&nbsp;{{#if:{{{termend3|}}}|{{{termend3}}}|present}}}}</div>|}}{{#if:{{{title4|}}}|{{!}}-
{{!}}<div style="text-align: center;font-size: 1em;">'''{{{title4}}}{{#if:{{{region4|}}}|&nbsp;of&nbsp;{{{region4}}}|}}'''{{#if:{{{termstart4|}}}|<br />in&nbsp;office<br />{{{termstart4}}}&nbsp;to&nbsp;{{#if:{{{termend4|}}}|{{{termend4}}}|present}}}}</div>|}}

Revision as of 17:20, 24 June 2026

Use the following to cut and paste to an entry for an officeholder infobox on a person entry

{{OfficeHolder
|title1=<!-- The highest current title they hold -->
|region1=<!-- The region (or nation or city or town) where title1 is relevant -->
|termstart1=<!-- The date the term of office began, make sure to use a year template for the year -->}}
|termend1=<!-- The date the term of office ended, if any; make sure to use a year template for the year -->}}
|title2=<!-- The second highest current or past title they hold -->
|region2=<!-- The region (or nation or city or town) where title1 is relevant -->
|termstart2=<!-- The date the term of office began, make sure to use a year template for the year -->}}
|termend2=<!-- The date the term of office ended, if any; make sure to use a year template for the year -->}}
|title3=<!-- The third highest current or past title they hold -->
|region3=<!-- The region (or nation or city or town) where title1 is relevant -->
|termstart3=<!-- The date the term of office began, make sure to use a year template for the year -->}}
|termend3=<!-- The date the term of office ended, if any; make sure to use a year template for the year -->}}
|title4=<!-- The fourth highest current or past title they hold -->
|region4=<!-- The region (or nation or city or town) where title1 is relevant -->
|termstart4=<!-- The date the term of office began, make sure to use a year template for the year -->}}
|termend4=<!-- The date the term of office ended, if any; make sure to use a year template for the year -->}}
|title5=<!-- The fifth highest current or past title they hold -->
|region5=<!-- The region (or nation or city or town) where title1 is relevant -->
|termstart5=<!-- The date the term of office began, make sure to use a year template for the year -->}}
|termend5=<!-- The date the term of office ended, if any; make sure to use a year template for the year -->}}