Template:OfficeHolder: Difference between revisions

From FeyworldWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(9 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|}}}|{{!}}-
{{!}}<div style="text-align: center;font-size: 1em;">'''{{{title1}}}{{#if:{{{region1|}}}|&nbsp;of&nbsp;{{{region1}}}|}}'''{{#if:{{{termstart1|}}}|:in&nbsp;office:{{{termstart1}}}&nbsp;to&nbsp;{{#if:{{{termend1|}}}|{{{termend1}}}|present}}}}</div>|}}
{{!}}<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;">'''[[{{{title}}}]]{{#if:{{{region|}}}|&nbsp;of&nbsp;{{{region}}}|}}'''{{#if:{{{termstart|}}}|<br />in&nbsp;office<br />{{{termstart}}}&nbsp;to&nbsp;{{#if:{{{termend|}}}|{{{termend}}}|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 -->