Template:Infobox official post: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
Constancia (talk | contribs) (Add the official post infobox template) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| post | |style = width:{{{width|17.5em}}}; | ||
| body | |above = {{{name|{{{post}}} <!-- | ||
| | -->{{#if:{{{body <includeonly>|</includeonly>}}} | ||
| | | of {{{body}}} | ||
}} | |||
| | <br/>{{{nativename<includeonly>|</includeonly>}}} | ||
}}} | |||
| insigniacaption | |||
| | |abovestyle = line-height:1.2em; font-size:135%; | ||
| | |image = {{#if:{{{insignia<includeonly>|</includeonly>}}} | ||
| [[Image:{{{insignia}}}|{{{insigniasize|100px}}}]] | |||
| | }} | ||
|imagestyle = padding-bottom:0.4em; border-bottom:solid 1px #ccd2d9; | |||
|caption = {{#if:{{{insigniacaption<includeonly>|</includeonly>}}} | |||
| '''{{{insigniacaption}}}'''<br/>{{{department<includeonly>|</includeonly>}}} | |||
| | }} | ||
|captionstyle = padding-top:0.2em; | |||
|labelstyle = padding:0 0.5em 0 0; background:transparent; line-height:1.1em; | |||
| imagesize | |datastyle = padding:0; line-height:1.2em; vertical-align:middle; | ||
|data1 = {{#if:{{{incumbent<includeonly>|</includeonly>}}} | |||
| <div style="padding-bottom:0.4em; <!-- | |||
| | -->border-bottom:solid 1px #ccd2d9; line-height:1.4em;"><!-- | ||
| incumbentsince | -->{{#if:{{{image<includeonly>|</includeonly>}}} | ||
| <div style="padding-bottom:0.4em;"><!-- | |||
| | -->[[File:{{{image}}}|center|border|{{{imagesize|120px}}}|alt={{{alt|}}}]]</div> | ||
| | }}<!-- | ||
| | -->'''Incumbent<br/>{{{incumbent}}}'''<!-- | ||
| | -->{{#if:{{{incumbentsince<includeonly>|</includeonly>}}} | ||
| | | <br/><small>since {{{incumbentsince}}}</small> | ||
}}<!-- | |||
| | --></div><!-- | ||
-->}} | |||
| | |label2 = [[wikipedia:Style (manner of address)|Style]] | ||
| | |data2 = {{{style<includeonly>|</includeonly>}}} | ||
|label3 = [[wikipedia:Official residence|Residence]] | |||
| | |data3 = {{{residence<includeonly>|</includeonly>}}} | ||
|label4 = Nominator | |||
| | |data4 = {{{nominator<includeonly>|</includeonly>}}}<!-- | ||
-->{{#if:{{{nominatorpost<includeonly>|</includeonly>}}} | |||
| | | <div style="padding-top:0.2em; font-size:80%;">as {{{nominatorpost}}}</div> | ||
| | }} | ||
| | |label5 = Appointer | ||
| | |data5 = {{{appointer<includeonly>|</includeonly>}}}<!-- | ||
| | -->{{#if:{{{appointerpost<includeonly>|</includeonly>}}} | ||
| | | <div style="padding-top:0.2em; font-size:80%;">as {{{appointerpost}}}</div> | ||
| | }} | ||
| | |label6 = [[wikipedia:Term of office|Term length]] | ||
| | |data6 = {{{termlength<includeonly>|</includeonly>}}} | ||
| | |label7 = Inaugural holder | ||
| | |data7 = {{{inaugural<includeonly>|</includeonly>}}} | ||
| | |label8 = Formation | ||
| | |data8 = {{{formation<includeonly>|</includeonly>}}} | ||
| | |label9 = Final holder | ||
| | |data9 = {{{last<includeonly>|</includeonly>}}} | ||
| | |label10 = Abolished | ||
| website | |data10 = {{{abolished<includeonly>|</includeonly>}}} | ||
| | |label11 = Succession | ||
}} | |data11 = {{{succession<includeonly>|</includeonly>}}} | ||
|label12 = Deputy | |||
|data12 = {{{deputy<includeonly>|</includeonly>}}} | |||
|label13 = Salary | |||
|data13 = {{{salary<includeonly>|</includeonly>}}} | |||
|label14 = Website | |||
|data14 = {{{website<includeonly>|</includeonly>}}} | |||
}}<noinclude>{{Documentation}} | |||
[[Category:Infobox templates]][[Category:Politics templates]] | |||
</noinclude> |
Revision as of 22:01, 3 April 2021
{{{post}}} of {{{body}}}
{{{nativename}}} | |
[[Image:{{{insignia}}}|100px]] {{{insigniacaption}}} {{{department}}} | |
[[File:{{{image}}}|center|border|120px|alt=]] Incumbent{{{incumbent}}} since {{{incumbentsince}}} | |
Style | {{{style}}} |
---|---|
Residence | {{{residence}}} |
Nominator |
{{{nominator}}} as {{{nominatorpost}}} |
Appointer |
{{{appointer}}} as {{{appointerpost}}} |
Term length | {{{termlength}}} |
Inaugural holder | {{{inaugural}}} |
Formation | {{{formation}}} |
Final holder | {{{last}}} |
Abolished | {{{abolished}}} |
Succession | {{{succession}}} |
Deputy | {{{deputy}}} |
Salary | {{{salary}}} |
Website | {{{website}}} |
[edit] [ ] Template documentation
{{Infobox official post |post = |body = |nativename = |insignia = |insigniasize = |insigniacaption = |department = |image = |alt = |incumbent = |incumbentsince = |style = |residence = |nominator = |nominatorpost = |appointer = |appointerpost = |termlength = |inaugural = |formation = |last = |abolished = |succession = |deputy = |salary = |website = }}
The above documentation is transcluded from Template:Infobox official post/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |