Difference between revisions of "Template:Infobox comic strip/doc"
Jump to navigation
Jump to search
imported>Dexbot m (Bot: Cleaning up old interwiki links) |
imported>Zyxw m (note Lua module used, add link to tracking category) |
||
(3 intermediate revisions by 2 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 == | == Usage == | ||
− | {{Parameter names example | + | {{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 style="overflow: auto;">{{Infobox comic strip | + | |
+ | <pre style="overflow: auto;"> | ||
+ | {{Infobox comic strip | ||
| fgcolor = | | fgcolor = | ||
| bgcolor = | | bgcolor = | ||
Line 15: | Line 18: | ||
| current = | | current = | ||
| illustrator = | | illustrator = | ||
− | | | + | | website = |
| status = | | status = | ||
| first = | | first = | ||
Line 28: | Line 31: | ||
}}</pre> | }}</pre> | ||
− | === | + | === Parameters === |
− | ;bgcolor | + | ; bgcolor {{nobold|or}} bgcolour : A background color for the title bar |
− | ;fgcolor | + | ; fgcolor {{nobold|or}} fgcolour : A foreground color for the title bar |
− | ;title: The strip's title. | + | ; title : The strip's title. |
− | ;image: An image from the strip. ''Example:'' image=example.jpg | + | ; 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). | + | ; 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. | + | ; caption : A caption for the image. |
− | ;author | + | ; author {{nobold|or}} creator : The author of the strip. |
− | ;current: The person currently responsible for the strip, if different from author/creator. | + | ; current : The person currently responsible for the strip, if different from author/creator. |
− | ;illustrator: The person illustrating the strip, if different from author/creator. | + | ; illustrator : The person illustrating the strip, if different from author/creator. |
− | ;url | + | ; website {{nobold|or}} url : The website of the strip. |
− | ;status: current status/publishing schedule. | + | ; status : current status/publishing schedule. |
− | ;first | + | ; first {{nobold|or}} began : Date of the first strip (and maybe a link to the archive). |
− | ;last | + | ; last {{nobold|or}} ended : Date of the final strip (and maybe a link to the archive). |
− | ;altnames: Any notable variations of the strip name. | + | ; altnames : Any notable variations of the strip name. |
− | ;syndicate: Any groups syndicating the strip in any medium. | + | ; syndicate : Any groups syndicating the strip in any medium. |
− | ;publisher: Any groups publishing the strip in any medium. | + | ; publisher : Any groups publishing the strip in any medium. |
− | ;genre: The [[genre|genre(s)]] of the strip. | + | ; genre : The [[genre|genre(s)]] of the strip. |
− | ;rating: Content rating if applicable. | + | ; rating : Content rating if applicable. |
− | ;preceded by: The preceding strip in the series. | + | ; preceded by : The preceding strip in the series. |
− | ;followed by: The successor to the strip. | + | ; followed by : The successor to the strip. |
== Example == | == Example == | ||
Line 81: | Line 84: | ||
</pre> | </pre> | ||
− | == | + | == Tracking categories == |
− | This template places background and foreground colour combinations which fail to meet our [[WP:COLOR|minimum contrast requirements]] in | + | 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 strip}} | {{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
![]() | 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