Template:Emma ref: Difference between revisions

From The Reed and Rite
Line 36: Line 36:
* Replace <code>BOOK</code> with the appropriate abbreviation from the table below, or the full title of the book.
* Replace <code>BOOK</code> with the appropriate abbreviation from the table below, or the full title of the book.
* Replace <code>DATE</code> with the appropriate date. All date formats should be accepted.
* Replace <code>DATE</code> with the appropriate date. All date formats should be accepted.
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
|-
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Basic Usage</span><br><div style="text-align: left;"><span style="font-weight: normal;">This example displays the basic usage of the template to create a footnote with a link to a specific chapter on a [[:Category:Summary|Summary page]].</span></div>
|-
! width=50%|You Type
!You Get
|-
| style="text-align: left; background-color: white;" |<pre>Lapis Lazuli House is located on Whereabouts Lane.{{Emma ref|e1|5 march 1883}}
== Notes ==
<references /></pre>
| style="background-color: white;" |
Lapis Lazuli House is located on Whereabouts Lane.{{Emma ref|e1|5 march 1883}}
<span style="display: block; font-size: 1.65em; font-family: serif; font-weight: normal; margin-top: 1em; border-bottom: 1px solid #a2a9b1;">Notes</span>
<references />
|-
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Nickname a Reference for Repeated Use</span><br><div style="text-align: left;"><span style="font-weight: normal;">If you use the same reference multiple times on the same page, you can assign that reference a nickname by passing <code>name=</code>. Then using {{t|ref}} with the same <code>name=</code> parameter for every other use of that reference.</span></div>
|-
! width=50%|You Type
!You Get
|-
| style="text-align: left; background-color: white;" |<pre>Queen Eleanor studies papers of state in the garden.{{book ref|qg|1|name=qg1}}
She is approached by a stranger.{{ref|name=qg1}}
== Notes ==
<references /></pre>
| style="background-color: white;" |
Queen Eleanor studies papers of state in the garden.{{book ref|qg|1|name=qg1}}
She is approached by a stranger.{{ref|name=qg1}}
<span style="display: block; font-size: 1.65em; font-family: serif; font-weight: normal; margin-top: 1em; border-bottom: 1px solid #a2a9b1;">Notes</span>
<references />
|-
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Plain Link, Instead of Reference</span><br><div style="text-align: left;"><span style="font-weight: normal;">Occasionally, you may find it useful to insert a plain link to a chapter summary instead of a reference footnote. (Such as when inserting a reference in an infobox.) to do this, simply append <code>link=y</code> at the end of the template call.</span></div>
|-
! width=50%|You Type
!You Get
|-
| style="text-align: center; background-color: white;" |<pre>{{book ref|beast|epilogue|link=y}}</pre>
| style="background-color: white;" |{{book ref|beast|epilogue|link=y}}
|}


=== Accepted Abbreviations ===
=== Accepted Abbreviations ===

Revision as of 22:29, 14 May 2025

Description

This template is used to create a reference with a footnote that links to book's chapter summary of a Emma M. Lion book.

Usage

To use, include {{emma ref|BOOK|DATE}}

  • Replace BOOK with the appropriate abbreviation from the table below, or the full title of the book.
  • Replace DATE with the appropriate date. All date formats should be accepted.


Basic Usage
This example displays the basic usage of the template to create a footnote with a link to a specific chapter on a Summary page.
You Type You Get
Lapis Lazuli House is located on Whereabouts Lane.{{Emma ref|e1|5 march 1883}}

== Notes ==
<references />

Lapis Lazuli House is located on Whereabouts Lane.[1]

Notes

Nickname a Reference for Repeated Use
If you use the same reference multiple times on the same page, you can assign that reference a nickname by passing name=. Then using {{ref}} with the same name= parameter for every other use of that reference.
You Type You Get
Queen Eleanor studies papers of state in the garden.{{book ref|qg|1|name=qg1}}

She is approached by a stranger.{{ref|name=qg1}}

== Notes ==
<references />

Queen Eleanor studies papers of state in the garden.[1]

She is approached by a stranger.[1]

Notes

Plain Link, Instead of Reference
Occasionally, you may find it useful to insert a plain link to a chapter summary instead of a reference footnote. (Such as when inserting a reference in an infobox.) to do this, simply append link=y at the end of the template call.
You Type You Get
{{book ref|beast|epilogue|link=y}}
The Beast of Ten, Epilogue

Accepted Abbreviations

The following abbreviations are accepted, as defined by template {{b}}:

Book Accepted Abbreviations
Volume 1 emma1, eml1, e1, v1
Volume 2 emma2, eml2, e2, v2
Volume 3 emma3, eml3, e3, v3
Volume 4 emma4, eml4, e4, v4
Volume 5 emma5, eml5, e5, v5
Volume 6 emma6, eml6, e6, v6
Volume 7 emma7, eml7, e7, v7
Volume 8 emma8, eml8, e8, v8

Articles using Template