Difference between revisions of "Template:comic"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(clearer error)
(woops)
Line 13: Line 13:
 
</td></tr></table><!--
 
</td></tr></table><!--
  
-->{{#if:{{{alttext|a}}}|<span class="error">'''Error:''' The alttext= parameter to the {{tl|comic}} template was deprecated. Please edit this page and replace alttext= with titletext=.</span>}}<noinclude>
+
-->{{#if:{{{alttext|}}}|<span class="error">'''Error:''' The alttext= parameter to the {{tl|comic}} template was deprecated. Please edit this page and replace alttext= with titletext=.</span>}}<noinclude>
 
==Usage==
 
==Usage==
 
<pre>{{comic
 
<pre>{{comic

Revision as of 16:28, 6 August 2012

Usage

{{comic
| number    = 
| date      = 
| title     = {{subst:PAGENAME}}
| image     = 
| imagesize = 
| titletext = 
}}

Note: If the page title is not the comic title, change the "title" field.

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")