Difference between revisions of "Template:Character infobox"

From OMORI Wiki
Jump to navigation Jump to search
m
(added support for multiple images in the infobox so characters with both a headspace/real world counterpart can have both portraits)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
|<div style="display: flex; align-items: center; justify-content: center;">[[File:{{{image}}}|{{{size}}}]]</div>
|<div style="display: flex; align-items: center; justify-content: center;">[[File:{{{image}}}|{{{size}}}]]</div>
|}
|}
</center>
<center>
|-
{{#if:{{{image2<includeonly>|</includeonly>}}} |
{{!}} colspan="2" {{!}} <div style="text-align:center; display: flex; align-items: center; justify-content: center;">[[File:{{{image2}}}|{{{size}}}]]</div>
{{!}}-
}}
|-
{{#if:{{{sprites<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" style="border-radius:2px;" {{!}}sprites
{{!}} class="theme-generic-border theme-generic-light generic-infobox-row" style="border-radius:2px;" {{!}}{{{sprites}}}
{{!}}-
}}
|-
|-
{{#if:{{{age<includeonly>|</includeonly>}}} |
{{#if:{{{age<includeonly>|</includeonly>}}} |

Latest revision as of 19:37, 28 October 2024

Character infobox
[[File:{{{image}}}|{{{size}}}]]
[[File:{{{image2}}}|{{{size}}}]]
sprites {{{sprites}}}
age {{{age}}}
birthday {{{birthday}}}
gender {{{gender}}}
location {{{location}}}
role {{{role}}}