Diferencia entre revisiones de «Plantilla:Book ref»

De La Coppermind
Ir a la navegación Ir a la búsqueda
m (+b/ errors)
m (tweaks)
Línea 27: Línea 27:
 
-->|endnote=Endnote<!--
 
-->|endnote=Endnote<!--
 
-->|i|interlude=Interlude_I-{{{3}}}<!--
 
-->|i|interlude=Interlude_I-{{{3}}}<!--
-->|day=Day_{{{3}}}<!--
 
 
-->|c=Chapter_{{{3}}}<!--
 
-->|c=Chapter_{{{3}}}<!--
 
-->|Chapter_{{{2}}}<!--
 
-->|Chapter_{{{2}}}<!--
Línea 51: Línea 50:
 
-->|endnote=endnote<!--
 
-->|endnote=endnote<!--
 
-->|i|interlude=interlude I-{{{3}}}<!--
 
-->|i|interlude=interlude I-{{{3}}}<!--
-->|day=- Day {{{3}}}<!--
 
 
-->|c={{book ref/c}}chapter {{{3}}}<!--
 
-->|c={{book ref/c}}chapter {{{3}}}<!--
 
-->|chapter {{{2}}}<!--
 
-->|chapter {{{2}}}<!--
Línea 76: Línea 74:
 
errors
 
errors
 
-->{{#switch:{{lc:{{{1}}}|}}<!--
 
-->{{#switch:{{lc:{{{1}}}|}}<!--
-->|msh={{b/msh}}<!--
+
-->|msh={{b/msh}}<!-- since {{msh ref}}
-->|tes={{b/tes}}<!--
+
-->|tes={{b/tes}}<!-- since {{tes ref}}
-->|a1={{b/a1}}<!--
+
-->|a1={{b/a1}}<!-- because it looks nasty
 
-->}}<!--
 
-->}}<!--
   
Línea 87: Línea 85:
 
* the book is expanded by {{t|b}}
 
* the book is expanded by {{t|b}}
 
* the chapter should either be prologue, epilogue or the chapter number
 
* the chapter should either be prologue, epilogue or the chapter number
* if the second argument is a chapter type the third argument is used as the chapter number
+
* if the second argument is `i` or `interlude` type the third argument is used as the interlude number
 
* {{{pre}}} is included before the link
 
* {{{pre}}} is included before the link
 
* {{{post}}} is included after the link
 
* {{{post}}} is included after the link
Línea 93: Línea 91:
 
* {{{group}}} sets the reference group
 
* {{{group}}} sets the reference group
   
  +
The following books have specific templates for referencing use:
Chapter types include interlude, day...
 
  +
* ''Mistborn: Secret History'' uses {{t|msh ref|part|chapter}} as the chapters start at 1 in each part
  +
* ''The Emperor's Soul'' uses {{t|tes ref|day number}} as the chapters are numbered differently
   
 
[[Category: Sources]]
 
[[Category: Sources]]

Revisión del 06:44 1 sep 2016

This template is used to refer to chapter summaries on the coppermind.

To use, include {{book ref|book|chapter}}

  • the book is expanded by {{b}}
  • the chapter should either be prologue, epilogue or the chapter number
  • if the second argument is `i` or `interlude` type the third argument is used as the interlude number
  • {{{pre}}} is included before the link
  • {{{post}}} is included after the link
  • {{{name}}} replaces the generated reference name
  • {{{group}}} sets the reference group

The following books have specific templates for referencing use:

  • Mistborn: Secret History uses {{msh ref|part|chapter}} as the chapters start at 1 in each part
  • The Emperor's Soul uses {{tes ref|day number}} as the chapters are numbered differently