Template:Info: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>{|class="info" !class="head"|{{{name}}} |- | {|class="info-sub main centered-cells" |[[File:{{{image}}}|200px]] |- {{#if:{{{caption|}}}|{{!}}{{{caption}}}}} |} |- | {|class="info-sub" !colspan="2"|Game appearances |colspan="3"|{{#invoke:g|main|{{{game appearances|}}}}} |- {{#if:{{{other names|}}}|!colspan="2"{{!}}Other names {{!}}colspan="3"{{!}}{{{other names}}}}} |- {{#if:{{{voice actor|}}}|!colspan="2"{{!}}Voice actor {{!}}colspan="3"{{!}}{{{voice actor}}..." |
Pymonkibot (talk | contribs) m Text replacement - "<div class="info">" to "<div class="info subtable-container">" |
||
| (13 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!-- | ||
--><div class="head">{{{name}}}</div> | |||
{|class="subtable main centered" | |||
|[[File:{{{image}}}|{{{image size|200px}}}]] | |||
{|class=" | |||
|[[File:{{{image}}}|200px]] | |||
|- | |- | ||
{{#if:{{{caption|}}}|{{!}}{{{caption}}}}} | {{#if:{{{caption|}}}|{{!}}{{{caption}}}}} | ||
|} | |} | ||
{|class="subtable" | |||
{{#if:{{{appearances|}}}| | |||
!Appearances | |||
{{!}}colspan="2"{{!}}{{#invoke:g|main|{{{appearances|}}}}} | |||
}} | |||
|- | |||
{{#if:{{{playable appearances|}}}| | |||
!Playable appearances | |||
{{!}}colspan="2"{{!}}{{{playable appearances|}}} | |||
}} | |||
|- | |||
{{#if:{{{other appearances|}}}| | |||
!Other appearances | |||
{{!}}colspan="2"{{!}}{{{other appearances|}}} | |||
}} | |||
|- | |- | ||
| | {{#if:{{{full name|}}}|!Full name | ||
{ | {{!}}colspan="2"{{!}}{{{full name}}}}} | ||
!colspan="2" | |||
|- | |- | ||
{{#if:{{{other names|}}}|! | {{#if:{{{other names|}}}|!Other names | ||
{{!}}colspan=" | {{!}}colspan="2"{{!}}{{{other names}}}}} | ||
|- | |- | ||
{{#if:{{{voice actor|}}}|! | {{#if:{{{voice actor|}}}|!Voice actor | ||
{{!}}colspan=" | {{!}}colspan="2"{{!}}{{{voice actor}}}}} | ||
|} | |}</div><!-- | ||
|}</includeonly><noinclude>{{/doc}} | -->{{#ifeq:{{NAMESPACENUMBER}}|0|{{#seo: | ||
|image={{{image|}}} | |||
}}}}</includeonly><noinclude>{{/doc}}</noinclude> | |||
Latest revision as of 02:41, 6 July 2026
A generic infobox for articles about subjects in general.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | The name of the subject. | String | required |
| Image | image | An image of the subject. | File | required |
| Image size | image size | The size of the image.
| String | optional |
| Caption | caption | A caption for the image. | String | optional |
| Appearances | appearances | A list of media this subject has appeared in. This is generated using a Lua script by writing a list of abbreviations separated by commas with no spaces.
| String | required |
| Full name | full name | The subject's full name, if it is different from their more common name.
| String | optional |
| Other names | other names | A list of other names of the subject. | Content | optional |
| Voice actor | voice actor | The subject's voice actor, if it has one. Should be an interwiki link to IMDB if the actor has an IMDB page.
| Content | optional |
Example usage
Striker Jones
| Artwork in Bloons TD 6 and Bloons TD Battles 2 |
| Appearances | Bloons TD 6 Bloons Pop! Bloons TD Battles 2 Bloons Card Storm | |
|---|---|---|
| Full name | Colonel Jones Striker Jones | |
| Voice actor | Stephen Brunton | |
{{info
| name = Striker Jones
| image = BTD6 StrikerJonesPortrait.png
| appearances = BTD6,BP,BTDB2,BCS
| caption = Artwork in ''Bloons TD 6'' and ''Bloons TD Battles 2''
| full name = Colonel Jones Striker Jones
| voice actor = [[imdb:Stephen Brunton|Stephen Brunton]]
}}