Template:Erf/pagelookup
From ErfWiki
(Difference between revisions)
(template update w. more lookup values) |
(62 will eventually need a new value, in all likelihood) |
||
| Line 115: | Line 115: | ||
| 60 = 2011-05-06.jpg | | 60 = 2011-05-06.jpg | ||
| T48 = 2011-05-13.png | | T48 = 2011-05-13.png | ||
| + | | 61 = 2011-05-17.jpg | ||
| + | | T49 = 2011-05-22.png | ||
| + | | 62 = vol2_062_Web_900.jpg | ||
| ] image name not found [[Template:Erf/pagelookup|Please Add to Template]] }} | | ] image name not found [[Template:Erf/pagelookup|Please Add to Template]] }} | ||
| 1.5 = {{#switch: {{{2}}} | | 1.5 = {{#switch: {{{2}}} | ||
Revision as of 04:33, 26 May 2011
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.