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
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
  <!-- Title of Infobox-->
{{documentation}}
    <div class="infobox-header">BIO
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
    </div>
  <!-- Image -->
  {{#if: {{{image|}}} |
    <div class="infobox-image">
      [[File:{{{image}}}|250px|center|alt={{{image_alt|}}}|{{{image_caption|}}}]]
    </div>
  }}
<!-- Name -->
  {{#if: {{{lifestyle-titles|}}} |
    <div class="infobox-row">
      <div class="infobox-label">Lifestyle Title(s):</div>
      <div class="infobox-value">{{{lifestyle-titles}}}</div>
    </div>
  }}
<!-- Name -->
  {{#if: {{{scene-name|}}} |
    <div class="infobox-row">
      <div class="infobox-label">Scene Name:</div>
      <div class="infobox-value">{{{scene-name}}}</div>
    </div>
  }}
  <!-- Scene Name -->
  {{#if: {{{pronouns|}}} |
    <div class="infobox-row">
      <div class="infobox-label">Pronouns:</div>
      <div class="infobox-value">{{{pronouns}}}</div>
    </div>
  }}
<!-- Name -->
  {{#if: {{{name|}}} |
    <div class="infobox-row">
      <div class="infobox-label">Name:</div>
      <div class="infobox-value">{{{name}}}</div>
    </div>
  }}
  <!-- Birth Date -->
  {{#if: {{{birth_date|}}} |
    <div class="infobox-row">
      <div class="infobox-label">D.O.B:</div>
      <div class="infobox-value">{{{birth_date}}}</div>
    </div>
  }}
  <!-- Death Date -->
  {{#if: {{{death_date|}}} |
    <div class="infobox-row">
      <div class="infobox-label">D.O.D:</div>
      <div class="infobox-value">{{{death_date}}}</div>
    </div>
  }}
  <!-- Occupation -->
  {{#if: {{{occupation|}}} |
    <div class="infobox-row">
      <div class="infobox-label">Occupation:</div>
      <div class="infobox-value">{{{occupation}}}</div>
    </div>
  }}
  <!-- Known For -->
  {{#if: {{{known_for|}}} |
    <div class="infobox-row">
      <div class="infobox-label">Known For:</div>
      <div class="infobox-value">{{{known_for}}}</div>
    </div>
  }}
  <!-- Spouse -->
  {{#if: {{{spouse|}}} |
    <div class="infobox-row">
      <div class="infobox-label">Spouse(s):</div>
      <div class="infobox-value">{{{spouse}}}</div>
    </div>
  }}
  <!-- Children -->
  {{#if: {{{children|}}} |
    <div class="infobox-row">
      <div class="infobox-label">Children:</div>
      <div class="infobox-value">{{{children}}}</div>
    </div>
  }}
  <!-- Children -->
  {{#if: {{{partners|}}} |
    <div class="infobox-row">
      <div class="infobox-label">Partners:</div>
      <div class="infobox-value">{{{partners}}}</div>
    </div>
  }}
  <!-- Website -->
  {{#if: {{{website|}}} |
    <div class="infobox-row">
      <div class="infobox-label">Website:</div>
      <div class="infobox-value">{{{website}}}
      </div>
    </div>
  }}
</div>
<!--Last line of your template code--><noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage -->
</noinclude>
</noinclude>

Latest revision as of 12:59, 18 June 2024

<