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
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- Template:LeatherInfobox -->
<{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
<table class="dark-infobox">
{{documentation}}
  <!-- Title Row -->
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
  {{#if: {{{title|}}} |
    <tr>
      <th class="dark-infobox-title" colspan="2">{{{title}}}</th>
    </tr>
  }}
 
  <!-- Image Row -->
  {{#if: {{{image|}}} |
    <tr>
      <td class="dark-infobox-image" colspan="2">
        [[File:{{{image}}}|280px|alt={{{image_alt}}}|{{{image_caption}}}]]
      </td>
    </tr>
  }}
 
  <!-- Name Row -->
  {{#if: {{{name|}}} |
    <tr>
      <td class="dark-infobox-label">Name:</td>
      <td class="dark-infobox-value">{{{name}}}</td>
    </tr>
  }}
 
  <!-- Birth Date Row -->
  {{#if: {{{birth_date|}}} |
    <tr>
      <td class="dark-infobox-label">Date of Birth:</td>
      <td class="dark-infobox-value">{{{birth_date}}}</td>
    </tr>
  }}
 
  <!-- Occupation Row -->
  {{#if: {{{occupation|}}} |
    <tr>
      <td class="dark-infobox-label">Occupation</td>
      <td class="dark-infobox-value">{{{occupation}}}</td>
    </tr>
  }}
 
  <!-- Known For Row -->
  {{#if: {{{known_for|}}} |
    <tr>
      <td class="dark-infobox-label">Known For</td>
      <td class="dark-infobox-value">{{{known_for}}}</td>
    </tr>
  }}
 
  <!-- Spouse Row -->
  {{#if: {{{spouse|}}} |
    <tr>
      <td class="dark-infobox-label">Spouse(s)</td>
      <td class="dark-infobox-value">{{{spouse}}}</td>
    </tr>
  }}
 
  <!-- Children Row -->
  {{#if: {{{children|}}} |
    <tr>
      <td class="dark-infobox-label">Children</td>
      <td class="dark-infobox-value">{{{children}}}</td>
    </tr>
  }}
 
  <!-- Website Row -->
  {{#if: {{{website|}}} |
    <tr>
      <td class="dark-infobox-label">Website</td>
      <td class="dark-infobox-value">[{{{website}}} {{{website}}}]</td>
    </tr>
  }}
</table>
 
 
<!--Last line of your template code--><noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage -->
</noinclude>
</noinclude>

Latest revision as of 12:59, 18 June 2024

<