Difference between revisions of "Template:Msh ref"

From The Coppermind
Jump to navigation Jump to search
(start)
 
m (+tweaks)
Line 12: Line 12:
 
-->{{#switch:{{lc:{{{1}}}|}}<!--
 
-->{{#switch:{{lc:{{{1}}}|}}<!--
 
-->|epilogue=Epilogue<!--
 
-->|epilogue=Epilogue<!--
-->|Chapter_{{{1}}}_{{{2}}}<!--
+
-->|Part_{{{1}}}{{#if:{{{2|}}}|_Chapter_{{{2}}}|}}<!--
 
-->}}<!--
 
-->}}<!--
   
Line 19: Line 19:
 
-->{{#switch:{{lc:{{{1}}}|}}<!--
 
-->{{#switch:{{lc:{{{1}}}|}}<!--
 
-->|epilogue=Epilogue<!--
 
-->|epilogue=Epilogue<!--
-->|part {{{1}}} chapter {{{2}}}<!--
+
-->|part {{{1}}}{{#if:{{{2|}}}|&#32;chapter {{{2}}}|}}<!--
 
-->}}<!--
 
-->}}<!--
   

Revision as of 13:26, 28 January 2016

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