Template:Infobox character: Difference between revisions
mNo edit summary |
(Updated style + added coordinates for start location) |
||
Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
|bodystyle = width:350px; -moz-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; -webkit-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; | |||
| above = <div style="background: #{{Infobox nc|}}; padding: 5px; font-weight: bold; text-align: center; font-size: 120%; color:#{{Infobox nc||text}};">{{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span><br />}}<span class="fn">{{{name|{{PAGENAME}}}}}</span>{{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<br /><span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}</div> | | above = <div style="background: #{{Infobox nc|}}; padding: 5px; font-weight: bold; text-align: center; font-size: 120%; color:#{{Infobox nc||text}};">{{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span><br />}}<span class="fn">{{{name|{{PAGENAME}}}}}</span>{{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<br /><span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}</div> | ||
| image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|frameless}}|alt={{{alt|}}}]]}} | | image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|frameless}}|alt={{{alt|}}}]]}} | ||
| caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}} | | caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}} | ||
| labelstyle = background-color:#eee; | | imagestyle = padding:10px; | ||
| datastyle = | | headerstyle = background-color: #{{Infobox nc|{{{name_colour|}}}}}; color: #{{Infobox nc|{{{name_text_colour|}}}|text}}; | ||
| labelstyle = background-color:#eee; width:50%; | |||
| datastyle = width:50%; | |||
| | | header1 = General | ||
| label2 = | | label2 = Nickname | ||
| data2 = {{{ | | data2 = {{{nickname|}}} | ||
| label3 = | | label3 = Personality | ||
| data3 = {{{ | | data3 = {{{personality|}}} | ||
| label4 = Weapon | | label4 = Start location | ||
| | | data4 = {{{location|}}}<br>{{#if:{{{coordinates|}}}|[[File:Geographylogo.png{{!}}link=https://map.projectzomboid.com/?#{{{coordinates}}}{{!}}Show location on an interactive map]]<span class="plainlinks">[https://map.projectzomboid.com/?#{{{coordinates}}} {{{coordinates}}}]</span>}} | ||
| label5 = Weapon | |||
| data5 = {{{weapon|}}} | |||
| below = {{#if:{{{notes|}}}|<center>'''Notes'''</center><div style="line-height:1.2em;">{{{notes}}}</div>}} | | below = {{#if:{{{notes|}}}|<center>'''Notes'''</center><div style="line-height:1.2em;">{{{notes}}}</div>}} |
Revision as of 15:02, 7 March 2019
This template doesn't have any documentation yet! Help out by writing some.
Documentation transcluded from Template:Infobox character/doc.
Editors can experiment in this template's sandbox (create)
Editors can experiment in this template's sandbox (create)