Difference between revisions of "Template:Infobox comic strip"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>DocWatson42 (Performed minor cleanup.) |
|||
| (43 intermediate revisions by 23 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{Infobox | |
| − | + | | italic title = {{{italic title|}}} | |
| − | |||
| − | + | | bodyclass = {{#ifeq:{{{collapsible|}}}|yes|collapsible {{{state|autocollapse}}}}} infobox vevent {{{bodyclass|}}} | |
| − | + | | bodystyle = {{#if:{{{align|}}}|float: {{{align}}};}} {{#if:{{{width|}}}|{{{width}}}}} | |
| − | |||
| − | + | | above = {{#ifeq:{{{collapsible|}}}|yes|{{pad|5em}}}}{{{title|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | |
| + | | aboveclass = summary | ||
| + | | abovestyle = font-style: italic; background-color: {{{bgcolor|{{{bgcolour|}}}}}}; color: {{{fgcolor|{{{fgcolour|}}}}}} | ||
| − | [[ | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}}} |
| − | </ | + | | caption = {{{caption|}}} |
| + | | label1 = [[Author|Author(s)]] | ||
| + | | data1 = {{{author|{{{creator|}}}}}}{{#if:{{{current|}}}|<br />{{{current}}}}} | ||
| + | | label2 = [[Illustrator|Illustrator(s)]] | ||
| + | | data2 = {{{illustrator|{{{illustrator|}}}}}} | ||
| + | | label3 = Website | ||
| + | | data3 = {{{url|{{{website|}}}}}} | ||
| + | | label4 = Current status/schedule | ||
| + | | data4 = {{{status|}}} | ||
| + | | label5 = Launch date | ||
| + | | data5 = {{{first|{{{began|}}}}}} | ||
| + | | label6 = End date | ||
| + | | data6 = {{{last|{{{ended|}}}}}} | ||
| + | | label7 = Alternate name(s) | ||
| + | | data7 = {{{altnames|}}} | ||
| + | | label8 = [[Print syndication#Comic strip syndication|Syndicate(s)]] | ||
| + | | data8 = {{{syndicate|}}} | ||
| + | | label9 = [[Publishing|Publisher(s)]] | ||
| + | | data9 = {{{publisher|}}} | ||
| + | | label10 = Genre(s) | ||
| + | | data10 = {{{genre|}}} | ||
| + | | label11 = Rating(s) | ||
| + | | data11 = {{{rating|}}} | ||
| + | | label12 = Preceded by | ||
| + | | data12 = {{#if:{{{preceded by|}}}|''{{{preceded by}}}''}} | ||
| + | | label13 = Followed by | ||
| + | | data13 = {{#if:{{{followed by|}}}|''{{{followed by}}}''}} | ||
| + | }}{{Main other|{{Ensure AAA contrast ratio|base={{{bgcolor|{{{bgcolour|}}}}}}|other={{{fgcolor|{{{fgcolour|}}}}}}|category=[[Category:Articles using Template:Infobox comic strip with invalid colour combination]]}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox comic strip with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox comic strip]] with unknown parameter "_VALUE_"|ignoreblank=y| align | alt | altnames | author | began | bgcolor | bgcolour | bodyclass | caption | collapsible | creator | current | ended | fgcolor | fgcolour | first | followed by | genre | illustrator | image | image_upright | italic title | last | preceded by | publisher | rating | state | status | syndicate | title | url | website | width }}<noinclude> | ||
| + | {{Documentation}}<!-- Add cats to the /doc subpage, not here! --></noinclude> | ||
Latest revision as of 07:34, 5 December 2018
[[Category:Infobox templates|Template:Remove first word]]
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
| The above documentation is transcluded from Template:Infobox comic strip/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |