Template:Infobox: Difference between revisions
Appearance
Thaskthebard (talk | contribs) Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} <table class="infobox-table">{{#if:{{{param1|}}}|<tr> <th>Parameter 1</th> <td>{{{param1}}}</td> </tr>}}{{#if:{{{param2|}}}|<tr> <th>Parameter 2</th> <td>{{{param2}}}</td> </tr>}}{{#if:{{{param3|}}}|<tr> <th>Parameter 3</th> <td>{{{param3}}}</td> </tr>}}{{#if:{{{param4|}}}|<tr..." Tag: Recreated |
Thaskthebard (talk | contribs) m 1 revision imported |
||
| (18 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class="infobox" | <div class="infobox" style="width:300px; border:1px solid #aaa; padding:8px; background:#f9f9f9; float:right; clear:right;"> | ||
<div | <!-- Title --> | ||
<div style="font-size:140%; font-weight:bold; text-align:center; margin-bottom:6px;"> | |||
{{{title|{{PAGENAME}}}}} | |||
</div> | </div> | ||
<!-- Image --> | |||
<div style="text-align:center; margin:6px 0;"> | |||
{{#if:{{{image|}}}| | |||
[[File:{{{image}}}|250px|center]] | |||
}} | |||
<div style="font-size:85%; color:#555;"> | |||
{{{image_desc|}}} | |||
</div> | |||
</div> | |||
<!-- Section Header --> | |||
<div style="font-weight:bold; font-size:120%; margin-top:10px; border-bottom:1px solid #ccc;"> | |||
General Information | |||
</div> | |||
<!-- Fields --> | |||
<div style="margin-top:6px;"> | |||
<b>Full Name:</b> {{{fullname|}}}<br /> | |||
<b>Pronouns:</b> {{{pronouns|}}}<br /> | |||
<b>Born:</b> {{{born|}}}<br /> | |||
<b>Nationality:</b> {{{nationality|}}}<br /> | |||
<b>Profession:</b> {{{profession|}}}<br /> | |||
<b>Works:</b> {{{works|}}}<br /> | |||
</div> | |||
</div> | |||
<noinclude> | |||
== Template Parameters == | |||
This template supports the following parameters: | |||
;title | |||
:Page title to display. Defaults to the page's name. | |||
;image | |||
:Filename of an image (without File:). | |||
;image_desc | |||
:Caption or description of the image. | |||
;fullname | |||
:Character’s or person’s full name. | |||
;pronouns | |||
:Preferred pronouns. | |||
;born | |||
:Birth date or era. | |||
;nationality | |||
:Country, species, or origin. | |||
;profession | |||
:Main role or occupation. | |||
;works | |||
:Major creations, publications, or notable work. | |||
<templatedata> | |||
{ | |||
"description": "Standard infobox for character or person pages.", | |||
"params": { | |||
"title": { | |||
"label": "Title", | |||
"description": "Title shown at the top of the infobox.", | |||
"type": "string" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Filename of an image (without the File: prefix).", | |||
"type": "string" | |||
}, | |||
"image_desc": { | |||
"label": "Image Description", | |||
"description": "Description or caption of the image.", | |||
"type": "string" | |||
}, | |||
"fullname": { | |||
"label": "Full Name", | |||
"description": "Complete name of the character or person.", | |||
"type": "string" | |||
}, | |||
"pronouns": { | |||
"label": "Pronouns", | |||
"description": "Preferred pronouns.", | |||
"type": "string" | |||
}, | |||
"born": { | |||
"label": "Born", | |||
"description": "Birth date or era.", | |||
"type": "string" | |||
}, | |||
"nationality": { | |||
"label": "Nationality", | |||
"description": "Country, species, or origin.", | |||
"type": "string" | |||
}, | |||
"profession": { | |||
"label": "Profession", | |||
"description": "Occupation or role.", | |||
"type": "string" | |||
}, | |||
"works": { | |||
"label": "Works", | |||
"description": "Notable works, creations, or publications.", | |||
"type": "string" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Latest revision as of 11:05, 9 December 2025
Infobox
General Information
Full Name:
Pronouns:
Born:
Nationality:
Profession:
Works:
Template Parameters
This template supports the following parameters:
- title
- Page title to display. Defaults to the page's name.
- image
- Filename of an image (without File:).
- image_desc
- Caption or description of the image.
- fullname
- Character’s or person’s full name.
- pronouns
- Preferred pronouns.
- born
- Birth date or era.
- nationality
- Country, species, or origin.
- profession
- Main role or occupation.
- works
- Major creations, publications, or notable work.
Standard infobox for character or person pages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Title shown at the top of the infobox. | String | optional |
| Image | image | Filename of an image (without the File: prefix). | String | optional |
| Image Description | image_desc | Description or caption of the image. | String | optional |
| Full Name | fullname | Complete name of the character or person. | String | optional |
| Pronouns | pronouns | Preferred pronouns. | String | optional |
| Born | born | Birth date or era. | String | optional |
| Nationality | nationality | Country, species, or origin. | String | optional |
| Profession | profession | Occupation or role. | String | optional |
| Works | works | Notable works, creations, or publications. | String | optional |