Jump to content

Template:Station: Difference between revisions

From wiki58
Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="owner"..."
 
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|}}}{{{owner|}}}{{{founded|}}}{{{call_sign|}}}{{{links|}}}|<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="owner">
</div>|}}
    <label>Owner</label>
</td>
  </data>
</tr>|}}
  <data source="founded">
{{#if:{{{owner|}}}|<tr>
    <label>Founded</label>
<th class="infobox-label" scope="row">
  </data>
Owner
  <data source="call_sign">
</th>
    <label>Call sign</label>
<td class="infobox-data">
  </data>
{{{owner|}}}
  <data source="links">
</td>
    <label>Links</label>
</tr>|}}
  </data>
{{#if:{{{founded|}}}|<tr>
</infobox>
<th class="infobox-label" scope="row">
Founded
</th>
<td class="infobox-data">
{{{founded|}}}
</td>
</tr>|}}
{{#if:{{{call_sign|}}}|<tr>
<th class="infobox-label" scope="row">
Call sign
</th>
<td class="infobox-data">
{{{call_sign|}}}
</td>
</tr>|}}
{{#if:{{{links|}}}|<tr>
<th class="infobox-label" scope="row">
Links
</th>
<td class="infobox-data">
{{{links|}}}
</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

Station

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:

{{Station

  | title1=Example

  | image1=Example

  | caption1=Example

  | owner=Example

  | founded=Example

  | call_sign=Example

  | links=Example

}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
title1title1

no description

Unknownsuggested
image1image1

no description

Unknownsuggested
caption1caption1

no description

Unknownsuggested
ownerowner

no description

Unknownsuggested
foundedfounded

no description

Unknownsuggested
call_signcall_sign

no description

Unknownsuggested
linkslinks

no description

Unknownsuggested