Template:CharacterInfoBox: Difference between revisions

Template page
No edit summary
Tag: Manual revert
No edit summary
Line 18: Line 18:
|-
|-
| colspan="2" style="text-align: center;" |
| colspan="2" style="text-align: center;" |
{{#if:{{{image|}}}|{{#ifexist:File:{{{image}}}|[[File:{{{image}}}|250px]]|<img src="{{{image}}}" alt="Profile Image" style="max-width: 250px;" />}}|<img src="https://i.imgur.com/U2BrC9O.jpg" alt="Profile Image" style="max-width: 250px;" />}
{{#if:{{{image|}}}
  | {{#ifexist:File:{{{image}}}|[[File:{{{image}}}|250px|Profile Image]]|<img src="{{{image}}}" alt="Profile Image" style="max-width: 250px;" />}}
  | <img src="https://i.imgur.com/U2BrC9O.jpg" alt="Profile Image" style="max-width: 250px;" />
}}
|-
|-
| colspan="2" style="text-align: center;" | <hr />
| colspan="2" style="text-align: center;" | <hr />

Revision as of 11:28, 18 May 2024

This template is used to create character info boxes. Use it like so:

{{CharacterInfoBox
| image=http://example.com/image.jpg  (if it's an external image URL)
| image=Example.jpg  (if it's an uploaded [[File:Example.jpg]] here)
| species=Human
| sex=Male
| homeworld=Earth
| occupation=Explorer
}}