Template:Comic: Difference between revisions
Jump to navigation
Jump to search
(Uploading archived page) |
(Adding title implementation) |
||
Line 80: | Line 80: | ||
Comic title in =BOLD= | Comic title in =BOLD= | ||
-->{{#if:{{{title|}}}|<tr><td style="font-size: 20px; padding-bottom:10px">'''{{{title}}}'''</td></tr>}}<!-- | -->{{#if:{{{name|}}}|<tr><td style="font-size: 20px; padding-bottom:10px">'''{{{name}}}'''</td></tr>|{{#if:{{{title|}}}|<tr><td style="font-size: 20px; padding-bottom:10px">'''{{{title}}}'''</td></tr>}}}}<!-- | ||
Display the (optional) text just before the comic | Display the (optional) text just before the comic | ||
Line 124: | Line 124: | ||
| date = March 25, 2008 | | date = March 25, 2008 | ||
| title = 2008-03-25 | | title = 2008-03-25 | ||
| name = 2008-03-25 | |||
| image = 20080325.gif | | image = 20080325.gif | ||
| votey = 20080325after.gif | | votey = 20080325after.gif | ||
Line 135: | Line 136: | ||
| date = | | date = | ||
| title = | | title = | ||
| name = | |||
| before = | | before = | ||
| image = | | image = | ||
Line 154: | Line 156: | ||
| date = March 25, 2008 | | date = March 25, 2008 | ||
| title = 2008-03-25 | | title = 2008-03-25 | ||
| name = 2008-03-25 | |||
| image = 20080325.gif | | image = 20080325.gif | ||
| votey = 20080325after.gif | | votey = 20080325after.gif |
Latest revision as of 12:42, 31 July 2023
This is the basic infobox-style header template used to display xkcd comics on their own pages, including the comic number (with external link to xkcd), publication date, title, comic image, and title text.
Sample[edit]
The following is a sample usage of this template:
2008-03-25 |
Title text: 2008-03-25 |
Votey[edit]
Usage[edit]
{{comic | number = | date = | title = | name = | before = | image = | custom = | customvotey= | imagesize = | noexpand = | titletext = | ldomain = | lappend = }}
Notes[edit]
The above sample is produced by the following code:
{{comic | number = 1127 | date = March 25, 2008 | title = 2008-03-25 | name = 2008-03-25 | image = 20080325.gif | votey = 20080325after.gif | titletext = 2008-03-25 }}