Template:Header: Difference between revisions
mediawiki>VesnaTheRussianWarcriminal (Created page with "<div align="left" style="border:solid 1px black; width:97%; box-shadow: rgb(1,1,0,0.5) 0px 5px 20px; border-radius: 10px; {{#if:{{{background-image|}}}|background-image: {{{background-image}}};|background-color: {{{background-color|#85886e}}};}}"> <div style="{{#if:{{{background-image|}}}|background-color:{{{background-color|#000000}}}; background-opacity: 50%;}} color: {{{text-color|#000000}}}; --link-color: {{{link-color|inherit}}}; font-size: 30px;>'''{{{1|Your text h...") |
mediawiki>VesnaTheRussianWarcriminal No edit summary |
||
| Line 1: | Line 1: | ||
<div align="left" style="border:solid 1px black; width:97%; box-shadow: rgb(1,1,0,0.5) 0px 5px 20px; border-radius: 10px; {{#if:{{{background-image|}}}|background-image: {{{background-image}}};|background-color: {{{background-color|# | <div align="left" style="border:solid 1px black; width:97%; box-shadow: rgb(1,1,0,0.5) 0px 5px 20px; border-radius: 10px; {{#if:{{{background-image|}}}|background-image: {{{background-image}}};|background-color: {{{background-color|#00000}}};}}"> | ||
<div style="{{#if:{{{background-image|}}}|background-color:{{{background-color|#000000}}}; background-opacity: 50%;}} color: {{{text-color|#000000}}}; --link-color: {{{link-color|inherit}}}; font-size: 30px;>'''{{{1|Your text here}}}'''</div> | <div style="{{#if:{{{background-image|}}}|background-color:{{{background-color|#000000}}}; background-opacity: 50%;}} color: {{{text-color|#000000}}}; --link-color: {{{link-color|inherit}}}; font-size: 30px;>'''{{{1|Your text here}}}'''</div> | ||
</div><hr> | </div><hr> | ||
Revision as of 06:45, 19 March 2026
Description
To use this template, add the Template:T template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses Fandom's infobox syntax.
Syntax
{{Character
| name =
| image =
| imagecaption =
| aliases =
| relatives =
| affiliation =
| occupation =
| marital =
| birthDate =
| birthPlace =
| deathDate =
| deathPlace =
| species =
| gender =
| height =
| weight =
| eyes =
| portrayedby =
| appearsin =
| debut =
}}
Sample output
| {{{Name}}} | |
|---|---|
{{Character
| name = Flowa
| image = Example.jpg
| imagecaption = Flowa, at rest
| aliases = Flo
| relatives =
| affiliation =
| occupation =
| marital =
| birthDate = July 21st, 2013
| birthPlace = Iowa
| deathDate =
| deathPlace =
| species = Plant
| gender =
| height =
| weight =
| eyes =
| portrayedby =
| appearsin =
| debut =
}}
<templatedata> { "params": { "1": { "label": "Title", "required": true }, "background-color": { "aliases": [ "background", "bg", "background-colour" ], "suggested": true }, "text-color": { "aliases": [ "text-colour" ], "suggested": true }, "link-color": { "aliases": [ "link-colour" ], "suggested": true }, "background-image": { "aliases": [ "background-img", "bg-img" ], "description": "If a value is provided, background-color becomes the overlay colour on this image.", "suggested": true } }, "paramOrder": [ "1", "background-color", "background-image", "text-color", "link-color" ] }</templatedata>