Jump to content

Template:(Real) Person: Difference between revisions

From wiki58
mNo edit summary
Replace Fandom component markup with native Wikipedia classes; retain source parameters, content, and archived history
Line 1: Line 1:
<infobox>
{{#if:{{#if:{{{title1|}}}|{{{title1|}}}|{{PAGENAME}}}}{{{image1|}}}{{{born|}}}{{{nationality|}}}{{{education|}}}{{{occupation|}}}{{{years_active|}}}{{{known_for|}}}{{{website|}}}|<table class="infobox">
  <title source="title1">
{{#if:{{#if:{{{title1|}}}|{{{title1|}}}|{{PAGENAME}}}}|<caption class="infobox-title">{{#if:{{{title1|}}}|{{{title1|}}}|{{PAGENAME}}}}</caption>|}}
    <default>{{PAGENAME}}</default>
{{#if:{{{image1|}}}|<tr>
  </title>
<td class="infobox-image" colspan="2">
  <image source="image1">
{{#ifeq:{{#sub:{{{image1|}}}|0|1}}|[|{{{image1|}}}|[[{{#ifeq:{{lc:{{#sub:{{{image1|}}}|0|5}}}}|file:||{{#ifeq:{{lc:{{#sub:{{{image1|}}}|0|6}}}}|image:||File:}}}}{{{image1|}}}|frameless|220px]]}}{{#if:{{{caption1|}}}|
    <caption source="caption1"/>
<div class="infobox-caption">
  </image>
{{{caption1|}}}
  <data source="born">
</div>|}}
    <label>Born</label>
</td>
  </data>
</tr>|}}
  <data source="nationality">
{{#if:{{{born|}}}|<tr>
    <label>Nationality</label>
<th class="infobox-label" scope="row">
  </data>
Born
  <data source="education">
</th>
    <label>Education</label>
<td class="infobox-data">
  </data>
{{{born|}}}
  <data source="occupation">
</td>
    <label>Occupation</label>
</tr>|}}
  </data>
{{#if:{{{nationality|}}}|<tr>
  <data source="years_active">
<th class="infobox-label" scope="row">
    <label>Years active</label>
Nationality
  </data>
</th>
  <data source="known_for">
<td class="infobox-data">
    <label>Known for</label>
{{{nationality|}}}
  </data>
</td>
  <data source="website">
</tr>|}}
    <label>Website</label>
{{#if:{{{education|}}}|<tr>
  </data>
<th class="infobox-label" scope="row">
</infobox>
Education
</th>
<td class="infobox-data">
{{{education|}}}
</td>
</tr>|}}
{{#if:{{{occupation|}}}|<tr>
<th class="infobox-label" scope="row">
Occupation
</th>
<td class="infobox-data">
{{{occupation|}}}
</td>
</tr>|}}
{{#if:{{{years_active|}}}|<tr>
<th class="infobox-label" scope="row">
Years active
</th>
<td class="infobox-data">
{{{years_active|}}}
</td>
</tr>|}}
{{#if:{{{known_for|}}}|<tr>
<th class="infobox-label" scope="row">
Known for
</th>
<td class="infobox-data">
{{{known_for|}}}
</td>
</tr>|}}
{{#if:{{{website|}}}|<tr>
<th class="infobox-label" scope="row">
Website
</th>
<td class="infobox-data">
{{{website|}}}
</td>
</tr>|}}
</table>|}}
<noinclude>
<noinclude>
Native MediaWiki infobox using locally mirrored Wikipedia styles. Image fields accept a bare filename, a <code>File:</code>-prefixed name, or complete <code><nowiki>[[File:…]]</nowiki></code> markup. Fields, defaults, and categories retain the imported template API.
Example usage:
Example usage:
<pre>
<pre>

Revision as of 17:59, 11 November 2026

(Real) Person

Native MediaWiki infobox using locally mirrored Wikipedia styles. Image fields accept a bare filename, a File:-prefixed name, or complete [[File:…]] markup. Fields, defaults, and categories retain the imported template API.


Example usage:

{{(Real) Person

  | title1=Example

  | image1=Example

  | caption1=Example

  | born=Example

  | nationality=Example

  | education=Example

  | occupation=Example

  | years_active=Example

  | known_for=Example

  | website=Example

}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
title1title1

no description

Unknownsuggested
image1image1

no description

Unknownsuggested
caption1caption1

no description

Unknownsuggested
bornborn

no description

Unknownsuggested
nationalitynationality

no description

Unknownsuggested
educationeducation

no description

Unknownsuggested
occupationoccupation

no description

Unknownsuggested
years_activeyears_active

no description

Unknownsuggested
CreationsCreations

no description

Unknownsuggested
websitewebsite

no description

Unknownsuggested