Difference between revisions of "Template:Msh ref"

From The Coppermind
Jump to navigation Jump to search
m (tweak)
m (tweak)
Line 30: Line 30:
 
-->{{#switch:{{lc:{{{1}}}|}}<!--
 
-->{{#switch:{{lc:{{{1}}}|}}<!--
 
-->|epilogue=Epilogue<!--
 
-->|epilogue=Epilogue<!--
-->|Part_{{{1}}}{{#if:{{{2|}}}|_Chapter_{{{2}}}|}}<!--
+
-->|Part_{{{1}}}{{#if:{{{2|}}}|/Chapter_{{{2}}}|}}<!--
 
-->}}<!--
 
-->}}<!--
 
-->}}<!-- /TRACKING
 
-->}}<!-- /TRACKING

Revision as of 19:05, 1 February 2021

This template is used to refer to Mistborn: Secret History chapter summaries on the coppermind. It is a special template because unlike other {{book ref}}-able books, its chapters start at 1 in each section.

To use, include {{msh ref|part|chapter}}

  • the part should either be epilogue or the part number
  • if the second argument is a part number 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

Articles using Template