Difference between revisions of "Template:comic"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(let's just keep it empty as other parameters, since {{PAGENAME}} won't work now that we changed the naming scheme)
Line 32: Line 32:
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
==Sample==
 
==Sample==
The following is a sample usage of this template:
+
The following is a sample usage of this template [Note: Date is left blank on this sample so that the template does not auto-categorize this page]:
 
{{comic
 
{{comic
 
| number    = 16
 
| number    = 16
| date      = October 4, 2005
+
| date      =  
 
| title    = Monty Python -- Enough
 
| title    = Monty Python -- Enough
 
| image    = Monty python.jpg
 
| image    = Monty python.jpg
Line 52: Line 52:
 
}}</pre>
 
}}</pre>
  
Note: If the page title is not the comic title, change the "title" field.
+
===Notes===
 +
* The date should be written in the form: January 1, 2006
  
The imagesize field is optional for larger comics. The larger dimension (height or width) will be limited to the size. Warning: If the size is larger than the image, the image will be stretched. Format must be in pixels (eg: "350px")
+
* The imagesize field is optional for larger comics. The comic's larger dimension (height or width) will be limited to the set size. Warning: If the size is larger than the image, the image will be stretched. Format must be in pixels (eg: "350px")
  
The above sample is produced by the following code:
+
The above sample is produced by the following code [Note: Date is left blank on this sample so that the template does not auto-categorize this page]:
 +
[
 
<pre>{{comic
 
<pre>{{comic
 
| number    = 16
 
| number    = 16
| date      = October 4, 2005
+
| date      =  
 
| title    = Monty Python -- Enough
 
| title    = Monty Python -- Enough
 
| image    = Monty python.jpg
 
| image    = Monty python.jpg

Revision as of 18:57, 7 August 2012

Sample

The following is a sample usage of this template [Note: Date is left blank on this sample so that the template does not auto-categorize this page]:

Monty Python -- Enough
I went to a dinner where there was a full 10 minutes of Holy Grail quotes exchanged, with no context, in lieu of conversation.  It depressed me badly.
[Click comic to enlarge]
Title text: I went to a dinner where there was a full 10 minutes of Holy Grail quotes exchanged, with no context, in lieu of conversation. It depressed me badly.

Usage

{{comic
| number    = 
| date      = 
| title     = 
| image     = 
| imagesize = 
| titletext = 
}}

Notes

  • The date should be written in the form: January 1, 2006
  • The imagesize field is optional for larger comics. The comic's larger dimension (height or width) will be limited to the set size. Warning: If the size is larger than the image, the image will be stretched. Format must be in pixels (eg: "350px")

The above sample is produced by the following code [Note: Date is left blank on this sample so that the template does not auto-categorize this page]: [

{{comic
| number    = 16
| date      = 
| title     = Monty Python -- Enough
| image     = Monty python.jpg
| imagesize = 350px
| titletext = I went to a dinner where there was a full 10 minutes of Holy Grail quotes exchanged, with no context, in lieu of conversation.  It depressed me badly.
}}