Difference between revisions of "Template:Msh ref"

From The Coppermind
Jump to navigation Jump to search
m (redirect to Summary: Mistborn: Secret History & add <sup>#</sup> links)
m (+track +usage)
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
-->|<!--
 
-->|<!--
   
-->{{{pre|}}}<!--
+
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
   
 
-->[[<!--
 
-->[[<!--
Line 24: Line 24:
 
-->]]<!--
 
-->]]<!--
   
-->{{{post|}}}<!--
+
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
   
--> <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><!--
+
-->}}</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]]
  +
  +
== Articles using Template ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

Revision as of 10:45, 19 April 2020

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