Difference between revisions of "Template:Infobox comics set index"

From blackwiki
Jump to navigation Jump to search
imported>J Greb
(Set max in-'box hight to 425px)
imported>J Greb
(Update)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
 
|name=Superaliasbox
 
|name=Superaliasbox
|bodystyle=width:20em;
+
|bodystyle=width:24em;
 
|abovestyle=background:#69A0F3
 
|abovestyle=background:#69A0F3
 
|headerstyle=background:#69A0F3
 
|headerstyle=background:#69A0F3
|labelstyle= width:33%;background:#B0C4DE
+
|labelstyle= width:40%;background:#B0C4DE
  
 
|above={{{code_name|{{PAGENAME}}}}}
 
|above={{{code_name|{{PAGENAME}}}}}
Line 10: Line 10:
 
   [[Image:{{{image}}}|
 
   [[Image:{{{image}}}|
 
   {{#if:{{{imagesize|}}}|
 
   {{#if:{{{imagesize|}}}|
   {{#ifexpr:230>={{#expr:{{{imagesize|}}}}}|
+
   {{#ifexpr:250>={{#expr:{{{imagesize|}}}}}|
 
     {{{imagesize|}}}|
 
     {{{imagesize|}}}|
     230}}x425px|
+
     250}}x450px|
   230x425px}}]]}}
+
   250x450px}}]]}}
 
|caption=<small>{{{caption|}}}</small>
 
|caption=<small>{{{caption|}}}</small>
  
Line 29: Line 29:
 
<noinclude>
 
<noinclude>
 
{| style="background: transparent;"
 
{| style="background: transparent;"
|<pre>{{Superaliasbox| <!--Wikipedia:WikiProject Comics-->
+
|<pre>{{Superaliasbox
image=
+
<!--Wikipedia:WikiProject Comics-->
|imagesize= <numeral only, defaults to 230>
+
|code_name=
 +
|image= <!-- filename format only -->
 +
|imagesize= <!-- default 230 -->
 
|caption=
 
|caption=
|code_name=
 
 
|publisher=
 
|publisher=
 
|debut=
 
|debut=
Line 43: Line 44:
 
|}
 
|}
 
<br clear=all />
 
<br clear=all />
 +
 +
*Parameter notes:
 +
**With the exception of '''code_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, '''code_name''' can be removed.
 +
**For multiple items in one field, '''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 size below 250px.
 +
***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 character concept. Example: ''Flash Comics'' #1.
 +
**'''Debut''' and '''creators''' should be entries relavent to the initial appearance of the character concept.
 +
**'''Characters''' should list the characters in publication order.
  
 
==See also==
 
==See also==

Revision as of 04:59, 24 March 2008

Infobox comics set index

[[Category:Infobox templates|Template:Remove first word]]

{{Superaliasbox
<!--Wikipedia:WikiProject Comics-->
|code_name=
|image= <!-- filename format only -->
|imagesize= <!-- default 230 -->
|caption=
|publisher=
|debut=
|creators=
|characters=
|seealso=
}}


  • Parameter notes:
    • With the exception of code_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, code_name can be removed.
    • For multiple items in one field, separate each with <br />. For example: creators=Stan Lee<br />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 size below 250px.
      • 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 ''Wolverine'' #17))
    • For the debut field, provide the first appearance of the character concept. Example: Flash Comics #1.
    • Debut and creators should be entries relavent to the initial appearance of the character concept.
    • Characters should list the characters in publication order.

See also