Difference between revisions of "Template:Infobox superteam"

From blackwiki
Jump to navigation Jump to search
imported>Stannered
(png>svg)
imported>J Greb
(Redirect to unify the groups templates.)
 
Line 1: Line 1:
{{Infobox
+
#REDIRECT [[Template:Infobox comics organization]]
| bodystyle  = width:24em;
 
| abovestyle  = background:#69A0F3;
 
| headerstyle = background:#69A0F3;
 
| labelstyle  = width:40%; background:#B0C4DE;
 
| belowstyle  = background:#FFFFFF;
 
 
 
| above = {{{team_name<includeonly>|{{PAGENAME}}</includeonly>}}}
 
|image={{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{imagesize|}}}|{{#ifexpr:250>={{#expr:{{{imagesize|}}}}}|{{{imagesize|}}}|250}}x450px|250x450px}}]]|{{#if:{{{noimage|}}}||[[Image:Comic image missing.svg|125px]]}}}}
 
|caption=<small>{{#if:{{{caption|}}}|{{{caption|}}}|{{#if:{{{image|}}}{{{noimage|}}}||If this infobox is not supposed to have an image, please add "<nowiki>|</nowiki>noimage=yes".}}}}</small>
 
 
 
| header1 = {{#if:{{{publisher<includeonly>|</includeonly>}}}{{{debut|}}}{{{creators|}}}|Publication information}}
 
 
 
| label2  = [[:Category:Comic book publishing companies|Publisher]]
 
| data2  = {{{publisher<includeonly>|</includeonly>}}}
 
| label3  = [[First appearance]]
 
| data3  = {{{debut<includeonly>|</includeonly>}}}
 
| label4  = [[:Category:Comics creators|Created by]]
 
| data4  = {{{creators<includeonly>|</includeonly>}}}
 
 
 
| header5 = {{#if:{{{base<includeonly>|</includeonly>}}}{{{members|}}}|In story information}}
 
 
 
| label6  = Base(s) of operation
 
| data6  = {{{base<includeonly>|</includeonly>}}}
 
| label7  = Roster
 
| data7  = {{{members<includeonly>|</includeonly>}}}
 
 
 
| header8 = {{#if:{{{memberlist<includeonly>|</includeonly>}}}|{{#if:{{{members<includeonly>|</includeonly>}}}||Roster}}}}
 
 
 
| below  = {{#if:{{{memberlist<includeonly>|</includeonly>}}}|''See:{{{memberlist}}}''}}
 
}}{{#if:{{{comic_color|}}}|[[Category:Depreciated infobox param (comic_color)]]}}{{#if:{{{alliance_color|}}}|[[Category:Depreciated infobox param (alliance_color)]]}}{{#if:{{{status|}}}|[[Category:Depreciated infobox param (status)]]}}{{#if:{{{current_members|}}}|[[Category:Depreciated infobox param (current_members)]]}}{{#if:{{{former_members|}}}|[[Category:Depreciated infobox param (former_members)]]}}<includeonly>{{#if:{{{subcat|}}}|{{#if:{{{hero|}}}|[[Category:{{{subcat|}}} superhero teams|{{{sortkey|}}}]]|{{#if:{{{villain|}}}|[[Category:{{{subcat|}}} supervillain teams|{{{sortkey|}}}]]|[[Category:{{{subcat|}}} teams|{{{sortkey|}}}]]}}}}}}{{#ifeq:{{{team_name|none}}}|{{PAGENAME}}|[[Category:Redundant infobox title param]]|}}{{#if:{{{image|}}}||{{#if:{{{noimage|}}}||[[Category:Comics infobox without image]]}}}}{{#if:{{{image|}}}|{{#if:{{{caption|}}}||[[Category:Comics infobox image less caption]]}}}}</includeonly><noinclude>
 
 
 
{| style="background: transparent;"
 
|<pre>{{Infobox superteam
 
<!--Wikipedia:WikiProject Comics-->
 
| team_name  =
 
| image      = <!-- filename format only -->
 
| imagesize  = <!-- default 250 -->
 
| caption    =
 
| publisher  =
 
| debut      =
 
| creators  =
 
| base      =
 
| members    =
 
| memberlist =
 
| subcat    =
 
| hero      =
 
| villain    =
 
| sortkey    = {{PAGENAME}}
 
}}
 
</pre>
 
|}
 
 
 
* Parameter notes:
 
** With the exception of '''team_name''', '''do not delete a parameter''' - leave the field blank if there is nothing to enter. If the article name is the same as the the name to be used for the infobox, '''team_name''' can be removed.
 
** Where a field has multiple items, '''separate each with <nowiki><br /></nowiki>'''. For example: '''creators=[[Stan Lee]]<nowiki><br /></nowiki>[[Jack Kirby]]'''
 
** The '''image''' field is setup use the file name ''only'' and with out braces. For example: '''image= example.jpg'''
 
** The '''imagesize''' parameter is set up to only accept a numeric value. If left blank or if a sting (such as "225px") is entered, the image will default to 250px wide.
 
*** If you find the image to be too tall, reduce the value below 250.
 
*** The parameter is capped at 250. Entering values grater than this will result in the default setting being used.
 
** The '''caption'' will appear below the image. Keep it short, but indicate the comic book and issue # if it is from a comic book, in the form ''Wolverine'' #17 (typed as <nowiki>''Wolverine''</nowiki> #17))
 
** For the '''debut''' field, provide the first appearance of the team AS a team (with the team named on either the cover or within the comic). Example: ''Brave and The Bold'' #28, ''Avengers'' v1 #1.
 
** The '''creators''' field should list the creators '''of the team''', not the individual members.
 
** '''Base''' should list a team's most significant bases, including the current one (where applicable). Limit this to three at most, however.
 
** '''Members''' should list the past and present membership of the team. Again, separate with <nowiki><br /></nowiki>, not commas. For teams that have included many different members, it may sometimes be appropriate to leave this blank and use '''Memberlist''' instead.
 
** '''Memberlist''' should link to any article lists the members for this team. This should normally only be used for large teams, as a replacement for '''Members'''
 
** This template is designed to place the articles into the relevant "teams" categories. Entering the appropriate company at '''subcat''' will place the article.
 
** '''Hero''' and '''villain''' are mutually exclusive logical functions. If one is set, '''subcat''' will place the article into the proper "superhero" or "supervillains" subcategory. If neither is set, '''subcat''' will default to "<company> teams".
 
** '''Sortkey''' is required for use with '''subcat'''. It can be changed for forcing a different sort in the category. This parameter will ''not'' recognize a leading space.
 
<br clear=all />
 
 
 
==See also==
 
* '''{{tl|Infobox superhero}}'''
 
* '''{{tl|Infobox comics organization}}'''
 
 
 
{{esoteric}}
 
 
 
[[Category:Comic book infobox templates|{{PAGENAME}}]]
 
[[Category:fictional character infobox templates|{{PAGENAME}}]]
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
 
 
[[is:Snið:Superteambox]]
 
</noinclude>
 

Latest revision as of 02:28, 26 May 2008