Template:Infobox person: Difference between revisions

From Wikivahdat
No edit summary
No edit summary
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
|name        = جعبه اطلاعات شخصیت
| name           = Infobox person
|bodystyle   =  
| child          = {{{child|}}}
| subbox         = {{{subbox|}}}
| italic title  = {{{italic title|no}}}
| templatestyles =
| child templatestyles =
| grandchild templatestyles =
| bodystyle     = font-size: 90%; line-height: unset;


|titlestyle   =  
| titlestyle     =  
|abovestyle   = background:#cfc;
| abovestyle     = background-color:#CAE1FF; font-size:125%; font-weight: bold
|subheaderstyle =
| subheaderstyle =  
|title       =  
| title         =  
|above       = جعبه اطلاعات شخصیت
| above         = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
|subheader   =
| subheader     =  
|subheader2  =  


|imagestyle  =  
|   imagestyle  =  
|captionstyle =  
| captionstyle   =  
| image     =  
|   image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image width|{{{image width|}}}}}}}}}|sizedefault=frameless|alt={{{image description|}}}|suppressplaceholder=yes}}
|caption     =  
|caption         = {{{image title|{{{image caption|{{{image title|{{{image caption|}}}}}}}}}}}}
|  image2      =
| caption2      =
| headerstyle    = background:#ddf


  |headerstyle = background:#ccf;
|labelstyle    = background:#ddf
  |labelstyle   = background:#ddf;
| datastyle    = 
  |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|}}}


|header1 =
| belowstyle     =
| label1 = عنوان
| below         =  
|  data1 = {{{عنوان|}}}
|header2 =
| label2 = تاریخ
|  data2 = {{{تاریخ|}}}
|header3 =
| label3 = سن
|  data3 =
|header4 =
| label4 = وفات
|  data4 =
|header5 =
| label5 = سال وفات
|  data5 =
 
|belowstyle = background:#ddf;
|below     =  
}}<noinclude>
}}<noinclude>
[[Category:Infobox templates]]
{{documentation}}
{{documentation}}
[[Category:الگو:جعبه‌های اطلاعات]]
</noinclude>
</noinclude>

Latest revision as of 10:48, 21 January 2024

Infobox person
Personal details