Template:Infobox person: Difference between revisions

From Public Figures
Jump to navigation Jump to search
Created page with "<noinclude>{{Documentation}}</noinclude> ‎<templatedata> {{#template_data: | title = Infobox Person | description = A template to display information about a person. | parameters = {{#param: | name = Name | required = true | type = string | description = The name of the person. }} {{#param: | name = Image | required = false | type = string | description = The filename of the perso..."
 
mNo edit summary
 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Documentation}}</noinclude>
<div style="border: 1px solid #ccc; padding: 10px; width: 300px; background-color: #A3D9A6; float: right; margin-left: 10px; box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);">
<templatedata>
  <div style="background-color: #FFFFF0; padding: 10px; box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);">
{{#template_data:
    <span style="text-align: center; font-weight: bold; font-size: 1em;">
| title        = Infobox Person
        {{#if: {{{Name|}}} | {{{Name}}} | Unknown }}
| description  = A template to display information about a person.
    </span>
| parameters  =
  </div>
  {{#param:
    {{#if: {{{Image|}}} |
    | name        = Name
        <div style="text-align: center; margin: 10px 0;">
    | required    = true
            <div style="display: inline-block; box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);">
    | type        = string
                [[File:{{{Image}}}|250px|thumb|{{{Caption|}}}]]
    | description = The name of the person.
            </div>
  }}
        </div>
   {{#param:
    
     | name        = Image
     | }}
    | required    = false
      
     | type        = string
     <div style="background-color: #FFFFF0; padding: 10px; box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);">
     | description = The filename of the person's image.
        {{#if: {{{Knows As|}}} | <p><strong>Profile:</strong> {{{Knows As}}}</p> | }}
  }}
        {{#if: {{{Date of Birth|}}} | <p><strong>Date of Birth:</strong> {{{Date of Birth}}}</p> | }}
  {{#param:  
        {{#if: {{{Alma Mater|}}} | <p><strong>Alma Mater:</strong> {{{Alma Mater}}}</p> | }}
    | name        = Caption
        {{#if: {{{Nationality|}}} | <p><strong>Nationality:</strong> {{{Nationality}}}</p> | }}
    | required    = false
        {{#if: {{{Parents|}}} | <p><strong>Parents:</strong> {{{Parents}}}</p> | }}
    | type        = string
        {{#if: {{{Sibling/s|}}} | <p><strong>Sibling/s:</strong> {{{Sibling/s}}}</p> | }}
    | description = A caption for the image.
        {{#if: {{{Partner|}}} | <p><strong>Partner:</strong> {{{Partner}}}</p> | }}
  }}
        {{#if: {{{Years Active|}}} | <p><strong>Years Active:</strong> {{{Years Active}}}</p> | }}
  {{#param:  
        {{#if: {{{Education|}}} | <p><strong>Education:</strong> {{{Education}}}</p> | }}
    | name        = Date of Birth
        {{#if: {{{IMDB|}}} | <p><strong>IMDb:</strong> [https://www.imdb.com/name/ {{{IMDB}}}]</p> | }}
    | required    = false
        {{#if: {{{Social Media|}}} | <p><strong>Social Media:</strong> {{{Social Media}}}</p> | }}
    | type        = string
        {{#if: {{{Google|}}} | <p><strong>Google:</strong> {{{Google}}}</p> | }}
    | description = The person's date of birth.
    </div>
  }}
</div>
  {{#param:  
    | name        = Alma Mater
    | required    = false
    | type        = string
    | description = The educational institution the person attended.
  }}
  {{#param:  
    | name        = Education
    | required    = false
    | type        = string
    | description = The person's educational background.
  }}
  {{#param:  
    | name        = Nationality
    | required    = false
    | type        = string
    | description = The nationality of the person.
  }}
  {{#param:  
    | name        = Knows As
    | required    = false
    | type        = string
    | description = Any other names the person is known by.
  }}
  {{#param:  
    | name        = IMDB
    | required    = false
    | type        = string
    | description = The person's IMDb identifier.
  }}
  {{#param:  
    | name       = Google
    | required    = false
    | type        = string
    | description = The person's Google profile or identifier.
  }}
  {{#param:  
    | name        = Social Media
    | required    = false
    | type        = string
    | description = Links to the person's social media profiles.
  }}
  {{#param:  
    | name        = Years Active
    | required    = false
    | type        = string
    | description = The years the person has been active in their profession.
  }}
}}
<templatedata>

Latest revision as of 06:22, 20 October 2024

   
       Unknown