Difference between revisions of "Template:Msh ref"

From The Coppermind
Jump to navigation Jump to search
m (tweak)
m (tweak)
(6 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
-->|<!--
 
-->|<!--
   
-->{{{pre|}}}<!--
+
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
   
 
-->[[<!--
 
-->[[<!--
   
 
LINK
 
LINK
-->Mistborn: Secret History/Summary#<!--
+
-->Summary: Mistborn: Secret History#<!--
 
-->{{#switch:{{lc:{{{1}}}|}}<!--
 
-->{{#switch:{{lc:{{{1}}}|}}<!--
 
-->|epilogue=Epilogue<!--
 
-->|epilogue=Epilogue<!--
Line 24: Line 24:
 
-->]]<!--
 
-->]]<!--
   
-->{{{post|}}}<!--
+
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
  +
  +
-->{{tracking link|<!--
  +
-->Summary: Mistborn: Secret History/<!--
  +
-->{{#switch:{{lc:{{{1}}}|}}<!--
  +
-->|epilogue=Epilogue<!--
  +
-->|Part_{{{1}}}{{#if:{{{2|}}}|/Chapter_{{{2}}}|}}<!--
  +
-->}}<!--
  +
-->}}<!-- /TRACKING
   
 
NAME
 
NAME
Line 45: Line 53:
 
* {{{group}}} sets the reference group
 
* {{{group}}} sets the reference group
   
[[Category: Sources]]
+
[[category: sources]]
[[Category: Reference templates]]
+
[[category: reference templates]]
  +
  +
== Articles using Template ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

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