Difference between revisions of "Template:comicsrow"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Undo revision 20266 by Davidy22 (talk) -- let the template be self-documenting and less scary. I don't think placeholders impact performance noticeably.)
(Added some data tags to make table-sorting easier)
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
+
<noinclude>Generates the rows in the [[List of all comics]] page.
 +
 
 
{| class="wikitable no-xkcd-favicon"
 
{| class="wikitable no-xkcd-favicon"
! xkcd !! Title !! Redirects !! Image !! Date</noinclude><!--
+
! xkcd !! Title !! Talk !! Image !! Date</noinclude><!--
 
-->
 
-->
 
|-
 
|-
| align="right"| [http://xkcd.com/{{{1|1}}} xkcd.com/{{{1|1}}}]
+
| align="right" data-sort-type"number" data-sort-value="{{{1|1}}}"| [http://xkcd.com/{{{1|1}}} xkcd.com/{{{1|1}}}]
 
| [[{{{1|1}}}: {{{3|Barrel - Part 1}}}|{{{3|Barrel - Part 1}}}]]<span class="create"> ([{{fullurl:{{{1|1}}}: {{{3|Barrel - Part 1}}}|action=edit&preload=Template:create}} create])</span>
 
| [[{{{1|1}}}: {{{3|Barrel - Part 1}}}|{{{3|Barrel - Part 1}}}]]<span class="create"> ([{{fullurl:{{{1|1}}}: {{{3|Barrel - Part 1}}}|action=edit&preload=Template:create}} create])</span>
| [[{{{1|1}}}|number]] / [[{{{3|Barrel - Part 1}}}|title]] / [[Talk:{{{1|1}}}: {{{3|Barrel - Part 1}}}|talk]]
+
| [[Talk:{{{1|1}}}: {{{3|Barrel - Part 1}}}|talk]]
| [[:File:{{{4|{{lc:{{urlencode:{{{3|Barrel - Part 1}}}|WIKI}}}}.png}}}|{{{4|{{lc:{{urlencode:{{{3|Barrel - Part 1}}}|WIKI}}}}.png}}}]]
+
| {{#if:{{{4|notblank}}}|[[:File:{{{4|{{lc:{{urlencode:{{{3|Barrel - Part 1}}}|WIKI}}}}.png}}}|{{{4|{{lc:{{urlencode:{{{3|Barrel - Part 1}}}|WIKI}}}}.png}}}]]|''No file''}}
| {{{2|2005-09-30}}}
+
| data-sort-type="isoDate"| {{{2|2005-09-30}}}

Revision as of 17:47, 11 December 2017

Generates the rows in the List of all comics page.

xkcd Title Talk Image Date
xkcd.com/1 Barrel - Part 1 (create) talk barrel_-_part_1.png 2005-09-30