Difference between revisions of "Template:Infobox comics creator biblio/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(add {{parameter names example}}, update blank template, link to supporting template, add category)
imported>Paine Ellsworth
m (fmt)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
{{esoteric}}
  
 
== Usage ==
 
== Usage ==
 
The infobox may be added by pasting the template as shown below into an article. For an example, see [[Jack Kirby bibliography]].
 
The infobox may be added by pasting the template as shown below into an article. For an example, see [[Jack Kirby bibliography]].
  
{{Parameter names example <!-- | manga --> | name | image <!-- | imagesize --> | alt | caption | actstart | actend | pub1 | start1 | end1 | pub2 | start2 | end2 | pub3 | start3 | end3 | pub4 | start4 | end4 | pub5 | start5 | end5 | pub6 | start6 | end6 <!-- | author | sort | creatorcomics --> | noimage }}
+
{{Parameter names example <!-- | manga --> | name | image <!-- | imagesize --> | alt | caption | actstart | actend | pub1 | start1 | end1 | pub2 | start2 | end2 | pub3 | start3 | end3 | pub4 | start4 | end4 | pub5 | start5 | end5 | pub6 | start6 | end6 | noimage }}
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">
 
{{Infobox comics creator biblio
 
{{Infobox comics creator biblio
Line 34: Line 35:
 
| start6        =  
 
| start6        =  
 
| end6          =  
 
| end6          =  
| sort          =
 
| creatorcomics =
 
| author        =
 
 
| noimage      =  
 
| noimage      =  
 
}}
 
}}
Line 52: Line 50:
 
* '''actstart''' and '''actend''' denote the person's active period working in comics.
 
* '''actstart''' and '''actend''' denote the person's active period working in comics.
 
* '''pub#''', '''start#''', and '''end#''' are used to list the publishers the person has worked for as well as the period. The template is set up to accommodate up to 6 publishers.
 
* '''pub#''', '''start#''', and '''end#''' are used to list the publishers the person has worked for as well as the period. The template is set up to accommodate up to 6 publishers.
 
==Categories==
 
This infobox is designed to automatically place the article into [[:Category:Lists of comics by creator]].
 
* '''sort''' is how the article will be sorted there.
 
* '''creatorcomics''' can be set if there is a "Comics by..." category. This will place the article at the top of that category. Generally these are comics that the person either created or help to create.
 
* '''author''' can be set to add bibliographies of comics writers to [[:Category:Bibliographies by writer]].
 
  
 
== Hidden tracking/maintenance categories ==
 
== Hidden tracking/maintenance categories ==
* [[:Category:Comics creator biblio pop]]
+
* {{clc|Comics creator biblio pop}}
* [[:Category:Comics infobox image less alt text]]
+
* {{clc|Comics infobox image less alt text}}
* [[:Category:Comics infobox image less caption]]
+
* {{clc|Comics infobox image less caption}}
* [[:Category:Comics infobox with uneeded imagesize]]
+
* {{clc|Comics infobox with unneeded imagesize}}
* [[:Category:Comics infobox without image]] – the '''noimage''' parameter prevents a page from being added to this category
+
* {{clc|Comics infobox without image}} – the "noimage" parameter prevents a page from being added to this category
* [[:Category:Misplaced comics infoboxes]]
+
* {{clc|Misplaced comics infoboxes}}
  
 
== Supporting templates ==
 
== Supporting templates ==
Line 74: Line 66:
 
* {{tl|Infobox Bibliography}}
 
* {{tl|Infobox Bibliography}}
  
{{esoteric}}
+
<includeonly>{{Sandbox other||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Comic book infobox templates|Bibliography]]
 
[[Category:Comic book infobox templates|Bibliography]]
[[Category:Templates that add a category]]
 
 
[[Category:Templates that add a tracking category]]
 
[[Category:Templates that add a tracking category]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 16:41, 31 May 2020

Usage

The infobox may be added by pasting the template as shown below into an article. For an example, see Jack Kirby bibliography.

Template:Parameter names example

{{Infobox comics creator biblio
| manga         = 
| name          = 
| image         = <!-- filename format only -->
| imagesize     = <!-- default 250 -->
| alt           = 
| caption       = 
| actstart      = 
| actend        = 
| pub1          = 
| start1        = 
| end1          = 
| pub2          = 
| start2        = 
| end2          = 
| pub3          = 
| start3        = 
| end3          = 
| pub4          = 
| start4        = 
| end4          = 
| pub5          = 
| start5        = 
| end5          = 
| pub6          = 
| start6        = 
| end6          = 
| noimage       = 
}}

Parameter notes

  • name This is the "common name" the comics creator is associated with. Usually this is also the article's title. This field is required.
  • Placing images in the infobox uses two fields:
    • image which is just the filname of the image. The template will add the markup to show the image.
      Example: image= example.jpg
    • imagesize which is the width the image will display at. The template expects this to be in the format of "Npx". If left empty, the image will default to 220px wide.
  • To keep in line with Wikipedia:Alternative text for images, alt needs to be updated with the "text alternative" of the image. This is not the same as the caption. It should also be kept short, but needs to be descriptive of the image.
  • The caption will appear below the image. Keep it short, but indicate the original source published source of the image and the artist(s).
  • actstart and actend denote the person's active period working in comics.
  • pub#, start#, and end# are used to list the publishers the person has worked for as well as the period. The template is set up to accommodate up to 6 publishers.

Hidden tracking/maintenance categories

Supporting templates

See also