Master-Brent (talk | contribs) No edit summary |
Master-Brent (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<!-- Template: | <!-- Template:Infobox --> | ||
< | <div class="infobox"> | ||
<!-- Title --> | <!-- Title --> | ||
{{#if: {{{title|}}} | | {{#if: {{{title|}}} | | ||
< | <div class="infobox-header"> | ||
{{{title}}} | |||
</div> | |||
</ | |||
}} | }} | ||
<!-- Image --> | <!-- Image --> | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
< | <div class="infobox-image"> | ||
[[File:{{{image}}}|250px|center|alt={{{image_alt|}}}|{{{image_caption|}}}]] | |||
</div> | |||
</ | |||
}} | }} | ||
<!-- Name --> | <!-- Name --> | ||
{{#if: {{{name|}}} | | {{#if: {{{name|}}} | | ||
< | <div class="infobox-row"> | ||
< | <div class="infobox-label">Name</div> | ||
<div class="infobox-value">{{{name}}}</div> | |||
</div> | |||
< | |||
</ | |||
}} | }} | ||
<!-- Birth Date --> | <!-- Birth Date --> | ||
{{#if: {{{birth_date|}}} | | {{#if: {{{birth_date|}}} | | ||
< | <div class="infobox-row"> | ||
< | <div class="infobox-label">Date of Birth</div> | ||
<div class="infobox-value">{{{birth_date}}}</div> | |||
</div> | |||
< | |||
</ | |||
}} | }} | ||
<!-- Occupation --> | <!-- Occupation --> | ||
{{#if: {{{occupation|}}} | | {{#if: {{{occupation|}}} | | ||
< | <div class="infobox-row"> | ||
< | <div class="infobox-label">Occupation</div> | ||
<div class="infobox-value">{{{occupation}}}</div> | |||
</div> | |||
< | |||
</ | |||
}} | }} | ||
<!-- Known For --> | <!-- Known For --> | ||
{{#if: {{{known_for|}}} | | {{#if: {{{known_for|}}} | | ||
< | <div class="infobox-row"> | ||
< | <div class="infobox-label">Known For</div> | ||
<div class="infobox-value">{{{known_for}}}</div> | |||
</div> | |||
< | |||
</ | |||
}} | }} | ||
<!-- Spouse --> | <!-- Spouse --> | ||
{{#if: {{{spouse|}}} | | {{#if: {{{spouse|}}} | | ||
< | <div class="infobox-row"> | ||
< | <div class="infobox-label">Spouse(s)</div> | ||
<div class="infobox-value">{{{spouse}}}</div> | |||
</div> | |||
< | |||
</ | |||
}} | }} | ||
<!-- Children --> | <!-- Children --> | ||
{{#if: {{{children|}}} | | {{#if: {{{children|}}} | | ||
< | <div class="infobox-row"> | ||
< | <div class="infobox-label">Children</div> | ||
<div class="infobox-value">{{{children}}}</div> | |||
</div> | |||
< | |||
</ | |||
}} | }} | ||
<!-- Website --> | <!-- Website --> | ||
{{#if: {{{website|}}} | | {{#if: {{{website|}}} | | ||
< | <div class="infobox-row"> | ||
< | <div class="infobox-label">Website</div> | ||
<div class="infobox-value"> | |||
<a href="{{{website}}}" target="_blank">{{{website}}}</a> | |||
< | </div> | ||
</div> | |||
</ | |||
</ | |||
}} | }} | ||
</ | </div> | ||
<!--Last line of your template code--><noinclude> | <!--Last line of your template code--><noinclude> |
Revision as of 20:10, 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
<a href="https://example.com" target="_blank">https://example.com</a>
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
<a href="https://example.com" target="_blank">https://example.com</a>