Template:Erf/pagelookup/doc

From ErfWiki

Revision as of 21:06, 7 November 2009 by Raphfrk (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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