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
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- Template:SimpleDarkInfobox -->
<{{#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="infobox" style="width: 300px; ">
{{documentation}}
  <!-- Title -->
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
  {{#if: {{{title|}}} |
    <tr>
      <th colspan="2">
        {{{title}}}
      </th>
    </tr>
  }}
 
  <!-- Image -->
  {{#if: {{{image|}}} |
    <tr>
      <td colspan="2">
        [[File:{{{image}}}|250px|center|alt={{{image_alt|}}}|{{{image_caption|}}}]]
      </td>
    </tr>
  }}
 
  <!-- Name -->
  {{#if: {{{name|}}} |
    <tr>
      <td>
        Name
      </td>
      <td>
        {{{name}}}
      </td>
    </tr>
  }}
 
  <!-- Birth Date -->
  {{#if: {{{birth_date|}}} |
    <tr>
      <td>
        Date of Birth
      </td>
      <td>
        {{{birth_date}}}
      </td>
    </tr>
  }}
 
  <!-- Occupation -->
  {{#if: {{{occupation|}}} |
    <tr>
      <td>
        Occupation
      </td>
      <td>
        {{{occupation}}}
      </td>
    </tr>
  }}
 
  <!-- Known For -->
  {{#if: {{{known_for|}}} |
    <tr>
      <td >
        Known For
      </td>
      <td >
        {{{known_for}}}
      </td>
    </tr>
  }}
 
  <!-- Spouse -->
  {{#if: {{{spouse|}}} |
    <tr>
      <td>
        Spouse(s)
      </td>
      <td s>
        {{{spouse}}}
      </td>
    </tr>
  }}
 
  <!-- Children -->
  {{#if: {{{children|}}} |
    <tr>
      <td>
        Children
      </td>
      <td>
        {{{children}}}
      </td>
    </tr>
  }}
 
  <!-- Website -->
  {{#if: {{{website|}}} |
    <tr>
      <td >
        Website
      </td>
      <td >
        [{{{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 13:59, 18 June 2024

<