Jump to content

Template:For Characters: Difference between revisions

From wiki58
Replace Fandom component markup with native Wikipedia classes; retain source parameters, content, and archived history
m Remove generated paragraph spacing inside infobox cells; retain Wikipedia CSS
 
Line 2: Line 2:
{{#if:{{#if:{{{title1|}}}|{{{title1|}}}|{{PAGENAME}}}}|<caption class="infobox-title">{{#if:{{{title1|}}}|{{{title1|}}}|{{PAGENAME}}}}</caption>|}}
{{#if:{{#if:{{{title1|}}}|{{{title1|}}}|{{PAGENAME}}}}|<caption class="infobox-title">{{#if:{{{title1|}}}|{{{title1|}}}|{{PAGENAME}}}}</caption>|}}
{{#if:{{{image2|}}}|<tr>
{{#if:{{{image2|}}}|<tr>
<td class="infobox-image" colspan="2">
<td class="infobox-image" colspan="2">{{#ifeq:{{#sub:{{{image2|}}}|0|1}}|[|{{{image2|}}}|[[{{#ifeq:{{lc:{{#sub:{{{image2|}}}|0|5}}}}|file:||{{#ifeq:{{lc:{{#sub:{{{image2|}}}|0|6}}}}|image:||File:}}}}{{{image2|}}}|frameless|220px]]}}{{#if:{{{caption2|}}}|<div class="infobox-caption">{{{caption2|}}}</div>|}}</td>
{{#ifeq:{{#sub:{{{image2|}}}|0|1}}|[|{{{image2|}}}|[[{{#ifeq:{{lc:{{#sub:{{{image2|}}}|0|5}}}}|file:||{{#ifeq:{{lc:{{#sub:{{{image2|}}}|0|6}}}}|image:||File:}}}}{{{image2|}}}|frameless|220px]]}}{{#if:{{{caption2|}}}|
<div class="infobox-caption">
{{{caption2|}}}
</div>|}}
</td>
</tr>|}}
</tr>|}}
{{#if:{{{genre|}}}|<tr>
{{#if:{{{genre|}}}|<tr>
<th class="infobox-label" scope="row">
<th class="infobox-label" scope="row">Genre</th>
Genre
<td class="infobox-data">{{{genre|}}}</td>
</th>
<td class="infobox-data">
{{{genre|}}}
</td>
</tr>|}}
</tr>|}}
{{#if:{{{country|}}}|<tr>
{{#if:{{{country|}}}|<tr>
<th class="infobox-label" scope="row">
<th class="infobox-label" scope="row">Country</th>
Country
<td class="infobox-data">{{{country|}}}</td>
</th>
<td class="infobox-data">
{{{country|}}}
</td>
</tr>|}}
</tr>|}}
{{#if:{{{status|}}}|<tr>
{{#if:{{{status|}}}|<tr>
<th class="infobox-label" scope="row">
<th class="infobox-label" scope="row">Status</th>
Status
<td class="infobox-data">{{{status|}}}</td>
</th>
<td class="infobox-data">
{{{status|}}}
</td>
</tr>|}}
</tr>|}}
{{#if:{{{species|}}}|<tr>
{{#if:{{{species|}}}|<tr>
<th class="infobox-label" scope="row">
<th class="infobox-label" scope="row">Species</th>
Species
<td class="infobox-data">{{{species|}}}</td>
</th>
<td class="infobox-data">
{{{species|}}}
</td>
</tr>|}}
</tr>|}}
{{#if:{{{side_of|}}}|<tr>
{{#if:{{{side_of|}}}|<tr>
<th class="infobox-label" scope="row">
<th class="infobox-label" scope="row">Side of</th>
Side of
<td class="infobox-data">{{{side_of|}}}</td>
</th>
<td class="infobox-data">
{{{side_of|}}}
</td>
</tr>|}}
</tr>|}}
</table>|}}
</table>|}}

Latest revision as of 18:52, 11 November 2026

For Characters

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:

{{For Characters

  | title1=Example

  | image2=Example

  | caption2=Example

  | genre=Example

  | country=Example

  | status=Example

  | species=Example

  | side_of=Example

}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
title1title1

no description

Unknownsuggested
image2image2

no description

Unknownsuggested
caption2caption2

no description

Unknownsuggested
genregenre

no description

Unknownsuggested
countrycountry

no description

Unknownsuggested
statusstatus

no description

Unknownsuggested
speciesspecies

no description

Unknownsuggested
side_ofside_of

no description

Unknownsuggested