Template:Infobox: Difference between revisions

From Glue3D Wiki, the free encygluepedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<div class="portable-infobox" style="float: right; width: 280px; background-color: #f0f8fa; border: 2px solid #52a1ac; padding: 5px; margin-left: 15px; margin-bottom: 15px; font-family: verdana, sans-serif; box-sizing: border-box;">
<table class="infobox vcard" style="float: right; clear: right; width: 22em; border-collapse: collapse; border: 1px solid #a2a9b1; background-color: #f8f9fa; color: #202122; margin: 0 0 1em 1em; padding: 0.2em; font-family: sans-serif; font-size: 88%; line-height: 1.5em;">


   <div style="background-color: #52a1ac; color: white; text-align: center; font-weight: bold; font-size: 1.1em; padding: 5px 2px; border: 1px solid #3d7c85; text-transform: capitalize;">
   <tr>
    {{{title|{{PAGENAME}}}}}
    <th colspan="2" class="infobox-above fn" style="text-align: center; font-size: 125%; font-weight: bold; padding: 0.2em 0.4em; background-color: #bee8ed; color: #104047; border-bottom: 1px solid #a2a9b1;">
   </div>
      {{{title|{{PAGENAME}}}}}
    </th>
   </tr>
 
  {{#if:{{{subheader|}}}|
    <tr>
      <td colspan="2" class="infobox-subheader" style="text-align: center; font-size: 95%; font-weight: bold; padding: 0.2em 0.4em;">
        {{{subheader}}}
      </td>
    </tr>
  }}


   {{#if:{{{image|}}}|
   {{#if:{{{image|}}}|
     <div style="text-align: center; background-color: #ffffff; border: 1px solid #a7d7df; margin: 5px 0; padding: 5px;">
     <tr>
      [[File:{{{image}}}|260px|center|border]]
      <td colspan="2" class="infobox-image" style="text-align: center; padding: 0.4em 0;">
      {{#if:{{{caption|}}}|<div style="font-size: 0.85em; color: #444; margin-top: 4px; padding: 2px;">{{{caption}}}</div>}}
        [[File:{{{image}}}|250px|center]]
     </div>
        {{#if:{{{caption|}}}|
          <div class="infobox-caption" style="font-size: 90%; line-height: 1.3em; padding-top: 0.2em; color: #54595d;">{{{caption}}}</div>
        }}
      </td>
     </tr>
   }}
   }}


   <table style="width: 100%; border-collapse: collapse; margin-top: 5px; font-size: 0.9em; background-color: #ffffff; border: 1px solid #a7d7df;">
   {{#if:{{{developer|}}}|
    <tbody>
    <tr>
      {{#if:{{{developer|}}}|
      <th scope="row" style="text-align: left; padding: 4px 6px; font-weight: bold; width: 40%; vertical-align: top;">Developer</th>
        <tr style="border-bottom: 1px solid #bee8ed;">
      <td style="padding: 4px 6px; vertical-align: top;">{{{developer}}}</td>
          <th style="padding: 5px; font-weight: bold; color: #2c5e66; text-align: left; width: 35%; background-color: #e6f5f7; border-right: 1px solid #bee8ed;">Developer</th>
    </tr>
          <td style="padding: 5px; color: #000; text-align: left;">{{{developer}}}</td>
  }}
        </tr>
 
      }}
  {{#if:{{{released|}}}|
      {{#if:{{{released|}}}|
    <tr>
        <tr style="border-bottom: 1px solid #bee8ed;">
      <th scope="row" style="text-align: left; padding: 4px 6px; font-weight: bold; vertical-align: top;">Released</th>
          <th style="padding: 5px; font-weight: bold; color: #2c5e66; text-align: left; background-color: #e6f5f7; border-right: 1px solid #bee8ed;">Released</th>
      <td style="padding: 4px 6px; vertical-align: top;">{{{released}}}</td>
          <td style="padding: 5px; color: #000; text-align: left;">{{{released}}}</td>
    </tr>
        </tr>
  }}
      }}
 
      {{#if:{{{platform|}}}|
  {{#if:{{{platform|}}}|
        <tr style="border-bottom: 1px solid #bee8ed;">
    <tr>
          <th style="padding: 5px; font-weight: bold; color: #2c5e66; text-align: left; background-color: #e6f5f7; border-right: 1px solid #bee8ed;">Platform</th>
      <th scope="row" style="text-align: left; padding: 4px 6px; font-weight: bold; vertical-align: top;">Platform</th>
          <td style="padding: 5px; color: #000; text-align: left;">{{{platform}}}</td>
      <td style="padding: 4px 6px; vertical-align: top;">{{{platform}}}</td>
        </tr>
    </tr>
      }}
  }}
      {{#if:{{{language|}}}|
 
        <tr style="border-bottom: 1px solid #bee8ed;">
  {{#if:{{{language|}}}|
          <th style="padding: 5px; font-weight: bold; color: #2c5e66; text-align: left; background-color: #e6f5f7; border-right: 1px solid #bee8ed;">Language</th>
    <tr>
          <td style="padding: 5px; color: #000; text-align: left;">{{{language}}}</td>
      <th scope="row" style="text-align: left; padding: 4px 6px; font-weight: bold; vertical-align: top;">Language</th>
        </tr>
      <td style="padding: 4px 6px; vertical-align: top;">{{{language}}}</td>
      }}
    </tr>
      {{#if:{{{website|}}}|
  }}
        <tr>
 
          <th style="padding: 5px; font-weight: bold; color: #2c5e66; text-align: left; background-color: #e6f5f7; border-right: 1px solid #bee8ed;">Website</th>
  {{#if:{{{website|}}}|
          <td style="padding: 5px; color: #000; text-align: left;">{{{website}}}</td>
    <tr>
        </tr>
      <th scope="row" style="text-align: left; padding: 4px 6px; font-weight: bold; vertical-align: top;">Website</th>
      }}
      <td style="padding: 4px 6
    </tbody>
  </table>
 
</div>

Revision as of 10:54, 29 May 2026

{{#if:|
     <td style="padding: 4px 6
     Infobox
Website