Template:Paneler/doc

From ErfWiki

Jump to: navigation, search

Template to compile all of the panel by panel information from its sub-pages.

WARNING: this is still a work in progress.

This template is for automatically generating a "next page"/"previous page" breadcrumb. It also automatically includes an image with the panel name, if one exists according to the standardised imagename format, (canon name)_(page)-(panel).jpg. Nonstandard imagenames can be included manually of course.

[edit] KEY

  • {{{1}}} is the page number. It is mandatory.
  • {{{2}}} is the panel number, also mandatory.
  • (optional) {{{3}}} is the article name that goes before the page number. For example, for the Battle for Gobwin Knob pages, this is "TBFGK" as in TBFGK 1:1 or TBFGK 10:4.
  • If left blank, this option defaults to TBFGK.
  • Automatic crop function (optional)
{{{4}}} , {{{5}}} is the top left corner
{{{6}}} , {{{7}}} is the bottom right corner
  • {{{8}}} is the previous page (overrides default -1 from current page)
  • {{{9}}} is the next page (overrides default +1 from current page)
  • {{{10}}} is the number of panels (overrides the function lookup)

Panel specific files should use the filenames of the form File:TBFGK_3-2.jpg (for page 3, panel 2). If the auto-cropping function is used the filename should be of the form File:TBFGK_37.jpg and the entire page is uploaded as a single file. The easiest way to get the file right is to just create a page that will include the paneler template first, and then use the link.

[edit] Usage

{{paneler
 |page number
 |panel on page
 |article name that goes before the page number (TBFGK, Klog, etc)
 |Auto crop left X coordinate
 |Auto crop upper Y coordinate
 |Auto crop right X coordinate
 |Auto crop lower Y coordinate
 |previous panel (overrides the default +1)
 |next panel (overrides the default -1)
 |number of panels on page (overrides the function lookup)
}}

[edit] Example

Using the code

{{paneler|2|5|TBFGK|363|268|533|498|1|3|13}}

would display all of the following:


Book (TBFGK)
Page by page (2)
Panel by panel (2:5)

Previous TBFGK 2:4 Next: TBFGK 2:6

{{{6}}}

(5 / 13)
Previous TBFGK 2:4 Next: TBFGK 2:6

{{{6}}}


Page Info

Turn Number:1
Side's Turn:Gobwin Knob
Description[edit]

Manpower the Temporary continues to stare forward, unmoving.

Text[edit]

Gobwin: My lord...?

Manpower the Temporary: I can taste key lime pie.[1]

Go To:
Personal tools