Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox: Difference between revisions

Template page
No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="dark-infobox wikitable" style="width: 320px; float: right; clear: right; position: relative; top: 0; background-color: #222222; color: #fff; border: 3px solid #800000; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); margin: 10px;"
<{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
|-
{{documentation}}
! colspan="2" style="background-color: #800000; color: #FFFFFF; padding: 10px; text-align: center; font-size: 1.5em; font-weight: bold; border-top-left-radius: 7px; border-top-right-radius: 7px;"
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
| {{{title|}}}
 
{{#if: {{{image|}}} |
|-
| colspan="2" class="dark-infobox-image" style="text-align: center; padding: 10px; background-color: #333333;"
| [[File:{{{image}}}|250px|alt={{{image_alt}}}|{{{image_caption}}}]]
}}
 
{{#if: {{{name|}}} |
|-
| style="background-color: #444444; font-weight: bold; padding: 5px; border-right: 1px solid #800000; width: 40%;"
| Name
| style="background-color: #222222; padding: 5px;"
| {{{name}}}
}}
 
{{#if: {{{birth_date|}}} |
|-
| style="background-color: #444444; font-weight: bold; padding: 5px; border-right: 1px solid #800000; width: 40%;"
| Date of Birth
| style="background-color: #222222; padding: 5px;"
| {{{birth_date}}}
}}
 
{{#if: {{{occupation|}}} |
|-
| style="background-color: #444444; font-weight: bold; padding: 5px; border-right: 1px solid #800000; width: 40%;"
| Occupation
| style="background-color: #222222; padding: 5px;"
| {{{occupation}}}
}}
 
{{#if: {{{known_for|}}} |
|-
| style="background-color: #444444; font-weight: bold; padding: 5px; border-right: 1px solid #800000; width: 40%;"
| Known For
| style="background-color: #222222; padding: 5px;"
| {{{known_for}}}
}}
 
{{#if: {{{spouse|}}} |
|-
| style="background-color: #444444; font-weight: bold; padding: 5px; border-right: 1px solid #800000; width: 40%;"
| Spouse(s)
| style="background-color: #222222; padding: 5px;"
| {{{spouse}}}
}}
 
{{#if: {{{children|}}} |
|-
| style="background-color: #444444; font-weight: bold; padding: 5px; border-right: 1px solid #800000; width: 40%;"
| Children
| style="background-color: #222222; padding: 5px;"
| {{{children}}}
}}
 
{{#if: {{{website|}}} |
|-
| style="background-color: #444444; font-weight: bold; padding: 5px; border-right: 1px solid #800000; width: 40%;"
| Website
| style="background-color: #222222; padding: 5px;"
| [{{{website}}} {{{website}}}]
}}
|}
 
 
 
<!--Last line of your template code--><noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage -->
</noinclude>
</noinclude>

Latest revision as of 13:59, 18 June 2024

<