Template:Infobox character: Difference between revisions
mNo edit summary |
(added translation template) |
||
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|}}}}}; | |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">{{Translation|{{{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|}}}}}}}}} | ||
Line 10: | Line 10: | ||
| datastyle = width:50%; | | datastyle = width:50%; | ||
| header1 = General | | header1 = {{Translation|General}} | ||
| label2 = Nickname | | label2 = {{Translation|Nickname}} | ||
| data2 = {{{nickname|}}} | | data2 = {{{nickname|}}} | ||
| label3 = Personality | | label3 = {{Translation|Personality}} | ||
| data3 = {{{personality|}}} | | data3 = {{{personality|}}} | ||
| label4 = Occupation | | label4 = {{Translation|Occupation}} | ||
| data4 = {{{occupation|}}} | | data4 = {{{occupation|}}} | ||
| label5 = Start location | | label5 = {{Translation|Start location}} | ||
| data5 = {{{location|}}}<br>{{#if:{{{coordinates|}}}|[[File:Geographylogo.png{{!}}26px{{!}}link=https://map.projectzomboid.com/?#{{{coordinates}}}{{!}}Show location on an interactive map]]<span class="plainlinks">[https://map.projectzomboid.com/?#{{{coordinates}}} {{{coordinates}}}]</span>}} | | data5 = {{{location|}}}<br>{{#if:{{{coordinates|}}}|[[File:Geographylogo.png{{!}}26px{{!}}link=https://map.projectzomboid.com/?#{{{coordinates}}}{{!}}Show location on an interactive map]]<span class="plainlinks">[https://map.projectzomboid.com/?#{{{coordinates}}} {{{coordinates}}}]</span>}} | ||
| label6 = Weapon | | label6 = {{Translation|Weapon}} | ||
| data6 = {{{weapon|}}} | | data6 = {{{weapon|}}} | ||
| below = {{#if:{{{notes|}}}|<center>'''Notes'''</center><div style="line-height:1.2em;">{{{notes}}}</div>}} | | below = {{#if:{{{notes|}}}|<center>'''{{Translation|Notes}}'''</center><div style="line-height:1.2em;">{{{notes}}}</div>}} | ||
| belowstyle = border-top:1px solid #aaaaaa; text-align:left | | belowstyle = border-top:1px solid #aaaaaa; text-align:left | ||
}}</includeonly> | }}</includeonly> | ||
<noinclude>{{documentation}}[[Category:Infobox]]</noinclude> | <noinclude>{{documentation}}[[Category:Infobox]]</noinclude> |
Revision as of 05:09, 7 August 2021
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)