Difference between revisions of "Template:Infobox comics creator biblio/doc"
Jump to navigation
Jump to search
imported>Zyxw (add links to hidden tracking/maintenance categories, add Category:Templates that add a tracking category, update comments, prevent categories from being transcluded by /sandbox) |
imported>Zyxw (add {{parameter names example}}, update blank template, link to supporting template, add category) |
||
| Line 5: | Line 5: | ||
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 }} | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
{{Infobox comics creator biblio | {{Infobox comics creator biblio | ||
| + | | manga = | ||
| + | | name = | ||
| image = <!-- filename format only --> | | image = <!-- filename format only --> | ||
| imagesize = <!-- default 250 --> | | imagesize = <!-- default 250 --> | ||
| + | | alt = | ||
| caption = | | caption = | ||
| − | |||
| − | |||
| actstart = | | actstart = | ||
| actend = | | actend = | ||
| Line 17: | Line 19: | ||
| start1 = | | start1 = | ||
| end1 = | | end1 = | ||
| − | | | + | | pub2 = |
| − | | | + | | start2 = |
| − | | | + | | end2 = |
| + | | pub3 = | ||
| + | | start3 = | ||
| + | | end3 = | ||
| + | | pub4 = | ||
| + | | start4 = | ||
| + | | end4 = | ||
| + | | pub5 = | ||
| + | | start5 = | ||
| + | | end5 = | ||
| + | | pub6 = | ||
| + | | start6 = | ||
| + | | end6 = | ||
| sort = | | sort = | ||
| creatorcomics = | | creatorcomics = | ||
| author = | | author = | ||
| + | | noimage = | ||
}} | }} | ||
</pre> | </pre> | ||
| + | {{clear}} | ||
==Parameter notes== | ==Parameter notes== | ||
| Line 30: | Line 46: | ||
* Placing images in the infobox uses two fields: | * 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. | ** '''image''' which is just the filname of the image. The template will add the markup to show the image. | ||
| − | **:: ''Example:'' image= example.jpg | + | **:: ''Example:'' image= example.jpg |
** '''imagesize''' which is the ''width'' the image will display at. The template expects this to be in the format of "''N''px". If left empty, the image will default to 220px wide. | ** '''imagesize''' which is the ''width'' the image will display at. The template expects this to be in the format of "''N''px". 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). | * 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. | * '''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. | ||
| Line 43: | Line 59: | ||
* '''author''' can be set to add bibliographies of comics writers to [[:Category:Bibliographies by writer]]. | * '''author''' can be set to add bibliographies of comics writers to [[:Category:Bibliographies by writer]]. | ||
| − | + | == Hidden tracking/maintenance categories == | |
| − | |||
| − | |||
| − | |||
| − | |||
* [[:Category:Comics creator biblio pop]] | * [[:Category:Comics creator biblio pop]] | ||
* [[:Category:Comics infobox image less alt text]] | * [[:Category:Comics infobox image less alt text]] | ||
* [[:Category:Comics infobox image less caption]] | * [[:Category:Comics infobox image less caption]] | ||
* [[:Category:Comics infobox with uneeded imagesize]] | * [[:Category:Comics infobox with uneeded imagesize]] | ||
| − | * [[:Category:Comics infobox without image]] | + | * [[:Category:Comics infobox without image]] – the '''noimage''' parameter prevents a page from being added to this category |
* [[:Category:Misplaced comics infoboxes]] | * [[:Category:Misplaced comics infoboxes]] | ||
| + | == Supporting templates == | ||
| + | * [[Template:Comics infobox sec]] | ||
| + | |||
| + | == See also == | ||
| + | * {{tl|Infobox comics creator}} | ||
| + | * {{tl|Infobox Bibliography}} | ||
| + | |||
| + | {{esoteric}} | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <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> | ||
Revision as of 20:53, 28 January 2016
| This is a documentation subpage for Template:Infobox comics creator biblio. It contains usage information, categories and other content that is not part of the original template page. |
Contents
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 =
| sort =
| creatorcomics =
| author =
| 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.
- image which is just the filname of the image. The template will add the markup to show the image.
- 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.
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
- Category:Comics creator biblio pop
- Category:Comics infobox image less alt text
- Category:Comics infobox image less caption
- Category:Comics infobox with uneeded imagesize
- Category:Comics infobox without image – the noimage parameter prevents a page from being added to this category
- Category:Misplaced comics infoboxes
Supporting templates
See also
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |