Difference between revisions of "Template:Book ref"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{#tag:ref<!--
+
<includeonly>{{#tag:ref<!--
   
 
TEXT
 
TEXT
Line 17: Line 17:
 
LINK TEXT
 
LINK TEXT
 
-->{{b|{{{1}}}|}} {{#switch:{{uc|{{{2}}}|}}<!--
 
-->{{b|{{{1}}}|}} {{#switch:{{uc|{{{2}}}|}}<!--
-->|prologue=Prologue<!--
+
-->|prologue=prologue<!--
-->|epilogue=Epilogue<!--
+
-->|epilogue=epilogue<!--
-->|i|interlude=Interlude I-{{{3}}}<!--
+
-->|i|interlude=interlude I-{{{3}}}<!--
-->|day=Day {{{3}}}<!--
+
-->|day=day {{{3}}}<!--
-->|Chapter {{{2}}}<!--
+
-->|chapter {{{2}}}<!--
 
-->}}<!--
 
-->}}<!--
   

Revision as of 11:48, 26 August 2014

This template is used to refer to chapter summaries on the coppermind.

To use, include {{book ref|book|chapter}}

  • the book is expanded by {{b}}
  • the chapter should either be prologue, epilogue or the chapter number
  • if the second argument is a chapter type the third argument is used as the chapter number
  • {{{pre}}} is included before the link
  • {{{post}}} is included after the link
  • {{{name}}} replaces the generated reference name
  • {{{group}}} sets the reference group

Chapter types include interlude, day...