Difference between revisions of "Template:Infobox comic strip"
Jump to navigation
Jump to search
imported>Thumperward (tidy) |
imported>Thumperward (syntax overhaul) |
||
| Line 1: | Line 1: | ||
| − | {| class="infobox" | + | {| class="infobox" style="width: 22em; font-size: 88%; text-align: left; line-height: 1.5em" |
| − | ! colspan=2 style="font-size: | + | ! colspan=2 style="font-size: 125%; background-color: {{{bgcolour|{{{bgcolor|}}} }}}; color: {{{fgcolour|{{{fgcolor|}}} }}}; text-align: center; font-style: italic" | {{{title|<includeonly>{{PAGENAME}}</includeonly>}}} |
| − | |||
|- | |- | ||
| + | {{#if:{{{image|}}}| | ||
| + | {{!}} colspan=2 style="text-align: center" {{!}} {{{image}}} | ||
| + | {{!}}- | ||
| + | {{#if:{{{caption|}}} | ||
| + | {{!}} colspan=2 style="text-align: center" {{!}} {{{caption}}} | ||
| + | {{!}}- | ||
| + | }} | ||
| + | }} | ||
! [[Author|Author(s)]] | ! [[Author|Author(s)]] | ||
| − | | {{{creator|{{{author}}}}}}{{#if:{{{current|}}}|<br />{{{current}}}|}} | + | | {{{creator|{{{author}}} }}}{{#if:{{{current|}}}|<br />{{{current}}}|}} |
| − | {{#if: {{{website|{{{url|}}}}}}| | + | {{#if:{{{website|{{{url|}}} }}}| |
| − | + | ! [[Website]] | |
| − | + | {{!}} {{{website|{{{url}}} }}}{{#if:{{{rss|}}}|<br />{{RSS|1={{{rss}}} RSS web feed}}}}{{#if:{{{atom|}}}|<br />{{atom|1={{{atom}}} Atom web feed}}}} | |
| − | + | {{!}}- | |
| − | + | }} | |
| − | + | {{#if:{{{status}}}| | |
| − | + | ! Current status / schedule | |
| − | + | {{!}} {{{status|{{{current}}} }}} | |
| − | + | {{!}}- | |
| − | + | }} | |
| − | + | {{#if:{{{began|{{{first|}}} }}}| | |
| − | + | ! Launch date | |
| + | {{!}} {{{began|{{{first}}} }}} | ||
| + | {{!}}- | ||
| + | }} | ||
| + | {{#if:{{{ended|{{{last|}}} }}}| | ||
| + | ! End date | ||
| + | {{!}} {{{ended|{{{last}}} }}} | ||
| + | {{!}}- | ||
| + | }} | ||
| + | {{#if:{{{altnames|}}}| | ||
| + | ! Alternate name(s) | ||
| + | {{!}} {{{altnames}}} | ||
| + | {{!}}- | ||
| + | }} | ||
| + | {{#if:{{{syndicate|}}}| | ||
| + | ! [[comic strip syndication|Syndicate(s)]] | ||
| + | {{!}} {{{syndicate}}} | ||
| + | {{!}}- | ||
| + | }} | ||
| + | {{#if:{{{publisher|}}}| | ||
| + | ! [[Publisher|Publisher(s)]] | ||
| + | {{!}} {{{publisher}}} | ||
| + | {{!}}- | ||
| + | }} | ||
| + | {{#if:{{{genre|}}}| | ||
| + | ! Genre(s) | ||
| + | {{!}} {{{genre}}} | ||
| + | {{!}}- | ||
| + | }} | ||
| + | {{#if:{{{rating|}}}| | ||
| + | ! Rating(s) | ||
| + | {{!}} {{{rating}}} | ||
| + | {{!}}- | ||
| + | }} | ||
| + | {{#if:{{{preceded by|}}}| | ||
| + | ! Preceded by | ||
| + | {{!}} ''{{{preceded by}}}'' | ||
| + | {{!}}- | ||
| + | }} | ||
| + | {{#if:{{{followed by|}}}| | ||
| + | ! Followed by | ||
| + | {{!}} ''{{{followed by}}}'' | ||
| + | {{!}}- | ||
| + | }} | ||
|}<noinclude>{{template doc}}</noinclude> | |}<noinclude>{{template doc}}</noinclude> | ||
Revision as of 21:40, 30 September 2009
| Author(s) | {{{author}}} | Current status / schedule | {{{current}}} |
|---|---|---|---|
| File:OOjs UI icon information-progressive.svg | 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. |
| File:Lua-Logo.svg | 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. |