Template:Book ref: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 2: | Line 2: | ||
{{#if:{{{1|}}} | <!-- Check if book title is provided --> | {{#if:{{{1|}}} | <!-- Check if book title is provided --> | ||
{{#switch:{{lc:{{{1}}}}} | {{#switch:{{lc:{{{1}}}}} | ||
| | | beast = [[Summary:The Beast of Ten#Chapter {{{2}}}|''The Beast of Ten'', Chapter {{{2}}}]] | ||
| | | tbot = [[Summary:The Beast of Ten#Chapter {{{2}}}|''The Beast of Ten'', Chapter {{{2}}}]] | ||
| | | bot = [[Summary:The Beast of Ten#Chapter {{{2}}}|''The Beast of Ten'', Chapter {{{2}}}]] | ||
| | | b10 = [[Summary:The Beast of Ten#Chapter {{{2}}}|''The Beast of Ten'', Chapter {{{2}}}]] | ||
| | | tqg = [[Summary:The Queen's Gambit#Chapter {{{2}}}|''The Queen's Gambit'', Chapter {{{2}}}]] | ||
| | | qg = [[Summary:The Queen's Gambit#Chapter {{{2}}}|''The Queen's Gambit'', Chapter {{{2}}}]] | ||
| | | i1 = [[Summary:The Queen's Gambit#Chapter {{{2}}}|''The Queen's Gambit'', Chapter {{{2}}}]] | ||
| | | imirillia1 = [[Summary:The Queen's Gambit#Chapter {{{2}}}|''The Queen's Gambit'', Chapter {{{2}}}]] | ||
| | | trp = [[Summary:The Ruby Prince#Chapter {{{2}}}|''The Ruby Prince'', Chapter {{{2}}}]] | ||
| | | rp = [[Summary:The Ruby Prince#Chapter {{{2}}}|''The Ruby Prince'', Chapter {{{2}}}]] | ||
| | | i2 = [[Summary:The Ruby Prince#Chapter {{{2}}}|''The Ruby Prince'', Chapter {{{2}}}]] | ||
| | | imirillia2 = [[Summary:The Ruby Prince#Chapter {{{2}}}|''The Ruby Prince'', Chapter {{{2}}}]] | ||
| twm = [[Summary:The Wanderer's Mark#Chapter {{{2}}}|''The Wanderer's Mark'', Chapter {{{2}}}]] | |||
| {{#ifexpr: {{{ | | wm = [[Summary:The Wanderer's Mark#Chapter {{{2}}}|''The Wanderer's Mark'', Chapter {{{2}}}]] | ||
| [[Summary:{{{1}}}#{{{ | | i3 = [[Summary:The Wanderer's Mark#Chapter {{{2}}}|''The Wanderer's Mark'', Chapter {{{2}}}]] | ||
| <span style="color:red">Error: | | imirillia3 = [[Summary:The Wanderer's Mark#Chapter {{{2}}}|''The Wanderer's Mark'', Chapter {{{2}}}]] | ||
| tq = [[Summary:The Q#Chapter {{{2}}}|''The Q'', Chapter {{{2}}}]] | |||
| q = [[Summary:The Q#Chapter {{{2}}}|''The Q'', Chapter {{{2}}}]] | |||
| {{#ifexpr: {{{2}}} > 0 and {{{2}}} <= 75 | |||
| [[Summary:{{{1}}}#Chapter_{{{2}}}|''{{{1}}}'', Chapter {{{2}}}]] | |||
| <span style="color:red">Error: Chapter exceeds 75</span> | |||
}} | }} | ||
}} | }} | ||
| <span style="color:red">Error: Missing book title</span>}} | | <span style="color:red">Error: Missing book title</span>}} | ||
| name={{{name|{{{1}}}-{{{ | | name={{{name|{{{1}}}-{{{2}}}}}} | ||
| group={{{group|}}} | | group={{{group|}}} | ||
}}</includeonly> | }}</includeonly><noinclude> | ||
<noinclude> | This template is used to refer to chapter summaries on The Reed and Rite. | ||
To use, include {{t|book ref|book|chapter}} | |||
* Replace <code>book</code> with the appropriate code from {{t|b}} | |||
* <code>chapter</code> should be the chapter number, <code>prologue</code>, or <code>epilogue</code> | |||
* When referencing chapters which have names in place of numbers, such as several chapters in the [[Alcatraz Versus the Evil Librarians (series)|Alcatraz]] books, use the name of the chapter in place of a number. For example: {{t|book ref|a5|mary}} | |||
* When referring to interludes, replace <code>chapter</code> with <code>i|number</code>, where the latter is the interlude number | |||
* For parts that aren't any of the above, replace <code>chapter</code> with <code>part=name</code>; for example, <code>part=ars</code> for Ars Arcanum (don't use this for parts that are comprised of multiple chapters, like in ''[[The Stormlight Archive]]'' books; always reference a specific chapter, or put {{t|cite}} if you can't find it) | |||
* {{{pre}}} is included before the link | |||
* {{{post}}} is included after the link | |||
* {{{name}}} replaces the generated reference name | |||
* {{{group}}} sets the reference group | |||
</includeonly><noinclude> | |||
This template is used to refer to chapter summaries on The Reed and Rite. | This template is used to refer to chapter summaries on The Reed and Rite. | ||
Revision as of 01:11, 19 February 2025
This template is used to refer to chapter summaries on The Reed and Rite.
To use, include {{book ref|book|chapter}}
- Replace
bookwith the appropriate code from{{b}} chaptershould be the chapter number,prologue, orepilogue- When referencing chapters which have names in place of numbers, such as several chapters in the Alcatraz books, use the name of the chapter in place of a number. For example:
{{book ref|a5|mary}} - When referring to interludes, replace
chapterwithi|number, where the latter is the interlude number - For parts that aren't any of the above, replace
chapterwithpart=name; for example,part=arsfor Ars Arcanum (don't use this for parts that are comprised of multiple chapters, like in The Stormlight Archive books; always reference a specific chapter, or put{{cite}}if you can't find it) - {{{pre}}} is included before the link
- {{{post}}} is included after the link
- {{{name}}} replaces the generated reference name
- {{{group}}} sets the reference group
</includeonly> This template is used to refer to chapter summaries on The Reed and Rite.
To use, include {{book ref|book|chapter}}
- Replace
bookwith the appropriate code from{{b}} chaptershould be the chapter number,prologue, orepilogue- When referencing chapters which have names in place of numbers, such as several chapters in the Alcatraz books, use the name of the chapter in place of a number. For example:
{{book ref|a5|mary}} - When referring to interludes, replace
chapterwithi|number, where the latter is the interlude number - For parts that aren't any of the above, replace
chapterwithpart=name; for example,part=arsfor Ars Arcanum (don't use this for parts that are comprised of multiple chapters, like in The Stormlight Archive books; always reference a specific chapter, or put{{cite}}if you can't find it) - {{{pre}}} is included before the link
- {{{post}}} is included after the link
- {{{name}}} replaces the generated reference name
- {{{group}}} sets the reference group