Template:Emma ref: Difference between revisions

From The Reed and Rite
mNo edit summary
m Removed background color to allow dynamic color shift in dark mode.
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{infobox|}}} | {{#if:{{{1|}}} | {{#switch:{{lc:{{{1}}}}}
<includeonly>{{#if:{{{link|}}} | {{#if:{{{1|}}} | {{#switch:{{lc:{{{1}}}}}
   | e1 | emma1 | eml1 | v1 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 1'', {{#time:j F Y|{{{2}}}}}]]
   | e1 | emma1 | eml1 | v1 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 1'', {{#time:j F Y|{{{2}}}}}]]
   | e2 | emma2 | eml2 | v2 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 2'', {{#time:j F Y|{{{2}}}}}]]
   | e2 | emma2 | eml2 | v2 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 2'', {{#time:j F Y|{{{2}}}}}]]
Line 30: Line 30:
== Description ==
== Description ==
{{for|Template:Book ref|linking to a non-Emma M. Lion chapter summary}}
{{for|Template:Book ref|linking to a non-Emma M. Lion chapter summary}}
This template is used to create a reference with a footnote that links to book's chapter summary of a Emma M. Lion book.
This template is used to create a reference with a footnote that links to a book's chapter summary of a Emma M. Lion book. It can also be used to insert a simple link to a chapter summary instead of a reference. For more information on using references, see [[:Help:References]].


== Usage ==
== Usage ==
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.
* {{{pre}}} is included before the link
* {{{post}}} is included after the link
* {{{name}}} replaces the generated reference name
* {{{group}}} sets the reference group


{| 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;" |<pre>Lapis Lazuli House is located on Whereabouts Lane.{{Emma ref|e1|5 march 1883}}
== Notes ==
<references /></pre>
|
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;" |<pre>Emma M. Lion arrived in London.{{Emma ref|e1|March 5, 1883|name=5 March}}
She moved into Lapis Lazuli House.{{ref|name=5 March}}
== Notes ==
<references /></pre>
|
Emma M. Lion arrived in London.{{Emma ref|e1|March 5, 1883|name=5 March}}
She moved into Lapis Lazuli House.{{ref|name=5 March}}
<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;" |<pre>{{emma ref|e1|3/5/1883|link=y}}</pre>
|{{emma ref|e1|3/5/1883|link=y}}
|}
=== Accepted Abbreviations ===
The following abbreviations are accepted, as defined by template {{t|b}}:
{| class="wikitable" width="40%"
{| class="wikitable" width="40%"
! class="title" width="30%" | Book
! class="title" width="30%" | Book

Latest revision as of 22:44, 27 May 2025

Description

This template is used to create a reference with a footnote that links to a book's chapter summary of a Emma M. Lion book. It can also be used to insert a simple link to a chapter summary instead of a reference. For more information on using references, see Help:References.

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
Emma M. Lion arrived in London.{{Emma ref|e1|March 5, 1883|name=5 March}}

She moved into Lapis Lazuli House.{{ref|name=5 March}}

== Notes ==
<references />

Emma M. Lion arrived in London.[1]

She moved into Lapis Lazuli House.[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
{{emma ref|e1|3/5/1883|link=y}}
Emma: Vol. 1, 5 March 1883

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