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)
 
(40 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>===Featured Characters===
<includeonly>{{#if:{{{nonumbering|}}} ||''(Numbers indicate order of appearance.)''}}
(''Numbers indicate order of appearance.)
<div class="tt1_featuredCharacters_wrapper">
{|border=5 cellpadding=5 cellspacing=5 align=center style="border:#800000"
{| cellpadding="5" class="tt1_featuredCharacters"
! style="background:#FFEEEE" | {{{h1|[[Autobots]]}}}
{{#if:{{{c1|}}}|
! style="background:#EEEEFE" | {{{h2|[[Decepticons]]}}}
!! style="background:#ffdddd;" {{!}} {{{h1|[[Autobot]]s}}} }}{{#if:{{{c2|}}}|
 
!! style="background:#ededff" {{!}} {{{h2|[[Decepticon]]s}}} }}{{#if:{{{c3|}}}|
{{if:{{{c3|{{{h3|}}}}}}|! style="background:antiquewhite" {{{!}}} {{{h3|[[Human|Humans]]}}}|}}
!! style="background:#fbefde;" {{!}} {{{h3|[[Human]]s}}} }}{{#if:{{{c4|}}}|
{{if:{{{c4|{{{h4|}}}}}}|! style="background:#FFEEB8" {{{!}}} {{{h4|Others}}}|}}
!! style="background:#ffeeb8;" {{!}} {{{h4|Others}}} }}{{#if:{{{c5|}}}|
!! style="background:#d5e6d5;" {{!}} {{{h5|Misc}}} }}{{#if:{{{c6|}}}|
!! style="background:#fedeb5;" {{!}} {{{h6|Misc}}} }}
|-
|-
| style="background:#FFEEEE" valign="top" |
{{#if:{{{c1|}}}|{{!}} style="background:#ffdddd;" valign="top" {{!}}
{{{c1|}}}
{{{c1|}}} }}{{#if:{{{c2|}}}|<nowiki></nowiki>
| style="background:#EEEEFE" valign="top" |
{{!}} style="background:#ededff;" valign="top" {{!}}
{{{c2|}}}
{{{c2|}}} }}{{#if:{{{c3|}}}|<nowiki></nowiki>
{{if:{{{c3|{{{h3|}}}}}}|
{{!}} style="background:#fbefde;" valign="top" {{!}}
{{!}} style="background:antiquewhite" valign="top" {{!}}
{{{c3|}}} }}{{#if:{{{c4|}}}|<nowiki></nowiki>
{{{c3|}}}|}}
{{!}} style="background:#ffeeb8;" valign="top" {{!}}
{{if:{{{c4|{{{h4|}}}}}}|
{{{c4|}}} }}{{#if:{{{c5|}}}|<nowiki></nowiki>
{{!}} style="background:#FFEEB8" valign="top" {{!}}
{{!}} style="background:#d5e6d5;" valign="top" {{!}}
{{{c4|}}}|}}
{{{c5|}}} }}{{#if:{{{c6|}}}|<nowiki></nowiki>
|}</includeonly><noinclude>
{{!}} style="background:#fedeb5;" valign="top" {{!}}
 
{{{c6|}}} }}
<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.
|}</div></includeonly><noinclude>{{doc}}
 
[[Category:Comic issue templates|Featuredcharacters]]
{| class="wikitable"
[[Category:Episode templates|Featuredcharacters]]
|-
! h1 !! h2 !! h3 !! h3
|-
| c1 || c2 || c3 || c3
|}
 
<pre>
{{featuredcharacters
|c1=
* [[Gears (G1)|Gears]] (1)
* [[Windcharger (G1)|Windcharger]] (4)
|c2=
* [[ Starscream (G1)|Starscream]] (5)
* [[Thundercracker (G1)|Thundercracker]] (3)
|c3 =
* [[Spike Witwicky]] (2)
* [[Sparkplug Witwicky]] (6)
}}
</pre>
 
{{featuredcharacters
|c1=
*[[Gears (G1)|Gears]] (1)
*[[Windcharger (G1)|Windcharger]] (4)
|c2=
*[[ Starscream (G1)|Starscream]] (5)
*[[Thundercracker (G1)|Thundercracker]] (3)
|c3 =
*[[Spike Witwicky]] (2)
*[[Sparkplug Witwicky]] (6)
}}
 
[[Category:Templates]]
</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)
}}