<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=204.14.14.181</id>
		<title>explain xkcd - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=204.14.14.181"/>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php/Special:Contributions/204.14.14.181"/>
		<updated>2026-05-14T13:47:16Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://www.explainxkcd.com/wiki/index.php?title=Template:comic/doc&amp;diff=412507</id>
		<title>Template:comic/doc</title>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php?title=Template:comic/doc&amp;diff=412507"/>
				<updated>2026-05-13T14:25:31Z</updated>
		
		<summary type="html">&lt;p&gt;204.14.14.181: /* Tests */ Testing the limits of the template&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;This page is transcluded inside [[Template:comic]] as its documentation, so everyone can edit it.&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;'''The template {{tl|comic}} has an associated sandbox, available at [[Template:comic/sandbox]].'''&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
[https://www.explainxkcd.com/wiki/index.php?title=Template:comic/doc&amp;amp;action=edit ''(edit documentation)'']__NOTOC__&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;pre&amp;gt;{{comic&lt;br /&gt;
| number    =&lt;br /&gt;
| date      =&lt;br /&gt;
| title     =&lt;br /&gt;
| ognumber  =&lt;br /&gt;
| oglink    =&lt;br /&gt;
| ogttlabel =&lt;br /&gt;
| ogtitle   =&lt;br /&gt;
| ogprev    =&lt;br /&gt;
| ognote    =&lt;br /&gt;
| ognext    =&lt;br /&gt;
| before    =&lt;br /&gt;
| image     =&lt;br /&gt;
| custom    =&lt;br /&gt;
| imagesize =&lt;br /&gt;
| noexpand  =&lt;br /&gt;
| titletext =&lt;br /&gt;
| ttstyle   =&lt;br /&gt;
| bodystyle =&lt;br /&gt;
| bodyclass =&lt;br /&gt;
| extra     =&lt;br /&gt;
| ldomain   =&lt;br /&gt;
| lappend   =&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{notice|The new parameters are undocumented! There's some info about them [https://www.explainxkcd.com/wiki/index.php?title{{=}}Template:comic/sandbox&amp;amp;action{{=}}edit in the code].&amp;lt;pre&amp;gt;&lt;br /&gt;
ogttlabel = optional&lt;br /&gt;
ognumber  = &lt;br /&gt;
ogprev    = required if ognumber given, otherwise throws an error&lt;br /&gt;
ognote    = optional&lt;br /&gt;
ognext    = required if ognumber given, otherwise throws an error&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Parameter&lt;br /&gt;
! Usage&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;'''&lt;br /&gt;
| Required in normal circumstances&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; | The comic's basic information. In normal circumstances, these should always be defined.&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'''&lt;br /&gt;
| Required in normal circumstances&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;image&amp;lt;/code&amp;gt;'''&lt;br /&gt;
| Required in normal circumstances&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt;'''&lt;br /&gt;
| Optional; omit if unreleased or undated&lt;br /&gt;
| The date the comic was first published and should be written in the form &amp;lt;code&amp;gt;mmmm d, yyyy&amp;lt;/code&amp;gt;. (Full month name, day number without digit padding, 4-digit year. Example: &amp;lt;code&amp;gt;January 1, 2006&amp;lt;/code&amp;gt;). If the comic [[:Category:No date|has no date]] or [[:Category:Unreleased comics|has not been released]], it should be omitted.&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;ognumber&amp;lt;/code&amp;gt;'''&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; | Optional; only used for early comics&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; | Must always be used together for [[LiveJournal|the early xkcd comics]], not when Randall [[:Category:Comics edited after their publication|changes the title]] of an existing comic. Note that if '''&amp;lt;code&amp;gt;ognumber&amp;lt;/code&amp;gt;''' is given, some parameters are required.&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;oglink&amp;lt;/code&amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;ogtitle&amp;lt;/code&amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;before&amp;lt;/code&amp;gt;'''&lt;br /&gt;
| Optional; used for long comics&lt;br /&gt;
| Used to insert text before the comic, usually to insert a link to skip to the explanation on extremely large comics like [[1732: Earth Temperature Timeline]] or for the comic itself if it's just text like [[Blue Eyes]]. The text provided to this parameter is placed on the line between the title and the image. This parameter is optional. The wikitext used to jump to the ==Explanation== is &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[#Explanation|↓ Skip to explanation ↓]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;imagesize&amp;lt;/code&amp;gt;'''&lt;br /&gt;
| Optional; limits image display size&lt;br /&gt;
| Limits the size of the image in pixels.&lt;br /&gt;
*To limit the width, simply list the width. E.g.: &amp;lt;code&amp;gt;350px&amp;lt;/code&amp;gt;&lt;br /&gt;
* To limit the height, prepend an &amp;quot;x&amp;quot; to the desired height. E.g.: &amp;lt;code&amp;gt;x400px&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Note that, if the '''&amp;lt;code&amp;gt;imagesize&amp;lt;/code&amp;gt;''' is larger than the '''&amp;lt;code&amp;gt;image&amp;lt;/code&amp;gt;''', the image will be stretched.&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;noexpand&amp;lt;/code&amp;gt;'''&lt;br /&gt;
| Optional; used when imagesize limits display&lt;br /&gt;
| Boolean to hide the &amp;quot;Click to enlarge&amp;quot; button, usually when using '''&amp;lt;code&amp;gt;imagesize&amp;lt;/code&amp;gt;'''.&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;custom&amp;lt;/code&amp;gt;'''&lt;br /&gt;
| Optional; overrides image&lt;br /&gt;
| Replaces the comic image with custom text or content.&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;titletext&amp;lt;/code&amp;gt;'''&lt;br /&gt;
| Optional; sets title text&lt;br /&gt;
| Sets the [[Title text|title text]] of the comic.&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;ttstyle&amp;lt;/code&amp;gt;'''&lt;br /&gt;
| Optional; styles title text&lt;br /&gt;
| Sets the CSS style of the '''&amp;lt;code&amp;gt;titletext&amp;lt;/code&amp;gt;''' span element.&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;bodystyle&amp;lt;/code&amp;gt;'''&lt;br /&gt;
| Optional; sets wrapper style&lt;br /&gt;
| Sets the inline CSS style of the outer comic container.&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;bodyclass&amp;lt;/code&amp;gt;'''&lt;br /&gt;
| Optional; sets wrapper class&lt;br /&gt;
| Sets the HTML class attribute of the outer comic container.&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;extra&amp;lt;/code&amp;gt;'''&lt;br /&gt;
| Optional; boolean&lt;br /&gt;
| When set to &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt;, adds the page to the [[:Category:Extra comics|Extra comics]] category.&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;lappend&amp;lt;/code&amp;gt;'''&lt;br /&gt;
| Required if &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; is missing&lt;br /&gt;
| The part of the link appended to &amp;lt;code&amp;gt;xkcd.com/&amp;lt;/code&amp;gt; in &amp;quot;wide link mode&amp;quot;. Required when &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; is not set.&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;lt;code&amp;gt;ldomain&amp;lt;/code&amp;gt;'''&lt;br /&gt;
| Optional; changes link domain&lt;br /&gt;
| Sets the subdomain for the link (e.g., &amp;lt;code&amp;gt;blog&amp;lt;/code&amp;gt; for blog.xkcd.com). Defaults to &amp;lt;code&amp;gt;www&amp;lt;/code&amp;gt;. For example, if the link is to a blog post (blog.xkcd.com), '''&amp;lt;code&amp;gt;ldomain&amp;lt;/code&amp;gt;''' should be set to &amp;lt;code&amp;gt;blog&amp;lt;/code&amp;gt;. The resulting link when using &amp;lt;code&amp;gt;lappend&amp;lt;/code&amp;gt; and optionally &amp;lt;code&amp;gt;ldomain&amp;lt;/code&amp;gt; is:&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;https://'''ldomain'''.xkcd.com/'''lappend'''&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example 1 ==&lt;br /&gt;
{{comic&lt;br /&gt;
| number    = 3048&lt;br /&gt;
| date      = February 7, 2025&lt;br /&gt;
| title     = Suspension Bridge&lt;br /&gt;
| image     = suspension_bridge_2x.png&lt;br /&gt;
| imagesize = 362x365px&lt;br /&gt;
| noexpand  = true&lt;br /&gt;
| titletext = As a first step, they can put in a secondary deck, to help drivers try it out and find out how fun the jumps are. After a while no one will use the old flat deck and they can remove it.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The example above is produced by the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{comic&lt;br /&gt;
| number    = 3048&lt;br /&gt;
| date      = February 7, 2025&lt;br /&gt;
| title     = Suspension Bridge&lt;br /&gt;
| image     = suspension_bridge_2x.png&lt;br /&gt;
| imagesize = 362x365px&lt;br /&gt;
| noexpand  = true&lt;br /&gt;
| titletext = As a first step, they can put in a secondary deck, to help drivers try it out and find out how fun the jumps are. After a while no one will use the old flat deck and they can remove it.&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example 2 ==&lt;br /&gt;
{{comic&lt;br /&gt;
| number    = 10&lt;br /&gt;
| date      = September 30, 2005&lt;br /&gt;
| title     = Pi Equals&lt;br /&gt;
| oglink    = https://web.archive.org/web/20070927001941/http://xkcd-drawings.livejournal.com/?skip=40#:~:text=8%3A44%20pm-,Pi%20equals,-(4%20Comments&lt;br /&gt;
| ogtitle   = Pi equals&lt;br /&gt;
| image     = pi.jpg&lt;br /&gt;
| titletext = My most famous drawing, and one of the first I did for the site&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The example above is produced by the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{comic&lt;br /&gt;
| ognumber    = 10&lt;br /&gt;
| ognumber    = 10&lt;br /&gt;
| date      = September 30, 2005&lt;br /&gt;
| title     = Pi Equals&lt;br /&gt;
| oglink    = https://web.archive.org/web/20070927001941/http://xkcd-drawings.livejournal.com/?skip=40#:~:text=8%3A44%20pm-,Pi%20equals,-(4%20Comments&lt;br /&gt;
| ogtitle   = Pi equals&lt;br /&gt;
| image     = pi.jpg&lt;br /&gt;
| titletext = My most famous drawing, and one of the first I did for the site&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Tests==&lt;br /&gt;
{{comic&lt;br /&gt;
| number    = 3070&lt;br /&gt;
| date      = April 21, 2025&lt;br /&gt;
| title     = Air Fact&lt;br /&gt;
| image     = air_fact_2x.png&lt;br /&gt;
| imagesize = 250x394px&lt;br /&gt;
| noexpand  = true&lt;br /&gt;
| titletext = 'Wow, that must be why you swallow so many of them per year!' 'No, that's spiders. You swallow WAY more ants.'&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{comic&lt;br /&gt;
| number    = 3048&lt;br /&gt;
| date      = February 7, 2025&lt;br /&gt;
| title     = Suspension Bridge&lt;br /&gt;
| image     = suspension_bridge_2x.png&lt;br /&gt;
| imagesize = 362x365px&lt;br /&gt;
| noexpand  = true&lt;br /&gt;
| titletext = As a first step, they can put in a secondary deck, to help drivers try it out and find out how fun the jumps are. After a while no one will use the old flat deck and they can remove it.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{comic&lt;br /&gt;
| ognumber  = 7&lt;br /&gt;
| ogtitle   = Hello there&lt;br /&gt;
| ogttlabel = Libehuornel title&lt;br /&gt;
| number    = 8&lt;br /&gt;
| ognext    = 12&lt;br /&gt;
| ogprev    = 8&lt;br /&gt;
| date      = September 30, 2005&lt;br /&gt;
| title     = Pi Equals&lt;br /&gt;
| oglink    = https://web.archive.org/web/20070927001941/http://xkcd-drawings.livejournal.com/?skip=40#:~:text=8%3A44%20pm-,Pi%20equals,-(4%20Comments&lt;br /&gt;
| image     = pi.jpg&lt;br /&gt;
| titletext = My most famous drawing, and one of the first I did for the site&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{comic/sandbox&lt;br /&gt;
| ognumber  = 9&lt;br /&gt;
| number    = 10&lt;br /&gt;
| ogprev    = 8&lt;br /&gt;
| ognext    = 12&lt;br /&gt;
| ognote    =&lt;br /&gt;
| date      = September 30, 2005&lt;br /&gt;
| title     = Pi Equals&lt;br /&gt;
| ogtitle     = Pi Equa&lt;br /&gt;
| oglink    = https://web.archive.org/web/20070927001941/http://xkcd-drawings.livejournal.com/?skip=40#:~:text=8%3A44%20pm-,Pi%20equals,-(4%20Comments&lt;br /&gt;
| ogtitle   = Pi equals&lt;br /&gt;
| image     = pi.jpg&lt;br /&gt;
| titletext = My most famous drawing, and one of the first I did for the site&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{comic/sandbox&lt;br /&gt;
| number    = 2147483647&lt;br /&gt;
| date      = January 1st, 20400000&lt;br /&gt;
| title     = 32 Bit Limit&lt;br /&gt;
| image     = cant_sleep.png&lt;br /&gt;
| titletext = Testing the limits of the comic template.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{comic/sandbox&lt;br /&gt;
| number    = 9223372036854775807&lt;br /&gt;
| date      = January 1st, 87617332838400000&lt;br /&gt;
| title     = 64 Bit Limit&lt;br /&gt;
| image     = cant_sleep.png&lt;br /&gt;
| titletext = Testing the limits of the comic template.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{comic/sandbox&lt;br /&gt;
| number    = 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368&lt;br /&gt;
| date      = January 1st, 1707716842703113353352047622106917573632076691019742271031858732836185807594950056457686904011769683789991709884686041458759880330307298160394668011502032787397744872520924875407623601437651562303477185321043353089272525751413596832713917939393696447443159344051974643835861368443793969348473315865394563122.5585937499999309496094420334193828079325484221319260162288011038454148549340859217753372183725222613874503432637071166240374493309710480868536887757743085888637652397617048540059715147026764167&lt;br /&gt;
| title     = Floating Point Limit&lt;br /&gt;
| image     = day_counter.png&lt;br /&gt;
| titletext = Testing the limits of the comic template.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{comic/sandbox&lt;br /&gt;
| number    = -1&lt;br /&gt;
| ognumber  = -1&lt;br /&gt;
| ogprev    = -2&lt;br /&gt;
| ognext    = 0&lt;br /&gt;
| date      = September 30, 2005&lt;br /&gt;
| title     = Negative&lt;br /&gt;
| image     = software_testing_day_2x.png&lt;br /&gt;
| titletext = Testing the limits of the comic template.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{comic/sandbox&lt;br /&gt;
| number    = one&lt;br /&gt;
| date      = September 30, 2005&lt;br /&gt;
| title     = Word Instead&lt;br /&gt;
| image     = new_bug.png&lt;br /&gt;
| titletext = Testing the limits of the comic template.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{comic/sandbox&lt;br /&gt;
| number    = {{comic/sandbox&lt;br /&gt;
| number    = {{comic/sandbox&lt;br /&gt;
| number    = 1000&lt;br /&gt;
| date      = September 30, 2005&lt;br /&gt;
| title     = Recursion&lt;br /&gt;
| image     = to_be_wanted.png&lt;br /&gt;
| titletext = Testing the limits of the comic template.&lt;br /&gt;
}}&lt;br /&gt;
| date      = September 30, 2005&lt;br /&gt;
| title     = Recursion&lt;br /&gt;
| image     = {{comic/sandbox&lt;br /&gt;
| number    = 1000&lt;br /&gt;
| date      = September 30, 2005&lt;br /&gt;
| title     = Recursion&lt;br /&gt;
| image     = to_be_wanted.png&lt;br /&gt;
| titletext = Testing the limits of the comic template.&lt;br /&gt;
}}&lt;br /&gt;
| titletext = Testing the limits of the comic template.&lt;br /&gt;
}}&lt;br /&gt;
| date      = September 30, 2005&lt;br /&gt;
| title     = Recursion&lt;br /&gt;
| image     = {{comic/sandbox&lt;br /&gt;
| number    = {{comic/sandbox&lt;br /&gt;
| number    = 1000&lt;br /&gt;
| date      = September 30, 2005&lt;br /&gt;
| title     = Recursion&lt;br /&gt;
| image     = to_be_wanted.png&lt;br /&gt;
| titletext = Testing the limits of the comic template.&lt;br /&gt;
}}&lt;br /&gt;
| date      = September 30, 2005&lt;br /&gt;
| title     = Recursion&lt;br /&gt;
| image     = {{comic/sandbox&lt;br /&gt;
| number    = 1000&lt;br /&gt;
| date      = September 30, 2005&lt;br /&gt;
| title     = Recursion&lt;br /&gt;
| image     = to_be_wanted.png&lt;br /&gt;
| titletext = Testing the limits of the comic template.&lt;br /&gt;
}}&lt;br /&gt;
| titletext = Testing the limits of the comic template.&lt;br /&gt;
}}&lt;br /&gt;
| titletext = Testing the limits of the comic template.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{comic/sandbox&lt;br /&gt;
| number    = 1000&lt;br /&gt;
| date      = September 30, 2005&lt;br /&gt;
| title     = Hyper Recursion&lt;br /&gt;
| image     = {{Template:comic/sandbox}}&lt;br /&gt;
| titletext = Oh no.&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>204.14.14.181</name></author>	</entry>

	</feed>