Template:Infobox comedian: Difference between revisions
From Chalo Chatu, Zambia online encyclopedia
Jump to navigationJump to search
Chalochatu (talk | contribs) No edit summary |
Chalochatu (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{| class="infobox" style="width: | <includeonly>{| class="infobox" style="max-width:280px; width:100%; font-size:90%; border:1px solid #aaa; background:#f9f9f9; border-collapse:separate; border-spacing:0;" | ||
|+ style="font-size:110%; font-weight:bold; text-align:center; background:#e6e6e6;" | {{{name|{{PAGENAME}}}}} | |+ style="font-size:110%; font-weight:bold; text-align:center; background:#e6e6e6; padding:6px;" | {{{name|{{PAGENAME}}}}} | ||
<!-- IMAGE --> | |||
|- | |- | ||
| style="text-align:center;" | {{#if:{{{image|}}} | | style="text-align:center; padding:6px;" | | ||
{{#if:{{{image|}}} | |||
| [[File:{{#replace:{{{image}}}|File:|}}|{{{image_size|220px}}}{{#if:{{{image_border|}}}||]]}}<!-- close now if no border --> | |||
{{#if:{{{image_border|}}} | |||
| |border}} | |||
]] | |||
| [[File:Placeholder image male portrait.svg|{{{image_size|220px}}}]] | |||
}} | }} | ||
{{#if:{{{caption|}}}| | |||
|- | |- | ||
| style="text-align:center; font-size:85%;" | {{{caption | | style="text-align:center; font-size:85%; padding:0 6px 6px 6px; color:#555;" | {{{caption}}} | ||
}} | |||
<!-- BODY --> | |||
|- | |- | ||
! style="text-align:left; width: | ! style="text-align:left; width:36%; padding:6px; background:#f2f2f2;" | Birth name | ||
| {{{birth_name|}}} | | style="padding:6px;" | {{{birth_name|}}} | ||
|- | |- | ||
! style="text-align:left;" | Born | ! style="text-align:left; padding:6px; background:#f2f2f2;" | Born | ||
| {{{birth_date|}}} {{#if:{{{birth_place|}}}|<br/>{{{birth_place}}}}} | | style="padding:6px;" | | ||
{{{birth_date|}}}{{#if:{{{birth_place|}}}|<br />{{{birth_place}}}}} | |||
|- | |- | ||
! style="text-align:left;" | Nationality | ! style="text-align:left; padding:6px; background:#f2f2f2;" | Nationality | ||
| {{{nationality|}}} | | style="padding:6px;" | {{{nationality|}}} | ||
|- | |- | ||
! style="text-align:left;" | Occupation | ! style="text-align:left; padding:6px; background:#f2f2f2;" | Occupation | ||
| {{{occupation|}}} | | style="padding:6px;" | {{{occupation|}}} | ||
|- | |- | ||
! style="text-align:left;" | Years active | ! style="text-align:left; padding:6px; background:#f2f2f2;" | Years active | ||
| {{{years_active|}}} | | style="padding:6px;" | {{{years_active|}}} | ||
|- | |- | ||
! style="text-align:left;" | Known for | ! style="text-align:left; padding:6px; background:#f2f2f2;" | Known for | ||
| {{{known_for|}}} | | style="padding:6px;" | {{{known_for|}}} | ||
|- | |- | ||
! style="text-align:left;" | Notable works | ! style="text-align:left; padding:6px; background:#f2f2f2;" | Notable works | ||
| {{{notable_works|}}} | | style="padding:6px;" | {{{notable_works|}}} | ||
{{#if:{{{father|}}}| | |||
|- | |- | ||
! style="text-align:left;" | Father | ! style="text-align:left; padding:6px; background:#f2f2f2;" | Father | ||
| {{{father|}}} | | style="padding:6px;" | {{{father}}} | ||
}} | |||
{{#if:{{{spouse|}}}| | |||
|- | |- | ||
! style="text-align:left;" | Spouse | ! style="text-align:left; padding:6px; background:#f2f2f2;" | Spouse | ||
| {{{spouse|}}} | | style="padding:6px;" | {{{spouse}}} | ||
}} | |||
{{#if:{{{children|}}}| | |||
|- | |- | ||
! style="text-align:left;" | Children | ! style="text-align:left; padding:6px; background:#f2f2f2;" | Children | ||
| {{{children | | style="padding:6px;" | {{{children}}} | ||
}} | |||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Infobox templates|Comedian]] | [[Category:Infobox templates|Comedian]] | ||
</noinclude> | </noinclude> |
Revision as of 07:56, 30 September 2025
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Usage
This template is used to create an infobox for articles about comedians on Chalo Chatu. It summarizes key details such as birth name, date and place of birth, occupation, and notable works.
Place the following code at the top of the article, usually before the lead section:
{{Infobox comedian | name = | image = | caption = | birth_name = | birth_date = {{birth date and age|YYYY|MM|DD}} | birth_place = | nationality = | occupation = | years_active = | known_for = | notable_works = | father = | spouse = | children = }}
Parameters
name
- The stage name or commonly known name of the comedian. Defaults to the page name.
image
- An image of the comedian (use
). caption
- Caption text for the image.
birth_name
- The full birth name.
birth_date
- Date of birth (use {{birth date and age}} if possible).
birth_place
- Place of birth (city, region, country).
nationality
- The nationality of the comedian.
occupation
- Occupation(s), usually “Comedian”, but may include “Actor”, “Writer”, etc.
years_active
- Years the comedian has been active (e.g.,
2010–present
). known_for
- What the comedian is widely known for (style, type of comedy).
notable_works
- Notable works (TV shows, skits, films, stand-up specials).
father
- Name of father (if relevant).
spouse
- Name of spouse(s) (if notable or referenced).
children
- Number of children or names (if notable).
Example
{{Infobox comedian | name = Ba Matero | image = Example.jpg | caption = Ba Matero performing in 2024 | birth_name = Francis Nundwe | birth_date = {{birth date and age|2000|4|2}} | birth_place = Matero, Lusaka, Zambia | nationality = Zambian | occupation = Comedian, Boxer | years_active = 2021–present | known_for = Unique miming comedy on suburban life | notable_works = Comedy skits on social media | father = Bishop John General | spouse = (married) | children = 1 }}
See also
- {{Infobox person}}
- {{Infobox actor}}