Template:Comic
From SRoMG Explained
Jump to navigationJump to searchThis is the basic infobox-style header template used to display Square Root of Minus Garfield comics on their own pages, including the comic number (with external link to mezzacotta), publication date, title, comic image, and title text.
Please note that this was taken and altered from Explain XKCD, which is allowed under a Creative Commons Attribution-ShareAlike 3.0 Unported license.
Sample
The following is a sample usage of this template:
Garfield Plus Garfield |
Made by: David Morgan-Mar |
Usage
{{comic | number = | date = | title = | before = | image = | author = | custom = | imagesize = }}
(In practice, it's more like this:)
{{comic | number = | date = | title = | image = | author = }}
Notes
- At least the number, title, image, and author are required.
- The date should be written in the form: January 1, 2008.
- The imagesize field is optional.
- The comic's width will be limited to the set size. Format must be in pixels (eg: "350px")
- The comic's height may be set by adding an 'x' to the start (eg: "x350px")
- Warning: If the size is larger than the image, the image will be stretched.
- before is a special field for inserting text before the comic.
- If the custom field is not empty, the image field will be ignored and be replaced with any text that you put in the custom field.
The above sample is produced by the following code:
{{comic | number = 2 | date = November 17, 2008 | title = Garfield Plus Garfield | image = Garfield Plus Garfield.png | author = David Morgan-Mar }}