Шаблон:Infobox comics genre/doc
This template is designed for use with articles on the particular genres used in comics.
Usage
вироиш{{Infobox comics genre <!--Wikipedia:WikiProject Comics--> |title = |image = <!-- filename format only --> |imagesize = <!-- default 250 --> |caption = |alt = |genre = Required |pub# = <!-- upto 5 --> |title# = <!-- upto 5 --> |person# = <!-- upto 5 --> |series# = <!-- upto 5 --> |base# = <!-- upto 5 --> |subs# = <!-- upto 4 --> |related# = <!-- upto 3 --> |cat = |cattop = }}
Parameter notes
вироишCommon elements
вироиш- Most of the parameters are designed only to show in the infobox if something is entered. They can be left in the template and empty if the item does not pertain to the article or if the information is not known at the time the template is added.
- The title field is an exception. If left empty the infobox will not generate a title. If the title for the infobox is the same as the title of the article, title can either be deleted or commented out. The later is preferable since the name of the article, or the preferred name of the infobox may change.
- 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 will only accept a number here. If left empty or if a string (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 maximum width of 250. Entering values grater than this will result in the default setting being used.
- The image will also cap at 450 in height.
- image which is just the filname of the image. The template will add the markup to show 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).
- 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.
Specific elements
вироиш- genre is the general literary gernera that relates to the type of comics covered in the article. If an article on the literary genre exists, this should be a link.
- pub# are notable publishers promoting the genre. This template is set up to handle up to 5 entries.
- title# are notable publications in the genre. This template is set up to handle up to 5 entries.
- person# are notable creators working primarily in the genre. This template is set up to handle up to 5 entries.
- series# are notable series exemplifying the genre. This template is set up to handle up to 5 entries.
- base# is only related to compound genres, such as Weird Western (Horror and Western). This template is set up to handle up to 3 base components
- subs# are the subgenres into which the topic can be broken down. This template is set up to handle up to 6 entries.
- related# are articles on related topics. This can be the genre in other media and/or categories (such as "Гурӯҳ: Vampires in comics" for "Horror comics"). This template is set up to handle up to 5 entries.
Categories
вироишThis infobox has been designed to automatically place articles its added to into appropriate "Genre comics" categories. Currently it will place it into a self-named category.
- cat is used to specify the category. If the pagename is the same as cat, the template will automatically place the article at the top of the listed articles.
- cattop is used for cases where the article should be at the top of the articles listed in the category but the category and the article have different names.
See also
вироиш{{Infobox comics nationality}}