Difference between revisions of "Template:Infobox comic strip/doc"
Jump to navigation
Jump to search
imported>Mondephile m (+ fa) |
imported>Zyxw m (note Lua module used, add link to tracking category) |
||
| (12 intermediate revisions by 8 users not shown) | |||
| Line 2: | Line 2: | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
{{Auto italic title}} | {{Auto italic title}} | ||
| + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | ||
| − | + | == Usage == | |
| + | {{Parameter names example | italic title | collapsible | state | bodyclass | align | width | title | bgcolor | bgcolour | fgcolor | fgcolour | image | image_upright | alt | caption | author | creator | current | illustrator | website | status | first | began | last | ended | altnames | syndicate | publisher | genre | rating | preceded by | followed by }} | ||
| − | <pre> | + | <pre style="overflow: auto;"> |
{{Infobox comic strip | {{Infobox comic strip | ||
| − | | fgcolor = | + | | fgcolor = |
| − | | bgcolor = | + | | bgcolor = |
| title = | | title = | ||
| image = | | image = | ||
| + | | alt = | ||
| caption = | | caption = | ||
| author = | | author = | ||
| − | | current = | + | | current = |
| − | | | + | | illustrator = |
| + | | website = | ||
| status = | | status = | ||
| first = | | first = | ||
| last = | | last = | ||
| − | | altnames = | + | | altnames = |
| syndicate = | | syndicate = | ||
| publisher = | | publisher = | ||
| Line 25: | Line 29: | ||
| preceded by = | | preceded by = | ||
| followed by = | | followed by = | ||
| − | }} | + | }}</pre> |
| − | </pre> | ||
| − | === | + | === Parameters === |
| + | ; bgcolor {{nobold|or}} bgcolour : A background color for the title bar | ||
| + | ; fgcolor {{nobold|or}} fgcolour : A foreground color for the title bar | ||
| + | ; title : The strip's title. | ||
| + | ; image : An image from the strip. ''Example:'' image=example.jpg | ||
| + | ; alt : The [[Wikipedia:Alternative text for images|alternative text for images]] (this is ''not'' the same as the caption). | ||
| + | ; caption : A caption for the image. | ||
| + | ; author {{nobold|or}} creator : The author of the strip. | ||
| + | ; current : The person currently responsible for the strip, if different from author/creator. | ||
| + | ; illustrator : The person illustrating the strip, if different from author/creator. | ||
| + | ; website {{nobold|or}} url : The website of the strip. | ||
| + | ; status : current status/publishing schedule. | ||
| + | ; first {{nobold|or}} began : Date of the first strip (and maybe a link to the archive). | ||
| + | ; last {{nobold|or}} ended : Date of the final strip (and maybe a link to the archive). | ||
| + | ; altnames : Any notable variations of the strip name. | ||
| + | ; syndicate : Any groups syndicating the strip in any medium. | ||
| + | ; publisher : Any groups publishing the strip in any medium. | ||
| + | ; genre : The [[genre|genre(s)]] of the strip. | ||
| + | ; rating : Content rating if applicable. | ||
| + | ; preceded by : The preceding strip in the series. | ||
| + | ; followed by : The successor to the strip. | ||
| − | + | == Example == | |
| − | + | {{Infobox comic strip | |
| − | + | | title = Dilbert | |
| − | + | | image = | |
| − | + | | alt = | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{Infobox | ||
| − | |title=Dilbert | ||
| − | | image = | ||
| caption = | | caption = | ||
| − | | | + | | author = [[Scott Adams]] |
| − | |current= | + | | current = |
| − | |status=Running | + | | status = Running |
| − | |syndicate=[[United Media|United Feature Syndicate]] | + | | first = April 16, 1989 |
| − | |publisher=[[Andrews McMeel Publishing]] | + | | last = |
| − | |genre=Humor | + | | syndicate = [[United Media|United Feature Syndicate]] |
| − | + | | publisher = [[Andrews McMeel Publishing]] | |
| − | + | | genre = Humor | |
}} | }} | ||
| − | + | <pre style="overflow:auto;">{{Infobox comic strip | |
| − | <pre style="overflow:auto; | + | | title = Dilbert |
| − | {{Infobox | + | | image = |
| − | |title=Dilbert | + | | alt = |
| − | | image = | ||
| caption = | | caption = | ||
| − | | | + | | author = [[Scott Adams]] |
| − | |current= | + | | current = |
| − | |status=Running | + | | status = Running |
| − | |syndicate=[[United Media|United Feature Syndicate]] | + | | first = April 16, 1989 |
| − | |publisher=[[Andrews McMeel Publishing]] | + | | last = |
| − | |genre=Humor | + | | syndicate = [[United Media|United Feature Syndicate]] |
| − | + | | publisher = [[Andrews McMeel Publishing]] | |
| − | + | | genre = Humor | |
}} | }} | ||
</pre> | </pre> | ||
| − | + | == Tracking categories == | |
| + | This template places background and foreground colour combinations which fail to meet our [[WP:COLOR|minimum contrast requirements]] in: | ||
| + | * {{clc|Articles using Template:Infobox comic strip with invalid colour combination}} | ||
| + | Articles using this template with unknown parameters are placed in: | ||
| + | * {{clc|Pages using infobox comic strip with unknown parameters}} | ||
| + | == Supporting template == | ||
| + | * {{tl|Ensure AAA contrast ratio}} | ||
| − | <includeonly> | + | <includeonly>{{sandbox other|| |
| − | + | <!-- Categories below this line, please; interwikis at Wikidata --> | |
| − | {{DEFAULTSORT:Comic | + | {{DEFAULTSORT:Comic strip}} |
[[Category:Comic strip infobox templates]] | [[Category:Comic strip infobox templates]] | ||
[[Category:Webcomic infobox templates]] | [[Category:Webcomic infobox templates]] | ||
[[Category:Publishing infobox templates]] | [[Category:Publishing infobox templates]] | ||
| − | + | [[Category:Templates that add a tracking category]] | |
| − | + | }}</includeonly> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | [[ | ||
| − | |||
| − | |||
| − | |||
| − | </includeonly> | ||
Latest revision as of 14:38, 10 February 2019
| 40px | This is a documentation subpage for Template:Infobox comic strip. It contains usage information, categories and other content that is not part of the original template page. |
This infobox should italicize the article title automatically. If this is not required, add |italic title=no to the list of parameters. If this is required but the title is not being italicized, try |italic title=force. |
| This template uses Lua: |
Usage
Template:Parameter names example
{{Infobox comic strip
| fgcolor =
| bgcolor =
| title =
| image =
| alt =
| caption =
| author =
| current =
| illustrator =
| website =
| status =
| first =
| last =
| altnames =
| syndicate =
| publisher =
| genre =
| rating =
| preceded by =
| followed by =
}}
Parameters
- bgcolor or bgcolour
- A background color for the title bar
- fgcolor or fgcolour
- A foreground color for the title bar
- title
- The strip's title.
- image
- An image from the strip. Example: image=example.jpg
- alt
- The alternative text for images (this is not the same as the caption).
- caption
- A caption for the image.
- author or creator
- The author of the strip.
- current
- The person currently responsible for the strip, if different from author/creator.
- illustrator
- The person illustrating the strip, if different from author/creator.
- website or url
- The website of the strip.
- status
- current status/publishing schedule.
- first or began
- Date of the first strip (and maybe a link to the archive).
- last or ended
- Date of the final strip (and maybe a link to the archive).
- altnames
- Any notable variations of the strip name.
- syndicate
- Any groups syndicating the strip in any medium.
- publisher
- Any groups publishing the strip in any medium.
- genre
- The genre(s) of the strip.
- rating
- Content rating if applicable.
- preceded by
- The preceding strip in the series.
- followed by
- The successor to the strip.
Example
| Dilbert | |
|---|---|
| Author(s) | Scott Adams |
| Current status/schedule | Running |
| Launch date | April 16, 1989 |
| Syndicate(s) | United Feature Syndicate |
| Publisher(s) | Andrews McMeel Publishing |
| Genre(s) | Humor |
{{Infobox comic strip
| title = Dilbert
| image =
| alt =
| caption =
| author = [[Scott Adams]]
| current =
| status = Running
| first = April 16, 1989
| last =
| syndicate = [[United Media|United Feature Syndicate]]
| publisher = [[Andrews McMeel Publishing]]
| genre = Humor
}}
Tracking categories
This template places background and foreground colour combinations which fail to meet our minimum contrast requirements in:
Articles using this template with unknown parameters are placed in:
Supporting template