Template:Featuredcharacters: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Jeysie (talk | contribs)
*crosses fingers*
Saix (talk | contribs)
Undo revision 1831651 by Saix (talk)
 
(36 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<noinclude>'''<tt><nowiki>{{featuredcharacters}}</nowiki></tt>''' is a template which makes formating a character appearance list easier. The headers and column contents are set with values h1-h4, and c1-c4. Header values default to Autobot, Decepticon, Human and Other.
<includeonly>{{#if:{{{nonumbering|}}} ||''(Numbers indicate order of appearance.)''}}
{|class="wikitable"
<div class="tt1_featuredCharacters_wrapper">
|-
{| cellpadding="5" class="tt1_featuredCharacters"
!h1!!h2!!h3!!h4!!h5
{{#if:{{{c1|}}}|
|-
!! style="background:#ffdddd;" {{!}} {{{h1|[[Autobot]]s}}} }}{{#if:{{{c2|}}}|
!c1!!c2!!c3!!c4!!c5
!! style="background:#ededff" {{!}} {{{h2|[[Decepticon]]s}}} }}{{#if:{{{c3|}}}|
|}
!! style="background:#fbefde;" {{!}} {{{h3|[[Human]]s}}} }}{{#if:{{{c4|}}}|
<pre>{{featuredcharacters
!! style="background:#ffeeb8;" {{!}} {{{h4|Others}}} }}{{#if:{{{c5|}}}|
|c1=
!! style="background:#d5e6d5;" {{!}} {{{h5|Misc}}} }}{{#if:{{{c6|}}}|
* [[Gears (G1)|Gears]] (1)
!! style="background:#fedeb5;" {{!}} {{{h6|Misc}}} }}
* [[Windcharger (G1)|Windcharger]] (4)
|c2=
* [[ Starscream (G1)|Starscream]] (5)
* [[Thundercracker (G1)|Thundercracker]] (3)
|c3 =
* [[Spike Witwicky]] (2)
* [[Sparkplug Witwicky]] (6)
}}</pre>
[[Category:Comic issue templates]]
[[Category:Episode templates]]</noinclude>
<includeonly>(''Numbers indicate order of appearance.)
{|border="5" cellpadding="5" cellspacing="5" align="center" style="border:solid 1px #800000;"
{{#if:{{{c1|}}}|!style="background:#FFEEEE"{{!}}{{{h1|[[Autobots]]}}}}}
{{#if:{{{c1|}}}|!style="background:#EEEEFE"{{!}}{{{h2|[[Decepticons]]}}}}}
{{#if:{{{c1|}}}|!style="background:#FAEBD7"{{!}}{{{h3|[[Human|Humans]]}}}}}
{{#if:{{{c1|}}}|!style="background:#FFEEB8"{{!}}{{{h4|Others}}}}}
{{#if:{{{c1|}}}|!style="background:#D8BFD8"{{!}}{{{h5|Misc}}}}}
|-
|-
{{#if:{{{c1|}}}|
{{#if:{{{c1|}}}|{{!}} style="background:#ffdddd;" valign="top" {{!}}
{{!}}style="background:#FFEEEE" valign="top"{{!}}
{{{c1|}}} }}{{#if:{{{c2|}}}|<nowiki></nowiki>
{{{c1|}}}}}
{{!}} style="background:#ededff;" valign="top" {{!}}
{{#if:{{{c2|}}}|
{{{c2|}}} }}{{#if:{{{c3|}}}|<nowiki></nowiki>
{{!}}style="background:#EEEEFE" valign="top"{{!}}
{{!}} style="background:#fbefde;" valign="top" {{!}}
{{{c2|}}}}}
{{{c3|}}} }}{{#if:{{{c4|}}}|<nowiki></nowiki>
{{#if:{{{c3|}}}|
{{!}} style="background:#ffeeb8;" valign="top" {{!}}
{{!}}style="background:#FAEBD7" valign="top"{{!}}
{{{c4|}}} }}{{#if:{{{c5|}}}|<nowiki></nowiki>
{{{c3|}}}}}
{{!}} style="background:#d5e6d5;" valign="top" {{!}}
{{#if:{{{c4|}}}|
{{{c5|}}} }}{{#if:{{{c6|}}}|<nowiki></nowiki>
{{!}}style="background:#FFEEB8" valign="top"{{!}}
{{!}} style="background:#fedeb5;" valign="top" {{!}}
{{{c4|}}}}}
{{{c6|}}} }}
{{#if:{{{c5|}}}|
|}</div></includeonly><noinclude>{{doc}}
{{!}}style="background:#D8BFD8" valign="top"{{!}}
[[Category:Comic issue templates|Featuredcharacters]]
{{{c5|}}}}}
[[Category:Episode templates|Featuredcharacters]]
|}</includeonly>
</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)
}}