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:
<div class="infobox">
<<!-- Template:LeatherInfobox -->
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="leather-infobox">
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
  <div class="leather-infobox-title">{{{title}}}</div>
<table class="infobox-table">{{#if:{{{Name|}}}|<tr>
  <div class="leather-infobox-content">
     <th>Name</th>
    <!-- Image Section -->
    <td>{{{Name}}}</td>
    {{#if: {{{image|}}} |  
</tr>}}{{#if:{{{param2|}}}|<tr>
      <div class="leather-infobox-image">
    <th>Parameter 2</th>
        [[File:{{{image}}}|250px|alt={{{image_alt}}}|{{{image_caption}}}]]
    <td>{{{param2}}}</td>
      </div>
</tr>}}{{#if:{{{param3|}}}|<tr>
    }}
    <th>Parameter 3</th>
 
    <td>{{{param3}}}</td>
    <!-- Name Section -->
</tr>}}{{#if:{{{param4|}}}|<tr>
    {{#if: {{{name|}}} |
    <th>Parameter 4</th>
      <div class="leather-infobox-section">
    <td>{{{param4}}}</td>
        <div class="leather-infobox-label">Name</div>
</tr>}}{{#if:{{{param5|}}}|<tr>
        <div class="leather-infobox-value">{{{name}}}</div>
    <th>Parameter 5</th>
      </div>
    <td>{{{param5}}}</td>
    }}
</tr>}}</table>
 
    <!-- Birth Date Section -->
    {{#if: {{{birth_date|}}} |  
      <div class="leather-infobox-section">
        <div class="leather-infobox-label">Date of Birth</div>
        <div class="leather-infobox-value">{{{birth_date}}}</div>
      </div>
    }}
 
     <!-- Occupation Section -->
    {{#if: {{{occupation|}}} |
      <div class="leather-infobox-section">
        <div class="leather-infobox-label">Occupation</div>
        <div class="leather-infobox-value">{{{occupation}}}</div>
      </div>
    }}
 
    <!-- Known For Section -->
    {{#if: {{{known_for|}}} |  
      <div class="leather-infobox-section">
        <div class="leather-infobox-label">Known For</div>
        <div class="leather-infobox-value">{{{known_for}}}</div>
      </div>
    }}
 
    <!-- Spouse Section -->
    {{#if: {{{spouse|}}} |  
      <div class="leather-infobox-section">
        <div class="leather-infobox-label">Spouse(s)</div>
        <div class="leather-infobox-value">{{{spouse}}}</div>
      </div>
    }}
 
    <!-- Children Section -->
    {{#if: {{{children|}}} |  
      <div class="leather-infobox-section">
        <div class="leather-infobox-label">Children</div>
        <div class="leather-infobox-value">{{{children}}}</div>
      </div>
    }}
 
    <!-- Website Section -->
    {{#if: {{{website|}}} |  
      <div class="leather-infobox-section">
        <div class="leather-infobox-label">Website</div>
        <div class="leather-infobox-value">[{{{website}}} {{{website}}}]</div>
      </div>
    }}
  </div>
</div>
</div>


<!--Last line of your template code--><noinclude>
<!--Last line of your template code--><noinclude>

Revision as of 11:16, 6 June 2024

<

{{{title}}}