Template:OfficeHolder: Difference between revisions

From FeyworldWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
<pre><nowiki>
<pre><nowiki>
{{OfficeHolder
{{OfficeHolder
|title1=<!-- The highest current title they hold -->
|title=<!-- The highest current title they hold, this will be linked -->
|region1=<!-- The region (or nation or city or town) where title1 is relevant -->
|region=<!-- 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 -->}}
|termstart=<!-- 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 -->}}
|termend=<!-- 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 -->}}
</nowiki></pre>[[Category:Templates]]
</nowiki></pre>[[Category:Templates]]
</noinclude><includeonly>
</noinclude><includeonly>
{{#if:{{{title1|}}}|{{!}}-
{{#if:{{{title|}}}|{{!}}-
{{!}}<hr style="width:20px;">
{{!}}<hr style="width:150px;margin: 5px auto;border:none;height:2px;background-color:#658334;box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);">
{{!}}-
{{!}}-
{{!}}<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;">'''[[{{{title}}}]]{{#if:{{{region|}}}|&nbsp;of&nbsp;{{{region}}}|}}'''{{#if:{{{termstart|}}}|<br />in&nbsp;office<br />{{{termstart}}}&nbsp;to&nbsp;{{#if:{{{termend|}}}|{{{termend}}}|present}}}}</div>|}}
{{!}}<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>|}}

Latest revision as of 18:33, 24 June 2026

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

{{OfficeHolder
|title=<!-- The highest current title they hold, this will be linked -->
|region=<!-- The region (or nation or city or town) where title1 is relevant -->
|termstart=<!-- The date the term of office began, make sure to use a year template for the year -->
|termend=<!-- The date the term of office ended, if any; make sure to use a year template for the year -->