Difference between revisions of "Template:Infobox comic strip/doc"

From blackwiki
Jump to navigation Jump to search
imported>Clarkcj12
(added uses Module:InfoboxImage)
imported>Zyxw
m (add link to supporting template)
Line 3: Line 3:
 
{{Auto italic title}}
 
{{Auto italic title}}
 
{{Lua|Module:InfoboxImage}}
 
{{Lua|Module:InfoboxImage}}
 +
 
== Usage ==
 
== 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 }}
 
{{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 }}
Line 30: Line 31:
 
}}</pre>
 
}}</pre>
  
=== Attributes ===
+
=== Parameters ===
 
; bgcolor {{nobold|or}} bgcolour : A background color for the title bar
 
; bgcolor {{nobold|or}} bgcolour : A background color for the title bar
 
; fgcolor {{nobold|or}} fgcolour : A foreground color for the title bar
 
; fgcolor {{nobold|or}} fgcolour : A foreground color for the title bar
Line 86: Line 87:
 
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}}.
 
* {{clc|Articles using Template:Infobox comic strip with invalid colour combination}}.
 +
 +
== Supporting template ==
 +
* {{tl|Ensure AAA contrast ratio}}
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||

Revision as of 22:05, 17 November 2018

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/scheduleRunning
Launch dateApril 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/maintenance category

This template places background and foreground colour combinations which fail to meet our minimum contrast requirements in:

Supporting template