Difference between revisions of "Template:Book ref"

From The Coppermind
Jump to navigation Jump to search
m (try)
m (try that)
Line 8: Line 8:
 
-->|{{#switch:{{lc:{{{part|}}}|}}<!--
 
-->|{{#switch:{{lc:{{{part|}}}|}}<!--
 
-->|prelude=The Stormlight Archive/Summary#Prelude<!--
 
-->|prelude=The Stormlight Archive/Summary#Prelude<!--
-->|ars={{b|{{{1}}}|}}/Ars_Arcanum<!--
+
-->|ars=Ars Arcanum#{{b|{{{1}}}|}}<!--
 
-->}}<!--
 
-->}}<!--
 
-->|<!--
 
-->|<!--

Revision as of 11:44, 27 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...