Template:Featuredcharacters: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Derik (talk | contribs)
mNo edit summary
Saix (talk | contribs)
Undo revision 1831651 by Saix (talk)
 
(47 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<noinclude>{{inprogress}}</noinclude><includeonly>{{#switch: {{{mode}}}<!--
<includeonly>{{#if:{{{nonumbering|}}} ||''(Numbers indicate order of appearance.)''}}
    MODE: GET COLOR
<div class="tt1_featuredCharacters_wrapper">
-->
{| cellpadding="5" class="tt1_featuredCharacters"
| getColor = {{#switch: {{{1|}}}
{{#if:{{{c1|}}}|
| 1 = #FFEEEE
!! style="background:#ffdddd;" {{!}} {{{h1|[[Autobot]]s}}} }}{{#if:{{{c2|}}}|
| 2 = #EEEEFE
!! style="background:#ededff" {{!}} {{{h2|[[Decepticon]]s}}} }}{{#if:{{{c3|}}}|
| 3 = #FFEEB8
!! style="background:#fbefde;" {{!}} {{{h3|[[Human]]s}}} }}{{#if:{{{c4|}}}|
| 4 = antiquewhite
!! style="background:#ffeeb8;" {{!}} {{{h4|Others}}} }}{{#if:{{{c5|}}}|
| 5 = red
!! style="background:#d5e6d5;" {{!}} {{{h5|Misc}}} }}{{#if:{{{c6|}}}|
| 6 = green
!! style="background:#fedeb5;" {{!}} {{{h6|Misc}}} }}
| #CCCCCC
|-
}}<!--
{{#if:{{{c1|}}}|{{!}} style="background:#ffdddd;" valign="top" {{!}}
    MODE: make Header
{{{c1|}}} }}{{#if:{{{c2|}}}|<nowiki></nowiki>
-->
{{!}} style="background:#ededff;" valign="top" {{!}}
| makeHeader = ! style="background:{{fetchr{{!}}mode=getColor{{!}}{{{bgColor|}}} }}" {{!}} [[{{{faction|Autobots}}}]]
{{{c2|}}} }}{{#if:{{{c3|}}}|<nowiki></nowiki>
<!--
{{!}} style="background:#fbefde;" valign="top" {{!}}
    MODE: Begin Table
{{{c3|}}} }}{{#if:{{{c4|}}}|<nowiki></nowiki>
-->
{{!}} style="background:#ffeeb8;" valign="top" {{!}}
| beginTable = ==Featured characters==
{{{c4|}}} }}{{#if:{{{c5|}}}|<nowiki></nowiki>
(''Numbers indicate order of appearance.)
{{!}} style="background:#d5e6d5;" valign="top" {{!}}
{{{!}}border=5 cellpadding=5 cellspacing=5 align=center style="border:#800000"
{{{c5|}}} }}{{#if:{{{c6|}}}|<nowiki></nowiki>
<!--
{{!}} style="background:#fedeb5;" valign="top" {{!}}
    MODE: End Table
{{{c6|}}} }}
-->
|}</div></includeonly><noinclude>{{doc}}
| endTable = |}
[[Category:Comic issue templates|Featuredcharacters]]
<!--
[[Category:Episode templates|Featuredcharacters]]
    MODE: make Column
-->
| makeColumn = | style="background:{{fetchr|mode=getColor|{{{bgColor|}}} }}" valign="top" | {{{contents|}}}
<!--
    MODE: DEFAULT
-->
| nani?
}}</includeonly><noinclude>
 
[[Category:templates]]
 
{{Featuredcharacters|mode=getColor|2}}
 
{{fetchr|mode=beginTable}}
{{fetchr|mode=makeHeader}}
{{fetchr|mode=endTable}}
</noinclude>
</noinclude>

Latest revision as of 18:34, 9 May 2025

(Transcluded documentation: view)

Description

This template is used to make lists of characters appearing in cartoon episodes, comic stories, etc. involving the Transformers.

Usage

Parameters

Required

  • c1 - The first list of characters, usually Autobots or Maximals.

Optional

  • c2 - The second list of characters, usually Decepticons, Predacons or Vehicons.
  • c3 - The third list of characters, usually Humans.
  • c4 - The fourth list of characters, usually Others.
  • c5 - The fifth list of characters, usually "Misc.".
  • h1 - Changes the header of the first column from the default "Autobots".
  • h2 - Changes the header of the second column from the default "Decepticons"
  • h3 - Changes the header of the third column from the default "Humans"
  • h4 - changes the header of the fourth column from the default "Others". Use THIS column for Mini-Cons.
  • h5 - changes the header of the fifth column from the default "Misc". Mostly for use if the fourth column has been changed to something specific, such as Mini-Cons.
  • nonumbering- True/False. Hides the "(Numbers indicate order of appearance.)" message, for use on pages where it wouldn't make sense.

Code

{{featuredcharacters
|h1=Maximals
|c1=
*[[Optimus Primal (BW)|Optimus Primal]] (1)
*[[Razorbeast]] (4)
|h2=Predacons
|c2=
*[[Megatron (BW)|Megatron]] (2)
*[[Buzz Saw (BW)|Buzz Saw]] (3)
|h3=Vehicons
|c3=
*[[Jetstorm (BM)|Jetstorm]]
|h4=Mini-Cons
|c4=
*[[Perceptor (Energon)|Perceptor]]
|h5=Other
|c5=
*[[The Fallen]]
}}

Examples

NB: None of these come from any specific story

Animated

(Numbers indicate order of appearance.)

Code:

{{featuredcharacters
|c1=
*[[Optimus Prime (Animated)|Optimus Prime]] (1)
*[[Bumblebee (Animated)|Bumblebee]] (2)
*[[Prowl (Animated)|Prowl]] (7)
|c2=
*[[Lugnut (Animated)|Lugnut]] (5)
*[[Megatron (Animated)|Megatron]] (6)
|c3=
*[[Isaac Sumdac (Animated)|]] (4)
|c4=
*[[Sari Sumdac (Animated)|]] (3)
}}

Beast Wars

(Numbers indicate order of appearance.)

Code:

{{featuredcharacters
|h1=[[Maximal]]s
|c1=
*[[Optimus Primal]] (1)
*[[Cheetor (BW)|Cheetor]] (4)
*[[Rhinox (BW)|Rhinox]] (5)
|h2=[[Predacon (BW)|Predacons]]
|c2=
*[[Megatron (BW)|Megatron]] (2)
*[[Waspinator (BW)|Waspinator]] (3)
}}

Armada

(Numbers indicate order of appearance.)

Code:

{{featuredcharacters
|c1=
*[[Optimus Prime (Armada)|Optimus Prime]] (5)
*[[Hot Shot (Armada)|Hot Shot]] (6)
|c2=
*[[Megatron (Armada)|Galvatron]] (1)
|c3=
*[[Alexis Thi Dang|Alexis]] (2)
*[[Rad White]] (3)
|h4=[[Mini-Con]]s
|c4=
* [[Sparkplug (Armada)|Sparkplug]] (4)
* [[Street Action Mini-Con Team (Amrada)|Street Action Mini-Con Team]]
** [[High Wire (Armada)|High Wire]] (8)
** [[Grindor (Armada)|Grindor]] (9)
** [[Sureshock (Armada)|Sureshock]] (10)
|h5=Others
|c5=
*[[Unicron]] (7)
}}

Shattered Glass

(Numbers indicate order of appearance.)

Code:

{{featuredcharacters|h1=[[Decepticon|Decepticons]]|c1=
* [[Megatron (SG)|Megatron]] (1)
* [[Sir Soundwave|Soundwave]] (4)
* [[Starscream (SG)|Starscream]] (2)
|h2=[[Autobot|Autobots]]|c2=
* [[Optimus Prime (SG)|Optimus Prime]] (5)
* [[Grimlock (SG)|Grimlock]] (3)
* [[Goldbug (SG)|Goldbug]] (7)
|c4=
* [[Cliffjumper (G1)|Cliffjumper]] (6)
}}