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
Line 1: Line 1:
<!-- Template:LeatherInfobox -->
<!-- Template:LeatherInfobox -->
<table class="dark-infobox">
{| 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;"
  <!-- Title Row -->
|-
  {{#if: {{{title|}}} |
! 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;"
    <tr>
| {{{title|}}}
      <th class="dark-infobox-title" colspan="2">{{{title}}}</th>
    </tr>
  }}


  <!-- Image Row -->
{{#if: {{{image|}}} |
  {{#if: {{{image|}}} |
|-
    <tr>
| colspan="2" class="dark-infobox-image" style="text-align: center; padding: 10px; background-color: #333333;"
      <td class="dark-infobox-image" colspan="2">
| [[File:{{{image}}}|250px|alt={{{image_alt}}}|{{{image_caption}}}]]
        [[File:{{{image}}}|280px|alt={{{image_alt}}}|{{{image_caption}}}]]
}}
      </td>
    </tr>
  }}


  <!-- Name Row -->
{{#if: {{{name|}}} |
  {{#if: {{{name|}}} |
|-
    <tr>
| style="background-color: #444444; font-weight: bold; padding: 5px; border-right: 1px solid #800000; width: 40%;"
      <td class="dark-infobox-label">Name:</td>
| Name
      <td class="dark-infobox-value">{{{name}}}</td>
| style="background-color: #222222; padding: 5px;"
    </tr>
| {{{name}}}
  }}
}}


  <!-- Birth Date Row -->
{{#if: {{{birth_date|}}} |
  {{#if: {{{birth_date|}}} |
|-
    <tr>
| style="background-color: #444444; font-weight: bold; padding: 5px; border-right: 1px solid #800000; width: 40%;"
      <td class="dark-infobox-label">Date of Birth:</td>
| Date of Birth
      <td class="dark-infobox-value">{{{birth_date}}}</td>
| style="background-color: #222222; padding: 5px;"
    </tr>
| {{{birth_date}}}
  }}
}}


  <!-- Occupation Row -->
{{#if: {{{occupation|}}} |
  {{#if: {{{occupation|}}} |
|-
    <tr>
| style="background-color: #444444; font-weight: bold; padding: 5px; border-right: 1px solid #800000; width: 40%;"
      <td class="dark-infobox-label">Occupation</td>
| Occupation
      <td class="dark-infobox-value">{{{occupation}}}</td>
| style="background-color: #222222; padding: 5px;"
    </tr>
| {{{occupation}}}
  }}
}}


  <!-- Known For Row -->
{{#if: {{{known_for|}}} |
  {{#if: {{{known_for|}}} |
|-
    <tr>
| style="background-color: #444444; font-weight: bold; padding: 5px; border-right: 1px solid #800000; width: 40%;"
      <td class="dark-infobox-label">Known For</td>
| Known For
      <td class="dark-infobox-value">{{{known_for}}}</td>
| style="background-color: #222222; padding: 5px;"
    </tr>
| {{{known_for}}}
  }}
}}


  <!-- Spouse Row -->
{{#if: {{{spouse|}}} |
  {{#if: {{{spouse|}}} |
|-
    <tr>
| style="background-color: #444444; font-weight: bold; padding: 5px; border-right: 1px solid #800000; width: 40%;"
      <td class="dark-infobox-label">Spouse(s)</td>
| Spouse(s)
      <td class="dark-infobox-value">{{{spouse}}}</td>
| style="background-color: #222222; padding: 5px;"
    </tr>
| {{{spouse}}}
  }}
}}


  <!-- Children Row -->
{{#if: {{{children|}}} |
  {{#if: {{{children|}}} |
|-
    <tr>
| style="background-color: #444444; font-weight: bold; padding: 5px; border-right: 1px solid #800000; width: 40%;"
      <td class="dark-infobox-label">Children</td>
| Children
      <td class="dark-infobox-value">{{{children}}}</td>
| style="background-color: #222222; padding: 5px;"
    </tr>
| {{{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}}}]
}}
|}


  <!-- Website Row -->
  {{#if: {{{website|}}} |
    <tr>
      <td class="dark-infobox-label">Website</td>
      <td class="dark-infobox-value">[{{{website}}} {{{website}}}]</td>
    </tr>
  }}
</table>





Revision as of 13:25, 9 June 2024

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;"

-

-

-

-

-

-

-

-