Master-Brent (talk | contribs) No edit summary |
Master-Brent (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<!-- Template:SimpleDarkInfobox --> | |||
<table class="infobox" style="width: 300px; float: right; clear: right; margin: 10px; border: 2px solid #800000; border-radius: 10px; background-color: #333; color: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);"> | |||
<!-- Title --> | |||
{{#if: {{{title|}}} | | |||
{{#if: {{{image|}}} | | <tr> | ||
<th colspan="2" style="background-color: #800000; color: #FFFFFF; padding: 10px; text-align: center; font-size: 1.25em; font-weight: bold;"> | |||
{{{title}}} | |||
</th> | |||
}} | </tr> | ||
}} | |||
{{#if: {{{name|}}} | | |||
<!-- Image --> | |||
{{#if: {{{image|}}} | | |||
<tr> | |||
<td colspan="2" style="text-align: center; padding: 10px;"> | |||
[[File:{{{image}}}|250px|center|alt={{{image_alt|}}}|{{{image_caption|}}}]] | |||
}} | </td> | ||
</tr> | |||
{{#if: {{{birth_date|}}} | | }} | ||
<!-- Name --> | |||
{{#if: {{{name|}}} | | |||
<tr> | |||
<td style="background-color: #444; font-weight: bold; padding: 5px; width: 40%;"> | |||
}} | Name | ||
</td> | |||
{{#if: {{{occupation|}}} | | <td style="background-color: #222; padding: 5px;"> | ||
{{{name}}} | |||
</td> | |||
</tr> | |||
}} | |||
}} | <!-- Birth Date --> | ||
{{#if: {{{birth_date|}}} | | |||
{{#if: {{{known_for|}}} | | <tr> | ||
<td style="background-color: #444; font-weight: bold; padding: 5px;"> | |||
Date of Birth | |||
</td> | |||
<td style="background-color: #222; padding: 5px;"> | |||
{{{birth_date}}} | |||
}} | </td> | ||
</tr> | |||
{{#if: {{{spouse|}}} | | }} | ||
<!-- Occupation --> | |||
{{#if: {{{occupation|}}} | | |||
<tr> | |||
<td style="background-color: #444; font-weight: bold; padding: 5px;"> | |||
}} | Occupation | ||
</td> | |||
{{#if: {{{children|}}} | | <td style="background-color: #222; padding: 5px;"> | ||
{{{occupation}}} | |||
</td> | |||
</tr> | |||
}} | |||
}} | <!-- Known For --> | ||
{{#if: {{{known_for|}}} | | |||
{{#if: {{{website|}}} | | <tr> | ||
<td style="background-color: #444; font-weight: bold; padding: 5px;"> | |||
Known For | |||
</td> | |||
<td style="background-color: #222; padding: 5px;"> | |||
{{{known_for}}} | |||
}} | </td> | ||
</tr> | |||
}} | |||
<!-- Spouse --> | |||
{{#if: {{{spouse|}}} | | |||
<tr> | |||
<td style="background-color: #444; font-weight: bold; padding: 5px;"> | |||
Spouse(s) | |||
</td> | |||
<td style="background-color: #222; padding: 5px;"> | |||
{{{spouse}}} | |||
</td> | |||
</tr> | |||
}} | |||
<!-- Children --> | |||
{{#if: {{{children|}}} | | |||
<tr> | |||
<td style="background-color: #444; font-weight: bold; padding: 5px;"> | |||
Children | |||
</td> | |||
<td style="background-color: #222; padding: 5px;"> | |||
{{{children}}} | |||
</td> | |||
</tr> | |||
}} | |||
<!-- Website --> | |||
{{#if: {{{website|}}} | | |||
<tr> | |||
<td style="background-color: #444; font-weight: bold; padding: 5px;"> | |||
Website | |||
</td> | |||
<td style="background-color: #222; padding: 5px;"> | |||
[{{{website}}} {{{website}}}] | |||
</td> | |||
</tr> | |||
}} | |||
</table> | |||
<!--Last line of your template code--><noinclude> | <!--Last line of your template code--><noinclude> |
Revision as of 14:31, 9 June 2024
This is the TEXT Documentation for Infobox. Will be updated.
Name |
John Doe |
Date of Birth |
January 1, 1980 |
Occupation |
Software Developer |
Known For |
Creating amazing templates |
Spouse(s) |
Jane Doe |
Children |
2 |
Website |
https://example.com |
Second Example:
Name |
John Doe |
Date of Birth |
January 1, 1980 |
Occupation |
Software Developer |
Known For |
Creating amazing templates |
Spouse(s) |
Jane Doe |
Children |
2 |
Website |
https://example.com |