Template:Erf/pagelookup
From ErfWiki
(Difference between revisions)
(Added newer comics to lookup list (who's brillant idea was this?)) |
|||
| Line 2: | Line 2: | ||
| 1 = {{{2}}} | | 1 = {{{2}}} | ||
| 2 = {{#switch: {{{2}}} | | 2 = {{#switch: {{{2}}} | ||
| - | | 1 = 2009-10-29 | + | | 1 = 2009-10-29 |
| - | | 2 = 2009-10-31 | + | | 2 = 2009-10-31 |
| - | | 3 = 2009-11-04 | + | | 3 = 2009-11-04 |
| - | | 4 = 2009-11-07 | + | | 4 = 2009-11-07 |
| - | | 5 = 2009-11-11 | + | | 5 = 2009-11-11 |
| - | | 6 = 2009-11-15 | + | | 6 = 2009-11-15 |
| - | | 7 = 2009-11-19 | + | | 7 = 2009-11-19 |
| - | | 8 = 2009-11-23 | + | | 8 = 2009-11-23 |
| + | | 9 = 2009-11-28 | ||
| + | | 10 = 2009-12-03 | ||
| + | | 11 = 2009-12-08 | ||
| + | | 12 = 2009-12-18 | ||
| + | | 13 = 2009-12-24 | ||
| + | | 14 = 2009-12-31 | ||
| + | | 15 = 2010-01-06 | ||
| + | | 16 = 2010-01-14 | ||
| + | | 17 = 2010-01-21 | ||
| + | | 18 = 2010-01-27 | ||
| + | | 19 = 2010-02-03 | ||
| + | | 20 = 2010-02-10 | ||
| + | | 21 = 2010-02-17 | ||
| + | | 22 = 2010-02-24 | ||
| + | | 23 = 2010-03-07 | ||
| + | | 24 = 2010-03-15 | ||
| ] image name not found [[Template:Erf/pagelookup|Please Add to Template]] }} | | ] image name not found [[Template:Erf/pagelookup|Please Add to Template]] }} | ||
| ] image name not found [[Template:Erf/pagelookup|Please Add to Template]] | | ] image name not found [[Template:Erf/pagelookup|Please Add to Template]] | ||
}}</includeonly><noinclude>{{{{PAGENAME}}/doc}}</noinclude> | }}</includeonly><noinclude>{{{{PAGENAME}}/doc}}</noinclude> | ||
Revision as of 14:43, 27 March 2010
Documentation is at Template:Erf/pagelookup/doc. edit
For references to the comic. This template converts page and book numbers into image names.
For book1, it just passes the page number directly. However, with book 2, the pages are named based on the date they were posted. This template converts book and page number into the date.
Usage
{{Erf/pagelookup|Book|Page}}
Example
{{Erf/pagelookup|1|007}} would display "007.jpg".
or
{{Erf/pagelookup|2|3}} would display "2009-11-04.jpg".
In both cases, this gives the image name in the archive.