Jump to content

Template:Infobox: Difference between revisions

From Fedoverse Wiki, the free encyclopedia
No edit summary
No edit summary
 
(82 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><table class="infobox" style="width: 22em; float: right; clear: right; margin: 0 0 1em 1em; border: 1px solid #a2a9b1; background-color: #f8f9fa; color: #202122; font-size: 88%; line-height: 1.4em; border-collapse: collapse;">
<includeonly><table class="infobox" style="width: 22em; float: right; clear: right; margin: 0 0 1em 1em; border: none; border-radius: 12px; background-color: #f8f9fa; color: #202122; font-size: 88%; line-height: 1.4em; border-collapse: separate; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);">
   <caption style="font-size: 125%; font-weight: bold; padding: 0.5em 0.4em; text-align: center;">{{{name|{{PAGENAME}}}}}</caption>
   <caption style="font-size: 125%; font-weight: bold; padding: 0.6em 0.4em 0.2em 0.4em; text-align: center;">{{{name|{{PAGENAME}}}}}</caption>


{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
   <tr>
   <tr>
     <td colspan="2" style="text-align: center; padding: 0.7em 0.5em 0.6em 0.5em;">
     <td colspan="2" style="text-align: center; padding: 0.6em;">
[[File:{{{image}}}|250px]]
<div style="margin: 0;">[[File:{{{image}}}|250px]]</div>
{{#if:{{{caption|}}}|<div style="font-size: 90%; line-height: 1.3em; margin-top: 0.4em; padding-bottom: 0.2em;">{{{caption}}}</div>}}
{{#if:{{{caption|}}}|<div style="font-size: 90%; line-height: 1.3em; font-style: italic; margin-top: 0.6em; padding-bottom: 0.2em;">{{{caption}}}</div>}}
     </td>
     </td>
   </tr>
   </tr>
Line 25: Line 25:
}}
}}


{{#if:{{{alt_usernames|}}}|
  <tr>
    <th scope="row" style="text-align: left; padding: 0.35em 0.5em; font-weight: bold; vertical-align: top;">Also known as</th>
    <td style="padding: 0.35em 0.5em; vertical-align: top;">{{{alt_usernames}}}</td>
  </tr>
}}


{{#if:{{{socials|}}}|
{{#if:{{{socials|}}}|
Line 46: Line 40:
}}
}}


{{#if:{{{showcase_images|}}}|
 
  <tr>
{{#if:{{{featured_audio|}}}|<tr class="infobox-audio-row"><th scope="row" style="text-align: left; padding: 0.35em 0.5em; font-weight: bold; vertical-align: middle;">Featured</th><td style="padding: 0.35em 0.5em; vertical-align: middle;"><div class="infobox-audio"><div class="infobox-audio-title">{{{featured_audio_title|}}}</div><span class="infobox-native-audio" data-src="{{filepath:{{{featured_audio}}}}}"></span></div></td></tr>}}
    <th colspan="2" style="text-align: center; background-color: #eaecf0; font-weight: bold; padding: 0.3em 0.5em; border-top: 1px solid #a2a9b1;">Gallery</th>
 
  </tr>
{{#if:{{{showcase_images|}}}| <tr class="infobox-showcase-row"> <td colspan="2" class="infobox-showcase"> {{{showcase_images}}} </td> </tr> }}
  <tr>
    <td colspan="2" style="text-align: center; padding: 0.5em 0.3em 0.6em 0.3em;">{{{showcase_images}}}</td>
  </tr>
}}


   <!-- Spacer row for bottom breathing room -->
   <!-- Spacer row for bottom breathing room -->
   <tr><td colspan="2" style="padding-bottom: 0.4em;"></td></tr>
   <tr><td colspan="2" style="padding-bottom: 0.4em;"></td></tr>
</table></includeonly>
</table></includeonly>

Latest revision as of 12:50, 4 October 2026