Difference between revisions of "Template:Msh ref"

From The Coppermind
Jump to navigation Jump to search
m (make smaller)
m ({{tracking link}})
(One intermediate revision by the same user not shown)
Line 26: Line 26:
 
-->{{{post|}}}<!--
 
-->{{{post|}}}<!--
   
--><small> <sup>[[<!--
+
--><small> <sub>{{tracking link|<!--
 
-->Summary: Mistborn: Secret History/<!--
 
-->Summary: Mistborn: Secret History/<!--
 
-->{{#switch:{{lc:{{{1}}}|}}<!--
 
-->{{#switch:{{lc:{{{1}}}|}}<!--
Line 32: Line 32:
 
-->|Part_{{{1}}}{{#if:{{{2|}}}|_Chapter_{{{2}}}|}}<!--
 
-->|Part_{{{1}}}{{#if:{{{2|}}}|_Chapter_{{{2}}}|}}<!--
 
-->}}<!--
 
-->}}<!--
-->|#]]</sup></small><!--
+
-->}}</sub></small><!--
   
 
NAME
 
NAME
Line 53: Line 53:
 
* {{{group}}} sets the reference group
 
* {{{group}}} sets the reference group
   
[[Category: Sources]]
+
[[category: sources]]
[[Category: Reference templates]]
+
[[category: reference templates]]

Revision as of 09:29, 8 September 2019

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