Template:Infobox person: Difference between revisions
(Created page with "{{Infobox |name = |bodystyle = |titlestyle = |abovestyle = background:#cfc; |subheaderstyle = |title = |above = جعبه اطلاعات شخصیت |subheader = |subheader2 = |imagestyle = |captionstyle = | image = |caption = |headerstyle = background:#ccf; |labelstyle = background:#ddf; |datastyle = |header1 = | label1 = عنوان | data1 = {{{عنوان|}}} |header2 = تاریخ...") |
No edit summary |
||
(34 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| name = Infobox person | |||
| child = {{{child|}}} | |||
| subbox = {{{subbox|}}} | |||
| italic title = {{{italic title|no}}} | |||
| templatestyles = | |||
| child templatestyles = | |||
| grandchild templatestyles = | |||
| bodystyle = font-size: 90%; line-height: unset; | |||
| titlestyle = | |||
| abovestyle = background-color:#CAE1FF; font-size:125%; font-weight: bold | |||
| subheaderstyle = | |||
| title = | |||
| above = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}} | |||
| subheader = | |||
| imagestyle = | |||
| captionstyle = | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image width|{{{image width|}}}}}}}}}|sizedefault=frameless|alt={{{image description|}}}|suppressplaceholder=yes}} | |||
|caption = {{{image title|{{{image caption|{{{image title|{{{image caption|}}}}}}}}}}}} | |||
| image2 = | |||
| caption2 = | |||
| headerstyle = background:#ddf | |||
| | |labelstyle = background:#ddf | ||
| | | datastyle = | ||
| | | header1 = | ||
| label1 = name | |||
| data1 = {{{name|}}} | |||
| header2 = | |||
| label2 = other names | |||
| data2 = {{{other names|}}} | |||
| header3 = Personal details | |||
| label3 = | |||
| data3 = | |||
| header4 = | |||
| label4 = brith year | |||
| data4 = {{#if:{{{brith year|}}}| | |||
{{#switch: {{Last word|{{{brith year}}}}} | |||
| AD = {{#if:{{{brith year|}}}|{{{brith year}}} - {{Number in English|{{Convert date to|SH|{{{brith year|}}}}}}} SH}} - {{#if:{{{brith year|}}}|{{Number in English|{{Convert date to|HA|{{{brith year|}}}}}}} HA}} | |||
| SH = {{#if:{{{brith year|}}}|{{{brith year}}} - {{Number in English|{{Convert date to|AD|{{{brith year|}}}}}}} AD}} - {{#if:{{{brith year|}}}|{{Number in English|{{Convert date to|HA|{{{brith year|}}}}}}} HA}} | |||
| HA = {{#if:{{{brith year|}}}|{{{brith year}}} - {{Number in English|{{Convert date to|AD|{{{brith year|}}}}}}} AD}} - {{#if:{{{brith year|}}}|{{Number in English|{{Convert date to|SH|{{{brith year|}}}}}}} SH}} | |||
| {{#if:{{{|}}}|}}}} | |||
|}} | |||
| header5 = | |||
| label5 = birth place | |||
| data5 = {{{birth place|}}} | |||
| header6 = | |||
| label6 = brith date | |||
| data6 = {{{brith date|}}} | |||
| header7 = | |||
| label7 = death year | |||
| data7 = {{#if:{{{death year|}}}| | |||
{{#switch: {{Last word|{{{death year}}}}} | |||
| AD = {{#if:{{{death year|}}}|{{{death year}}} - {{Number in English|{{Convert date to|SH|{{{death year|}}}}}}} SH}} - {{#if:{{{death year|}}}|{{Number in English|{{Convert date to|HA|{{{death year|}}}}}}} HA}} | |||
| SH = {{#if:{{{death year|}}}|{{{death year}}} - {{Number in English|{{Convert date to|AD|{{{death year|}}}}}}} AD}} - {{#if:{{{death year|}}}|{{Number in English|{{Convert date to|HA|{{{death year|}}}}}}} HA}} | |||
| HA = {{#if:{{{death year|}}}|{{{death year}}} - {{Number in English|{{Convert date to|AD|{{{death year|}}}}}}} AD}} - {{#if:{{{death year|}}}|{{Number in English|{{Convert date to|SH|{{{death year|}}}}}}} SH}} | |||
| {{#if:{{{|}}}|}}}} | |||
|}} | |||
| header8 = | |||
| label8 = death place | |||
| data8 = {{{death place|}}} | |||
| header9 = | |||
| label9 = death date | |||
| data9 = {{{death date|}}} | |||
| header10 = | |||
| label10 = teachers | |||
| data10 = {{{teachers|}}} | |||
| header11 = | |||
| label11 = students | |||
| data11 = {{{students|}}} | |||
| header12 = | |||
| label12 = religion | |||
| data12 = {{{religion|}}} | |||
| header13 = | |||
| label13 = faith | |||
| data13 = {{{faith|}}} | |||
| header14 = | |||
| label14 = works | |||
| data14 = {{{works|}}} | |||
| header15 = | |||
| label15 = known for | |||
| data15 = {{{known for|}}} | |||
| header16 = | |||
| label16 = website | |||
| data16 = {{{website|}}} | |||
| belowstyle = | |||
| below = | |||
}}<noinclude> | }}<noinclude> | ||
[[Category:Infobox templates]] | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 10:48, 21 January 2024
Infobox person | |
---|---|
Personal details | |