Template:Paneler

From Erfwiki
Revision as of 09:15, 19 January 2019 by DukeBG (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation is at Template:Paneler/doc. edit

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.

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
  • {{{img_ext}}} is the optional image extention (default is .jpg)

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.

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
}}

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)

Page Info [edit]

Turn Number:1
Side's Turn:Gobwin Knob

Previous: TBFGK 2:4Next: TBFGK 2:6

TBFGK 2.jpg

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

TBFGK 3.jpg
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]
https://wiki.erfworld.com/index.php?title=Template:Paneler&curid=525&oldid=190165
wiki.erfworld.com
crawl=CC-MAIN-2019-13
33530
application/http; msgtype=response
sha1:ZJUZTL7EJQZD3O7DCSSFCSQQW35A36F3
<urn:uuid:d4bef18f-3546-4045-be68-0c6a16240b32>
2019-03-21T17:45:37Z
162.243.12.228
text/html
sha1:GGNLUM7SHGU37IXF4VPLN2NP6AZLQXLT
<urn:uuid:9f6c0ec2-1eba-4ae4-88a7-a7c0bc2547c7>
https://wiki.erfworld.com/index.php?title=Template:Paneler&curid=525&oldid=190165
response
<urn:uuid:d99069e2-dae1-481a-962f-e98d8140fe9c>
isPartOf: CC-MAIN-2019-13
publisher: Common Crawl
description: Wide crawl of the web for March 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-152-225-239.ec2.internal
software: Apache Nutch 1.15 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 0.11-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/