Difference between revisions of "Template:Book ref"

From The Coppermind
Jump to navigation Jump to search
m (Undo revision 37761 by Fbstj (talk))
m
Line 9: Line 9:
 
-->|prelude=The Stormlight Archive/Summary#Prelude<!--
 
-->|prelude=The Stormlight Archive/Summary#Prelude<!--
 
-->|ars=Ars Arcanum#{{b|{{{1}}}|}}<!--
 
-->|ars=Ars Arcanum#{{b|{{{1}}}|}}<!--
  +
-->|ack=Acknowledgement#{{b|{{{1}}}|}}<!--
 
-->}}<!--
 
-->}}<!--
 
-->|<!--
 
-->|<!--
Line 29: Line 30:
 
-->|prelude=Prelude to the ''Stormlight Archive''<!--
 
-->|prelude=Prelude to the ''Stormlight Archive''<!--
 
-->|ars=''{{b|{{{1}}}|}}'' Ars Arcanum<!--
 
-->|ars=''{{b|{{{1}}}|}}'' Ars Arcanum<!--
  +
-->|ack=Acknowledgement for ''{{b|{{{1}}}|}}''<!--
 
-->}}<!--
 
-->}}<!--
 
-->|''{{b|{{{1}}}|}}''{{#if:{{{2|}}}|&nbsp;{{#switch:{{lc:{{{2}}}|}}<!--
 
-->|''{{b|{{{1}}}|}}''{{#if:{{{2|}}}|&nbsp;{{#switch:{{lc:{{{2}}}|}}<!--

Revision as of 16:10, 29 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...