Template:Infobox: Difference between revisions

From Shut Down
Jump to navigation Jump to search
No edit summary
Tag: Reverted
(Replaced content with ".infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { font-size: 2em; text-align: center; } .infobox-image { text-align: center; } .infobox th { text-align: right; vertical-align: top; width: 120px; } .infobox td { vertical-align: top; }")
Tags: Replaced Reverted
Line 1: Line 1:
<table class="infobox biography vcard">
.infobox {
      <tr>
    background: #eee;
        <th colspan="2" class="infobox-above" style="font-size:125%;">
    border: 1px solid #aaa;
            <div class="honorific-prefix" style="font-size: 77%; font-weight: normal; display:inline;"><i>honorific_prefix</i></div>
    float: right;
            <br>
    margin: 0 0 1em 1em;
            <div class="fn" style="display:inline"><i>name</i></div>
    padding: 1em;
            <br>
    width: 400px;
            <div class="honorific-suffix" style="font-size: 77%; font-weight: normal; display:inline;"><i>honorific_suffix</i></div>
}
        </th>
.infobox-title {
      </tr>
    font-size: 2em;
      <tr>
    text-align: center;
        <td colspan="2" class="infobox-subheader" style="font-size:125%; font-weight:bold;">
}
            <div class="nickname" lang="''native_name_lang''"><i>native_name</i></div>
.infobox-image {
        </td>
    text-align: center;
      </tr>
}
      <tr>
.infobox th {
        <td colspan="2" class="infobox-image">
    text-align: right;
            <a href="/wiki/File:Example_image_not_to_be_used_in_article_namespace.jpg" class="image"><img alt="alt" src="//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Example_image_not_to_be_used_in_article_namespace.jpg/220px-Example_image_not_to_be_used_in_article_namespace.jpg" decoding="async" srcset="//upload.wikimedia.org/wikipedia/commons/7/79/Example_image_not_to_be_used_in_article_namespace.jpg 1.5x" data-file-width="275" data-file-height="297" width="220" height="238"></a>
    vertical-align: top;
            <div class="infobox-caption"><i>caption</i></div>
    width: 120px;
        </td>
}
      </tr>
.infobox td {
      <tr>
    vertical-align: top;
        <th scope="row" class="infobox-label">Pronunciation</th>
}
        <td class="infobox-data"><i>pronunciation</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Born</th>
        <td class="infobox-data">
            <div style="display:inline" class="nickname"><i>birth_name</i></div>
            <br><i>birth_date</i><br>
            <div style="display:inline" class="birthplace"><i>birth_place</i></div>
        </td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Disappeared</th>
        <td class="infobox-data"><i>disappeared_date</i><br><i>disappeared_place</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Status</th>
        <td class="infobox-data"><i>disappeared_status</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Died</th>
        <td class="infobox-data">
            <i>death_date</i><br>
            <div style="display:inline" class="deathplace"><i>death_place</i></div>
        </td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Cause&nbsp;of death</th>
        <td class="infobox-data"><i>death_cause</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Body discovered</th>
        <td class="infobox-data"><i>body_discovered</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Resting place</th>
        <td class="infobox-data label"><i>resting_place</i><br><i>resting_place_coordinates</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Monuments</th>
        <td class="infobox-data"><i>monuments</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Nationality</th>
        <td class="infobox-data category"><i>nationality</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Other&nbsp;names</th>
        <td class="infobox-data nickname"><i>other_names</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Siglum</th>
        <td class="infobox-data"><i>siglum</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Citizenship</th>
        <td class="infobox-data category"><i>citizenship</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Education</th>
        <td class="infobox-data"><i>education</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Alma&nbsp;mater</th>
        <td class="infobox-data"><i>alma_mater</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Occupation</th>
        <td class="infobox-data role"><i>occupation</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Years&nbsp;active</th>
        <td class="infobox-data"><i>years_active</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Era</th>
        <td class="infobox-data category"><i>era</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Employer</th>
        <td class="infobox-data org"><i>employer</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Organization</th>
        <td class="infobox-data org"><i>organization</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Agent</th>
        <td class="infobox-data agent"><i>agent</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Known&nbsp;for</th>
        <td class="infobox-data"><i>known_for</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label"><span style="white-space:nowrap;">Notable work</span></th>
        <td class="infobox-data"><i>notable_works</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Style</th>
        <td class="infobox-data category"><i>style</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Height</th>
        <td class="infobox-data"><i>height</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Television</th>
        <td class="infobox-data"><i>television</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Title</th>
        <td class="infobox-data title"><i>title</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Term</th>
        <td class="infobox-data"><i>term</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Predecessor</th>
        <td class="infobox-data"><i>predecessor</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Successor</th>
        <td class="infobox-data"><i>successor</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Political party</th>
        <td class="infobox-data org"><i>party</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Other political<br>affiliations</th>
        <td class="infobox-data org"><i>otherparty</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Movement</th>
        <td class="infobox-data category"><i>movement</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Opponent</th>
        <td class="infobox-data"><i>opponents</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Board member&nbsp;of</th>
        <td class="infobox-data"><i>boards</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Criminal charges</th>
        <td class="infobox-data"><i>criminal_charges</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Criminal penalty</th>
        <td class="infobox-data"><i>criminal_penalty</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Criminal status</th>
        <td class="infobox-data category"><i>criminal_status</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Spouse</th>
        <td class="infobox-data"><i>spouse</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Partner</th>
        <td class="infobox-data"><i>partner</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Children</th>
        <td class="infobox-data"><i>children</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Parent</th>
        <td class="infobox-data"><i>parents</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Relatives</th>
        <td class="infobox-data"><i>relatives</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Family</th>
        <td class="infobox-data"><i>family</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Call sign</th>
        <td class="infobox-data"><i>callsign</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Awards</th>
        <td class="infobox-data"><i>awards</i></td>
      </tr>
      <tr>
        <td colspan="2" class="infobox-full-data"><i>module</i></td>
      </tr>
      <tr>
        <td colspan="2" class="infobox-full-data"><i>module2</i></td>
      </tr>
      <tr>
        <td colspan="2" class="infobox-full-data"><i>module3</i></td>
      </tr>
      <tr>
        <td colspan="2" class="infobox-full-data"><i>module4</i></td>
      </tr>
      <tr>
        <td colspan="2" class="infobox-full-data"><i>module5</i></td>
      </tr>
      <tr>
        <td colspan="2" class="infobox-full-data"><i>module6</i></td>
      </tr>
      <tr>
        <th scope="row" class="infobox-label">Website</th>
        <td class="infobox-data"><i>website</i></td>
      </tr>
      <tr>
        <th colspan="2" class="infobox-header">Signature</th>
      </tr>
      <tr>
        <td colspan="2" class="infobox-full-data">signature.jpg</td>
      </tr>
      <tr>
        <th colspan="2" class="infobox-header">Notes</th>
      </tr>
      <tr>
        <td colspan="2" class="infobox-full-data">
            <div style="text-align: left;"><i>footnotes</i></div>
        </td>
      </tr>
 
  <tr>
  |param1 =
  </tr>
</table>

Revision as of 10:48, 26 January 2023

.infobox {

   background: #eee;
   border: 1px solid #aaa;
   float: right;
   margin: 0 0 1em 1em;
   padding: 1em;
   width: 400px;

} .infobox-title {

   font-size: 2em;
   text-align: center;

} .infobox-image {

   text-align: center;

} .infobox th {

   text-align: right;
   vertical-align: top;
   width: 120px;

} .infobox td {

   vertical-align: top;

}