Template:Gunnerkrigg Court recap page/doc: Difference between revisions

Everything About Fiction You Never Wanted to Know.
Content added Content deleted
(Document template)
 
(Add usage and examples sections)
Line 1: Line 1:
This template marks the page into which it is transcluded with [[Template:work]] and [[Template:Gunnerkrigg Court recap page spoiler warning]], and adds it to [[:Category:Gunnerkrigg Court]], [[:Category:Recap]], and [[:Category:Pages Original to All The Tropes]].
This template marks the page into which it is transcluded with [[Template:work]] and [[Template:Gunnerkrigg Court recap page spoiler warning]], gives it an infobox, and adds it to [[:Category:Gunnerkrigg Court]], [[:Category:Recap]], and [[:Category:Pages Original to All The Tropes]].

=== Usage ===
<pre><nowiki>{{Gunnerkrigg Court recap page
| ch number = <chapter number>
| ch name = <chapter name>
| image = <image filename>
| cover page number = <page number of cover page (e.g., 870 for "Give and Take")>
| cover page link = <markup for a link to cover page (overrides `cover page number`)>
| last page number = <page number of last page (including bonus pages)>
| Wikia page name = <name of corresponding page on gunnerkrigg.wikia.com (default: "Chapter <ch number>: <ch name>")>
| prev = <title of previous chapter>
| next = <title of next chapter>
| chrono prev link = <markup for a link to the chronologically previous chapter or side-story>
| chrono next link = <markup for a link to the chronologically next chapter or side-story>
}}</nowiki></pre>

All the parameters are '''optional''', but at least <code>ch number</code> and <code>ch name</code> should be used if possible.

'''Page numbers''' should be given using the value of the parameter ''p'' in <code><nowiki>"https://www.gunnerkrigg.com/?p=..."</nowiki></code>, not the old ''comicID'' in <code><nowiki>"https://www.gunnerkrigg.com/archive_page.php?comicID=..."</nowiki></code>.

=== Examples ===
<pre><nowiki>{{Gunnerkrigg Court recap page
| ch number = 14
| ch name = The Fangs of Summertime
| cover page number = 258
| last page number = 304
| prev = A Week for Kat
| next = Red Returns
| chrono next = Extra: Traveller
}}</nowiki></pre>

Revision as of 23:39, 27 July 2018

This template marks the page into which it is transcluded with Template:work and Template:Gunnerkrigg Court recap page spoiler warning, gives it an infobox, and adds it to Category:Gunnerkrigg Court, Category:Recap, and Category:Pages Original to All The Tropes.

Usage

{{Gunnerkrigg Court recap page
 | ch number = <chapter number>
 | ch name = <chapter name>
 | image = <image filename>
 | cover page number = <page number of cover page (e.g., 870 for "Give and Take")>
 | cover page link = <markup for a link to cover page (overrides `cover page number`)>
 | last page number = <page number of last page (including bonus pages)>
 | Wikia page name = <name of corresponding page on gunnerkrigg.wikia.com (default: "Chapter <ch number>: <ch name>")>
 | prev = <title of previous chapter>
 | next = <title of next chapter>
 | chrono prev link = <markup for a link to the chronologically previous chapter or side-story>
 | chrono next link = <markup for a link to the chronologically next chapter or side-story>
}}

All the parameters are optional, but at least ch number and ch name should be used if possible.

Page numbers should be given using the value of the parameter p in "https://www.gunnerkrigg.com/?p=...", not the old comicID in "https://www.gunnerkrigg.com/archive_page.php?comicID=...".

Examples

{{Gunnerkrigg Court recap page
 | ch number = 14
 | ch name = The Fangs of Summertime
 | cover page number = 258
 | last page number = 304
 | prev = A Week for Kat
 | next = Red Returns
 | chrono next = Extra: Traveller
}}