Difference between revisions of "Template:Book ref"

From The Coppermind
Jump to navigation Jump to search
m (add default for 3 (in case of 2 being chapter number))
m (+b/ errors)
Line 72: Line 72:
 
-->|group={{{group|}}}<!--
 
-->|group={{{group|}}}<!--
   
  +
-->}}<!--
  +
  +
errors
  +
-->{{#switch:{{lc:{{{1}}}|}}<!--
  +
-->|msh={{b/msh}}<!--
  +
-->|tes={{b/tes}}<!--
  +
-->|a1={{b/a1}}<!--
 
-->}}<!--
 
-->}}<!--
   

Revision as of 15:26, 31 August 2016

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