Template:Erf/pagelookup

From ErfWiki

(Difference between revisions)
Jump to: navigation, search
m (Dang it, type.)
m (Linked to the wrong page)
 
(2 intermediate revisions not shown)
Line 118: Line 118:
   | T49 = 2011-05-22.png
   | T49 = 2011-05-22.png
   | 62 = 2011-05-25.jpg
   | 62 = 2011-05-25.jpg
-
   | T50 = 2011-05-22.png
+
   | T50 = 2011-06-02.png
   | 63 = 2011-06-05.jpg
   | 63 = 2011-06-05.jpg
   | T51 = 2011-06-14.png
   | T51 = 2011-06-14.png
Line 155: Line 155:
   | 90 = 2012-09-26.jpg
   | 90 = 2012-09-26.jpg
   | 91 = 2012-10-03.jpg
   | 91 = 2012-10-03.jpg
 +
  | 92 = 2012-10-10.jpg
 +
  | T57 = 2012-10-14.png
 +
  | 93 = 2012-10-18.jpg
 +
  | 94 =
   |    ] 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}}}
Line 208: Line 212:
   |    ] image name not found [[Template:Erf/pagelookup|Please Add to Template]] }}
   |    ] image name not found [[Template:Erf/pagelookup|Please Add to Template]] }}
| 0 = {{#switch: {{{2}}}
| 0 = {{#switch: {{{2}}}
-
   | 1  = 2011/10/inner-peace-through-superior-firepower-episode-001/
+
   | 1  = 2011|10|inner-peace-through-superior-firepower-episode-001
   | 2  = inner-peace-through-superior-firepower-–-episode-002/
   | 2  = inner-peace-through-superior-firepower-–-episode-002/
   | 3  =  
   | 3  =  

Latest revision as of 23:13, 7 November 2012

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.

[edit] Usage

{{Erf/pagelookup|Book|Page}}

[edit] 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.

Go To:
Personal tools