Template:Comic

  [{{#ifexpr:>=1|https://www.youtube.com/embed/videoseries?list=UU9ecwl3FTG66jIKA9JRDtmg&index=|https://www.youtube.com/watch?v={{lappend}}}/}} Comic  ]{{#ifexist:| Next &gt; | &gt;&#124; |                                      }}    {{#if: ||{{#if:| }}}}   {{#ifexpr:{{{number|-1}}}>=1|{{DEFAULTSORT: {{padleft:{{{number}}}|4}}}}|}}

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
The following is a sample usage of this template: