Difference between revisions of "Template:Chapter"

From Hunter's Gift Wiki
Jump to: navigation, search
(Created page with "<sub>([[Summary:{{bookname|{{{1}}}}}, Chapter {{{2}}}|{{{1}}}.{{{2}}}]])</sub>")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<sub>([[Summary:{{bookname|{{{1}}}}}, Chapter {{{2}}}|{{{1}}}.{{{2}}}]])</sub>
+
<includeonly><onlyinclude><sub>([[Summary:{{bookname|{{{1}}}}}/Chapter {{{2}}}{{#if:{{{3|}}}|/Scene {{{3}}}}}|{{{1}}}.{{{2}}}{{#if:{{{3|}}}|.{{{3}}}}}]])</sub></onlyinclude></includeonly>
 +
 
 +
This template makes it easier to create a reference to the chapter or scene something is mentioned in. It should be used wherever some detail of a character's appearance is mentioned in one of the books, so that we can easily find where something is mentioned if it's contradicted later.
 +
 
 +
To reference a chapter, specify the book number (1-3) and the chapter number. For example, the code <tt style="border: 1px solid blue"><nowiki>{{chapter|1|10}}</nowiki></tt> will create the link {{chapter|1|10}}, leading to chapter 10 of book 1.
 +
 
 +
To reference a specific scene within that chapter, just add an extra number. For example, the second scene of chapter 3 would be <tt style="border: 1px solid blue"><nowiki>{{chapter|1|3|2}}</nowiki></tt>.

Latest revision as of 12:29, 28 October 2019


This template makes it easier to create a reference to the chapter or scene something is mentioned in. It should be used wherever some detail of a character's appearance is mentioned in one of the books, so that we can easily find where something is mentioned if it's contradicted later.

To reference a chapter, specify the book number (1-3) and the chapter number. For example, the code {{chapter|1|10}} will create the link (1.10), leading to chapter 10 of book 1.

To reference a specific scene within that chapter, just add an extra number. For example, the second scene of chapter 3 would be {{chapter|1|3|2}}.