Template:Infobox actor: Difference between revisions

From Robin's SM-201 Website
Jump to navigation Jump to search
No edit summary
No edit summary
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><div style="text-align:top;">
{|class="infobox" cellspacing="5" style="width:28em; font-size:90%; border: 1px solid black;padding:0.5em  1em 0.5em 1em" align="right"
{|class="infobox" cellspacing="5" style="width:28em; font-size:85%; border: 1px solid black;padding:0.5em  1em 0.5em 1em; " align="right" text-align="top"
|-
|-
|colspan="3" style="text-align:center; font-size:larger; background-color:{{#if:{{{bgcolour|}}}|<nowiki/>{{{bgcolour}}}|<nowiki/>#ed8}}; color:#000000;"| '''{{{name|{{PAGENAME}}}}}'''
|colspan="3" style="text-align: center; font-size: larger; background-color:{{{color|#ddf}}}; color:#000;" | '''{{{name|{{PAGENAME}}}}}'''
|-
|-
|colspan="3" style="text-align:center; font-size:90%;" | {{#if:{{{image|}}} |<!--then:-->[[Image:{{{image}}}|{{#if:{{{imagesize|}}}|<!--then: -->{{{imagesize}}}|<!--else:-->220px}}| ]]<br/><small>{{{caption|}}}</small>}}
|colspan="3" style="text-align: center; font-size: 90%; line-height: 15px;"|{{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|220px}}| ]]<br /><small>{{{caption|}}}</small>}}
|-
|-
{{#if:{{{nationality|}}} |
|colspan="3" style="text-align: center; font-weight: bold; background-color: {{{color|#ddf}}};" | Background information
{{!}}''' Nationality'''
{{!}} {{{nationality|&nbsp;}}}
}}
|-
{{#if:{{{birthname|}}} |  
{{!}}'''Birth name'''
{{!}} {{{birthname|&nbsp;}}}
}}
|-
|-
{{#if:{{{othername|}}} |
{{#if:{{{nationality|}}} | {{!}}''' Nationality''' {{!!}} {{{nationality|}}} }}
{{!}} '''Other name(s)'''  
|-
{{!}} {{{othername|}}}
{{#if:{{{othername|}}} | {{!}} '''Other name(s)''' {{!!}} {{{othername|}}} }}
}}
|-
{{#if:{{{parents|}}} | {{!}}'''Parents''' {{!!}} {{{parents}}} }}
|-
{{#if:{{{birthdate|}}}  | {{!}} '''Born''' {{!!}} {{{birthdate|}}} }}
|-
|-
{{#if:{{{parents|}}} |  
{{#if:{{{birthplace|}}} | {{!}} '''Birth place:''' {{!!}} {{{birthplace|}}} }}
{{!}}'''Parents'''
{{!}} {{{parents}}}
}}
|-
{{#if:{{{birthdate|}}} |
{{!}} '''Born'''
{{!}} {{{birthdate|}}}<br/> {{{location|}}}
}}
|-
{{#if:{{{deathdate|}}} |
{{!}} '''Died'''  
{{!}} {{{deathdate|&nbsp;}}}<br/>{{{deathplace|&nbsp;}}}
}}
|-
{{#if:{{{height|}}} |
{{!}} '''Height'''
{{!}} {{{ht|{{{height}}}}}}
}}
|-
|-
{{#if:{{{weight|}}} |
{{#if: {{{birthname|}}} | {{!}} '''Born as''' {{!!}} {{{birthname|}}} }}
{{!}} '''Weight'''  
|-
{{!}} {{{wt|{{{weight}}}}}}
{{#if: {{{deathdate|}}} | {{!}} '''Died''' {{!!}} {{{deathdate|}}} }}
}}
|-
|-
{{#if:{{{vitals|}}} |
{{#if: {{{deathplace|}}}| {{!}} &nbsp;    {{!!}} {{{deathplace|}}} }}
{{!}} '''Vital stats'''
{{!}} {{{vitals|}}}
}}
|-
|-
{{#if:{{{occupation|}}} |
{{#if:{{{deathcause|}}} | {{!}} '''Cause:''' {{!!}} {{{deathcause|}}} }}
{{!}} '''Occupation'''  
{{!}} {{{occupation|}}}
}}
|-
|-
{{#if:{{{yearsactive|}}} |
{{#if:{{{height|}}}     | {{!}} '''Height''' {{!!}} {{{height}}} }}
{{!}} '''Years active'''  
{{!}} {{{yearsactive|}}}
}}
|-
|-
{{#if:{{{spouse|}}} |
{{#if:{{{weight|}}}     | {{!}} '''Weight''' {{!!}} {{{weight|}}} }}
{{!}} '''Spouse(s)''' {{!!}} {{{spouse|}}}
}}
|-
|-
{{#if:{{{children|}}} |
{{#if:{{{vitals|}}} | {{!}} '''Vital stats''' {{!!}} {{{vitals|}}} }}
{{!}} '''Children'''  
|- valign="top"
{{!}} {{{children|}}}
{{#if:{{{occupation|}}} | {{!}} '''Occupation''' {{!!}} {{{occupation|}}} }}
}}
|-
{{#if:{{{yearsactive|}}} | {{!}} '''Years active''' {{!!}} {{{yearsactive|}}} }}
|- valign="top"
{{#if:{{{spouse|}}} | {{!}} '''Spouse(s)''' {{!!}} {{{spouse|}}} }}
|- valign="top"
{{#if:{{{children|}}} | {{!}} '''Children''' {{!!}} {{{children|}}} }}
|-
|-
{{#if:{{{homepage|}}} |
{{#if:{{{homepage|}}} | {{!}} '''Official site''' {{!!}} {{{homepage|}}} }}
{{!}} '''Official site'''  
{{!}} {{{homepage|}}}
}}
|-
|-
{{#if:{{{imdb|}}} |
{{#if:{{{imdb|}}} |
Line 84: Line 51:
{{!}} {{{iafd|}}}
{{!}} {{{iafd|}}}
}}
}}
|-
|- valign="top"
{{#if:{{{notable role|}}} |
{{#if:{{{notable role|}}} |
{{!}} '''Notable roles'''
{{!}} '''Notable roles'''
{{!}}{{{notable role|}}}
{{!}}{{{notable role|}}}
}}
}}
|}</includeonly>
|- valign="top"
<noinclude>
{{#if:{{{awards|}}} |
{{!}} '''Awards'''
{{!}}{{{awards|}}}
}}
|}</includeonly><noinclude>
{{Infobox actor}}
<pre>
Usage:
Usage:
: copy template below to new page and populate
: copy template below to new page and populate
{{hr}}


{ {infobox actor<br>
{{infobox actor
| Name      = name else ((PAGENAME))<br>
| Name      = name else ((PAGENAME))
| image = image.jpg <br>
| image = image.jpg  
| imagesize = ???px else 200px <br>
| imagesize = ???px else 200px  
| nationality =
| nationality =  
| birthname= <br>
| birthdate = ((dob|year|mo|dy))
| othername =<br>
| birthplace =
| Parents =<br>
| birthname=
| birthdate = ((dob|year|mo|dy))<br>
| othername =
| location =<br>
| parents =
| deathdate =<br>
| deathdate =
| deathdate = <br>
| deathplace =  
| deathcause =<br>
| deathcause =  
| Height = ((ht|ft|in))<br>
| Height = ((ht|ft|in))
| Weight =  ((wt|nnn))<br>
| Weight =  ((wt|nnn))
| vitals = nn/nn/nn<br>
| vitals = nn/nn/nn
| occupation = <br>
| occupation =  
| yearsactive = text<br>
| yearsactive = text
| spouse = <br>
| spouse =  
| children =  
| children =  
| homepage =<br>
| homepage =
| imdb = <br>
| imdb =  
| iafd = <br>
| iafd =  
| notable role = <br>
| notable role =  
| }
| awards    =
}}
[[Category:Infobox]]
[[Category:Infobox]]
See Template:Talk:Infobox actor for page formatting</pre>
</noinclude>
</noinclude>

Latest revision as of 17:40, 14 April 2024

Infobox actor
Background information
Usage:
: copy template below to new page and populate

{{infobox actor
| Name      = name else ((PAGENAME))
| image = image.jpg 
| imagesize = ???px else 200px 
| nationality = 
| birthdate = ((dob|year|mo|dy))
| birthplace =
| birthname= 
| othername =
| parents =
| deathdate =
| deathplace = 
| deathcause = 
| Height = ((ht|ft|in))
| Weight =  ((wt|nnn))
| vitals = nn/nn/nn
| occupation = 
| yearsactive = text
| spouse = 
| children = 
| homepage =
| imdb = 
| iafd = 
| notable role = 
| awards    =
}}
[[Category:Infobox]]

See Template:Talk:Infobox actor for page formatting