Difference between revisions of "Template:comic"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
Line 12: Line 12:
 
</ul></td></tr>
 
</ul></td></tr>
 
<tr><td>{{#if:{{{date|}}}|[[Category:Comics{{!}}{{{number|(missing parameter 1)}}}]][[Category:Comics from {{#time:Y|{{{date|(missing parameter 2)}}}}}]][[Category:Comics from {{#time:F|{{{date|}}}}}]][[Category:Comics|{{Num4|{{{number|}}}}}]][[Category:{{#time:l|{{{date|}}}}} Comics]]}}
 
<tr><td>{{#if:{{{date|}}}|[[Category:Comics{{!}}{{{number|(missing parameter 1)}}}]][[Category:Comics from {{#time:Y|{{{date|(missing parameter 2)}}}}}]][[Category:Comics from {{#time:F|{{{date|}}}}}]][[Category:Comics|{{Num4|{{{number|}}}}}]][[Category:{{#time:l|{{{date|}}}}} Comics]]}}
{{#if:{{{image|}}}|[[File:{{{image|}}}{{!}}{{{alttext|}}}]]{{#if:{{{alttext|}}}|<br /><span style="{{{captionstyle|}}}">{{{alttext|}}}</span>}}}}
+
{{#if:{{{image|}}}|[[File:{{{image|}}}{{!}}{{{alttext|}}}|150px]]{{#if:{{{alttext|}}}|<br /><span style="{{{captionstyle|}}}">{{{alttext|}}}</span>}}}}
 
</td></tr></table><noinclude>
 
</td></tr></table><noinclude>
 
==Usage==
 
==Usage==
Line 18: Line 18:
 
| number  =  
 
| number  =  
 
| date    =  
 
| date    =  
| title  =  
+
| title  = {{PAGENAME}}
 
| image  =  
 
| image  =  
 
| alttext =  
 
| alttext =  
}}</pre></noinclude>
+
}}</pre>
 +
 
 +
Note: If the page title is not the comic title, change the "title" field.
 +
</noinclude>

Revision as of 16:59, 3 August 2012

Usage

{{Comicheader/beta1
| number  = 
| date    = 
| title   = {{PAGENAME}}
| image   = 
| alttext = 
}}

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