Template:Infobox: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
Tag: Undo  | 
				 (Undo revision 1187 by Schmoney schase (talk)) Tag: Undo ย   | 
				||
| Line 1: | Line 1: | ||
<div class="infobox" style="float:right; min-width: 22em; max-width: {{{maxwidth|280px}}}; font-size: 88%; line-height: 1.5em; margin: 5px; text-align: left; border: 1px solid #aaa; background-color: #f9f9f9;">  | |||
ย  ย  <div style="font-size: 110%; font-weight: bold; background-color: #ccc; text-align: center; padding: 5px 0;">{{{infoboxHeader|{{PAGENAME}}}}}</div>  | |||
ย  ย  <div style="margin: 0 5px 5px;>  | |||
ย  ย  ย  ย  {{#if: {{{image|}}} |  | |||
ย  ย  ย  ย  ย  ย  <div style="margin: 5px 0 0; text-align: center;">[[File:{{{image}}}|270px]]</div>  | |||
ย  ย  ย  ย  }}  | |||
ย  ย  ย  ย  <div style="{{#if: {{{imageDesc|}}} | | display: none; }}">  | |||
ย  ย  ย  ย  ย  ย  <small><div style="margin: 5px 0 0; padding: 0 2px 0; text-align: center; max-width:270px">''{{{imageDesc}}}''</div></small>  | |||
ย  ย  ย  ย  </div>  | |||
ย  ย  ย  ย  <div style="{{#if: {{{name|}}} | | display: none; }}">  | |||
ย  ย  ย  ย  ย  ย  <div style="margin: 5px 0 0; padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Name</b>: {{{name}}}</div>  | |||
ย  ย  ย  ย  </div>  | |||
ย  ย  ย  ย  <div style="{{#if: {{{Knownas|}}} | | display: none; }}">  | |||
ย  ย  ย  ย  ย  ย  <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Also known as</b>: {{{Knownas}}}</div>  | |||
ย ย  ย  ย  ย  </div>  | ย ย  ย  ย  ย  </div>  | ||
ย ย  ย  ย  ย  <div style="{{#if: {{{EnemyStatus|}}} | | display: none; }}">  | ย ย  ย  ย  ย  <div style="{{#if: {{{EnemyStatus|}}} | | display: none; }}">  | ||
| Line 17: | Line 30: | ||
ย ย  ย  ย  ย  </div>  | ย ย  ย  ย  ย  </div>  | ||
ย ย  ย  ย  ย  <div style="{{#if: {{{Religion|}}} | | display: none; }}">  | ย ย  ย  ย  ย  <div style="{{#if: {{{Religion|}}} | | display: none; }}">  | ||
ย ย  ย  ย  ย  ย  ย  <div   | ย ย  ย  ย  ย  ย  ย  <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Religion</b>: {{{Religion}}}</div>  | ||
ย  ย  ย  ย  </div>  | |||
ย  ย  ย  ย  <div style="{{#if: {{{Parents|}}} | | display: none; }}">  | |||
ย  ย  ย  ย  ย  ย  <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Parents</b>: {{{Parents}}}</div>  | |||
ย  ย  ย  ย  </div>  | |||
ย  ย  </div>  | |||
</div>  | |||
<noinclude>  | |||
<templatedata>  | |||
{  | |||
	"params": {  | |||
		"image": {  | |||
			"description": "Image",  | |||
			"example": "Tony_Chase.png",  | |||
			"type": "wiki-file-name",  | |||
			"suggested": true,  | |||
			"label": "Image"  | |||
		},  | |||
		"name": {  | |||
			"description": "The name of whoever this is",  | |||
			"example": "Tony Chase",  | |||
			"type": "string",  | |||
			"required": true,  | |||
			"label": "Name"  | |||
		},  | 		},  | ||
		"Knownas": {  | 		"Knownas": {  | ||
Latest revision as of 06:25, 3 February 2024
Infobox
    This is a template meant to easily display information about a given person/character
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Max Width | maxwidth | The maximum width of the infobox 
  | Unknown | optional | 
| Infobox Header | infoboxHeader | This is the header of the infobox, will just be the pagename if left blank  | String | optional | 
| Image | image | Image 
  | File | suggested | 
| Image Description | imageDesc | no description  | Unknown | suggested | 
| Name | name | The name of whoever this is 
  | String | required | 
| Aliases/Also Known As | Knownas | Other names for a person 
  | String | optional | 
| Enemy Status | EnemyStatus | If or if not this person is an enemy of Tony Chase 
  | Unknown | suggested | 
| Date of Birth | DOB | In M-D-Y format, please  | Unknown | suggested | 
| Sex | Sex | The biological gender of the given character 
  | String | optional | 
| Gender | Gender | The expressed gender of the given character, such as if someone is transgender 
  | String | optional | 
| Nationality | Nationality | Place of origin  | String | optional | 
| Parents | Parents | If they're unconfirmed to be parents, then explain that in parenthesis after the name. 
  | String | optional | 
| Religion | Religion | no description  | Unknown | optional |