Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div class="infobox" style="float:right; width: 22em; font-size: 88%; line-height: 1.5em; text-align: left; border: 1px solid #aaa; background-color: #f9f9f9;"> | <div class="infobox" style="float:right; width: 22em; font-size: 88%; line-height: 1.5em; 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: | <div style="font-size: 110%; font-weight: bold; background-color: #ccc; text-align: center; padding: 5px 0;">{{PAGENAME}}</div> | ||
<div style="margin: 0 5px | <div style="margin: 0 5px 5px;> | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
<div style="margin: 10px 0 10px; text-align: center; max-width:100%; height:auto;">[[{{{image|250x250px}}}]]</div> | <div style="margin: 10px 0 10px; text-align: center; max-width:100%; height:auto;">[[{{{image|250x250px}}}]]</div> | ||
Line 14: | Line 14: | ||
<div style="background: #cecece; padding: 0 3px 0"><b>DOB</b>: {{{DOB}}}</div> | <div style="background: #cecece; padding: 0 3px 0"><b>DOB</b>: {{{DOB}}}</div> | ||
</div> | </div> | ||
{{#if: {{{label2|}}}{{{value2|}}} | <div><b>{{{label2}}}</b>: {{{value2}}}</div> | <div style="{{#if: {{{label2|}}}{{{value2|}}} | | display: none; }}"> | ||
{{#if: {{{label3|}}}{{{value3|}}} | <div><b>{{{label3}}}</b>: {{{value3}}}</div> | <div><b>{{{label2}}}</b>: {{{value2}}}</div> | ||
{{#if: {{{label4|}}}{{{value4|}}} | <div><b>{{{label4}}}</b>: {{{value4}}}</div> | </div> | ||
{{#if: {{{label5|}}}{{{value5|}}} | <div><b>{{{label5}}}</b>: {{{value5}}}</div> | <div style="{{#if: {{{label3|}}}{{{value3|}}} | | display: none; }}"> | ||
{{#if: {{{label6|}}}{{{value6|}}} | <div><b>{{{label6}}}</b>: {{{value6}}}</div> | <div><b>{{{label3}}}</b>: {{{value3}}}</div> | ||
{{#if: {{{label7|}}}{{{value7|}}} | <div><b>{{{label7}}}</b>: {{{value7}}}</div> | </div> | ||
{{#if: {{{label8|}}}{{{value8|}}} | <div><b>{{{label8}}}</b>: {{{value8}}}</div> | <div style="{{#if: {{{label4|}}}{{{value4|}}} | | display: none; }}"> | ||
{{#if: {{{label9|}}}{{{value9|}}} | <div><b>{{{label9}}}</b>: {{{value9}}}</div> | <div><b>{{{label4}}}</b>: {{{value4}}}</div> | ||
{{#if: {{{label10|}}}{{{value10|}}} | <div><b>{{{label10}}}</b>: {{{value10}}}</div> | </div> | ||
< | <div style="{{#if: {{{label5|}}}{{{value5|}}} | | display: none; }}"> | ||
<div><b>{{{label5}}}</b>: {{{value5}}}</div> | |||
</div> | |||
<div style="{{#if: {{{label6|}}}{{{value6|}}} | | display: none; }}"> | |||
<div><b>{{{label6}}}</b>: {{{value6}}}</div> | |||
</div> | |||
<div style="{{#if: {{{label7|}}}{{{value7|}}} | | display: none; }}"> | |||
<div><b>{{{label7}}}</b>: {{{value7}}}</div> | |||
</div> | |||
<div style="{{#if: {{{label8|}}}{{{value8|}}} | | display: none; }}"> | |||
<div><b>{{{label8}}}</b>: {{{value8}}}</div> | |||
</div> | |||
<div style="{{#if: {{{label9|}}}{{{value9|}}} | | display: none; }}"> | |||
<div><b>{{{label9}}}</b>: {{{value9}}}</div> | |||
</div> | |||
<div style="{{#if: {{{label10|}}}{{{value10|}}} | | display: none; }}"> | |||
<div><b>{{{label10}}}</b>: {{{value10}}}</div> | |||
</div> | |||
</div> | </div> | ||
</div> | </div> |
Revision as of 19:22, 10 December 2023
Infobox
Name: {{{name}}}
Also known as: {{{Knownas}}}
DOB: {{{DOB}}}
This is a template meant to easily display information about a given person/character
Parameter | Description | Type | Status | |
---|---|---|---|---|
image | image | Image
| File | suggested |
name | name | The name of whoever this is
| String | required |
Aliases/Also Known As | Knownas | Other names for a person
| String | optional |
Date of Birth | DOB | In M-D-Y format, please | Unknown | suggested |
label2 | label2 | no description | Unknown | optional |
value2 | value2 | no description | Unknown | optional |
label3 | label3 | no description | Unknown | optional |
value3 | value3 | no description | Unknown | optional |
label4 | label4 | no description | Unknown | optional |
value4 | value4 | no description | Unknown | optional |
label5 | label5 | no description | Unknown | optional |
value5 | value5 | no description | Unknown | optional |
label6 | label6 | no description | Unknown | optional |
value6 | value6 | no description | Unknown | optional |
label7 | label7 | no description | Unknown | optional |
value7 | value7 | no description | Unknown | optional |
label8 | label8 | no description | Unknown | optional |
value8 | value8 | no description | Unknown | optional |
label9 | label9 | no description | Unknown | optional |
value9 | value9 | no description | Unknown | optional |
label10 | label10 | no description | Unknown | optional |
value10 | value10 | no description | Unknown | optional |