Template:Person infobox: Difference between revisions

Template page
(Created page with "<templatestyles src="Template:Character_infobox/styles.css" /> {| class="tpl:infobox" style="background-color:rgba(217, 217, 217, 0.2);border: solid;border-color:#3a40450f; width: 22em; float: right; clear: left;" !colspan="2" style="background:#FF4753;" | {{#if: {{{Name|}}}|{{{Name}}}|{{PAGENAME}}}} |- | colspan="2" align="center" style = "background: rgba(217, 217, 217,)"; margin: 0 auto; |{{#if: {{{image|}}}|{{{image}}}}} |- style="vertical-align: top" | colspan="2"...")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Template:Character_infobox/styles.css" />
<templatestyles src="Template:Person infobox/styles.css" />
 
{| style="background-color:rgba(217, 217, 217, 0.2);border: solid;border-color:#3a40450f; width: 22em; float: right; clear: left;"
{| class="tpl:infobox" style="background-color:rgba(217, 217, 217, 0.2);border: solid;border-color:#3a40450f; width: 22em; float: right; clear: left;"
!colspan="2" style="background:#FF4753" | {{#if: {{{Alias|}}}|{{{Alias}}}|{{PAGENAME}}}}
!colspan="2" style="background:#FF4753;" | {{#if: {{{Name|}}}|{{{Name}}}|{{PAGENAME}}}}
|-
|-
| colspan="2" align="center" style = "background: rgba(217, 217, 217,)"; margin: 0 auto; |{{#if: {{{image|}}}|{{{image}}}}}
| colspan="2" align="center" style = "background-color: rgba(217, 217, 217,)" |{{#if: {{{image|}}}|{{{image}}}}}
|- style="vertical-align: top"
|- style="vertical-align: top"
| colspan="2" align="center" style = "font-size: 90%"| {{#if: {{{caption|}}}|{{{caption}}}}}
| colspan="2" align="center" style = "font-size: 90%"| {{#if: {{{caption|}}}|{{{caption}}}}}
|- style="vertical-align: top;"
|- style="vertical-align: top;"
{{#if: {{{Debut|}}}|{{!}}'''Debut:'''{{!!}}{{{Debut}}}}}
{{#if: {{{Name|}}}|{{!}}'''Birth name:'''{{!!}}{{{Name}}}}}
|- style="vertical-align: top;"
|- style="vertical-align: top;"
{{#if: {{{Number of appearances|}}}|{{!}}'''Appearances:'''{{!!}}{{{Number of appearances}}}}}
{{#if: {{{Birth|}}}|{{!}}'''Date of birth:'''{{!!}}{{{Birth}}}}}
|- style="vertical-align: top;"
{{#if: {{{Role|}}}|{{!}}'''Role(s):'''{{!!}}{{{Role}}}}}
|- class{{{Kills}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{Kills|}}}|{{!}}'''Kills:'''{{!!}}{{{Kills}}}}}
|- class{{{Deaths}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{Deaths|}}}|{{!}}'''Deaths:'''{{!!}}{{{Deaths}}}}}
|- style="vertical-align: top;"
{{#if: {{{Allies|}}}|{{!}}'''Allies:'''{{!!}}{{{Allies}}}}}
|- class{{{Enemies}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{Enemies|}}}|{{!}}'''Enemies:'''{{!!}}{{{Enemies}}}}}
|- style="vertical-align: top;"
|- style="vertical-align: top;"
{{#if: {{{Activity|}}}|{{!}}'''Activities:'''{{!!}}{{{Activity}}}}}
|-
{{#if: {{{Links|}}}|{{!}}colspan="2" align="center" style="background:#FF4753" {{!}} '''External links'''
{{!}}-
{{!}} colspan="2"{{!}}
{{{Links}}}
}}
|}<noinclude>
|}<noinclude>


<br clear="{{{1|all}}}">
<br clear="{{{1|all}}}">
Line 32: Line 27:
{| style="background: transparent; float: left;"
{| style="background: transparent; float: left;"
|<pre>
|<pre>
{{Character infobox
{{Artist infobox
| Name =  
| Alias =  
| image =  
| image =  
| caption =  
| caption =  
| Debut =  
| Name =  
| Number of appearances =  
| Birth =  
| Role =  
| Activity =  
| Kills =
| Links =  
| Deaths =
| Allies =
| Enemies =  
}}
}}
</pre>
</pre>
|}
|}
Line 53: Line 43:
Note: do not remove fields, just leave them blank if there's no info. Don't write anything like "none" or "unknown."
Note: do not remove fields, just leave them blank if there's no info. Don't write anything like "none" or "unknown."


[[Category:Templates|{{PAGENAME}}]]<templatedata>
[[Category:Templates|{{PAGENAME}}]]</noinclude>
{
"params": {
"1": {},
"Name": {},
"image": {},
"caption": {},
"Debut": {},
"Number of appearances": {},
"Role": {},
"Kills": {},
"Deaths": {},
"Allies": {},
"Enemies": {}
}
}
</templatedata></noinclude>

Latest revision as of 23:23, 4 October 2022

Person infobox


Usage

Made this quick template here to help enhance the articles a bit. Copy and paste the following code:

{{Artist infobox
| Alias = 
| image = 
| caption = 
| Name = 
| Birth = 
| Activity = 
| Links = 
}}


Note: do not remove fields, just leave them blank if there's no info. Don't write anything like "none" or "unknown."