Template:Emma ref: Difference between revisions
No edit summary |
m Removed background color to allow dynamic color shift in dark mode. |
||
| (33 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#if:{{{link|}}} | {{#if:{{{1|}}} | {{#switch:{{lc:{{{1}}}}} | ||
{{#if:{{{1|}}} | | | 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}}}}}]] | |||
| e3 | emma3 | eml3 | v3 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 3'', {{#time:j F Y|{{{2}}}}}]] | |||
| e4 | emma4 | eml4 | v4 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 4'', {{#time:j F Y|{{{2}}}}}]] | |||
| e5 | emma5 | eml5 | v5 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 5'', {{#time:j F Y|{{{2}}}}}]] | |||
| e6 | emma6 | eml6 | v6 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 6'', {{#time:j F Y|{{{2}}}}}]] | |||
| e7 | emma7 | eml7 | v7 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 7'', {{#time:j F Y|{{{2}}}}}]] | |||
| e8 | emma8 | eml8 | v8 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 8'', {{#time:j F Y|{{{2}}}}}]] | |||
| #default = <span style="color:red">Error: Invalid volume</span> | |||
}} | }} | ||
| <span style="color:red">Error: Missing volume</span>}} | | <span style="color:red">Error: Missing volume</span>}} | ||
| | | {{#tag:ref| | ||
| group={{{group|}}} | {{#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}}}}}]] | |||
| e2 | emma2 | eml2 | v2 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 2'', {{#time:j F Y|{{{2}}}}}]] | |||
| e3 | emma3 | eml3 | v3 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 3'', {{#time:j F Y|{{{2}}}}}]] | |||
| e4 | emma4 | eml4 | v4 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 4'', {{#time:j F Y|{{{2}}}}}]] | |||
| e5 | emma5 | eml5 | v5 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 5'', {{#time:j F Y|{{{2}}}}}]] | |||
| e6 | emma6 | eml6 | v6 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 6'', {{#time:j F Y|{{{2}}}}}]] | |||
| e7 | emma7 | eml7 | v7 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 7'', {{#time:j F Y|{{{2}}}}}]] | |||
| e8 | emma8 | eml8 | v8 = [[Summary:{{b|{{{1}}}}}#{{#time:j F Y|{{{2}}}}}|''Emma: Vol. 8'', {{#time:j F Y|{{{2}}}}}]] | |||
| #default = <span style="color:red">Error: Invalid volume</span> | |||
}} | |||
| <span style="color:red">Error: Missing volume</span>}} | |||
| name={{{name|{{{1}}}-{{#time:Y-m-d|{{{2}}}}}}}} | |||
| group={{{group|}}} | |||
}} | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
== Description == | |||
{{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 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 {{t|emma ref|BOOK|DATE}} | |||
* 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. | |||
{| 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="title" width="30%" | Book | |||
! class="title" colspan="2" | Accepted Abbreviations | |||
|- | |||
! [[The Unselected Journals of Emma M. Lion: Volume 1|Volume 1]] | |||
| <code>emma1</code>, <code>eml1</code>, <code>e1</code>, <code>v1</code> | |||
|- | |||
! [[The Unselected Journals of Emma M. Lion: Volume 2|Volume 2]] | |||
| <code>emma2</code>, <code>eml2</code>, <code>e2</code>, <code>v2</code> | |||
|- | |||
! [[The Unselected Journals of Emma M. Lion: Volume 3|Volume 3]] | |||
| <code>emma3</code>, <code>eml3</code>, <code>e3</code>, <code>v3</code> | |||
|- | |||
! [[The Unselected Journals of Emma M. Lion: Volume 4|Volume 4]] | |||
| <code>emma4</code>, <code>eml4</code>, <code>e4</code>, <code>v4</code> | |||
|- | |||
! [[The Unselected Journals of Emma M. Lion: Volume 5|Volume 5]] | |||
| <code>emma5</code>, <code>eml5</code>, <code>e5</code>, <code>v5</code> | |||
|- | |||
! [[The Unselected Journals of Emma M. Lion: Volume 6|Volume 6]] | |||
| <code>emma6</code>, <code>eml6</code>, <code>e6</code>, <code>v6</code> | |||
|- | |||
! [[The Unselected Journals of Emma M. Lion: Volume 7|Volume 7]] | |||
| <code>emma7</code>, <code>eml7</code>, <code>e7</code>, <code>v7</code> | |||
|- | |||
! [[The Unselected Journals of Emma M. Lion: Volume 8|Volume 8]] | |||
| <code>emma8</code>, <code>eml8</code>, <code>e8</code>, <code>v8</code> | |||
|} | |||
== Articles using Template == | |||
:{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}} | |||
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=100|limit=100}} | |||
[[Category: Reference Templates]] | [[Category: Reference Templates]] | ||
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
BOOKwith the appropriate abbreviation from the table below, or the full title of the book. - Replace
DATEwith 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
- St. Crispian's (transclusion) (← links | edit)
- Emma M. Lion (transclusion) (← links | edit)
- Lapis Lazuli (transclusion) (← links | edit)
- Agnes (transclusion) (← links | edit)
- Parian (transclusion) (← links | edit)
- Matilde (transclusion) (← links | edit)
- Maxwell (transclusion) (← links | edit)
- Nigel Hawkes (transclusion) (← links | edit)
- Mary Bairrage (transclusion) (← links | edit)
- Madame Tasset (transclusion) (← links | edit)
- Saffronia March (transclusion) (← links | edit)
- Jack Hollingstell (transclusion) (← links | edit)
- Mr. Penury (transclusion) (← links | edit)
- The Tenant (transclusion) (← links | edit)
- The Duke of Islington (transclusion) (← links | edit)
- The Personal Library of Emma M. Lion (transclusion) (← links | edit)
- Lapis Lazuli Minor (transclusion) (← links | edit)
- The Reed and Rite (transclusion) (← links | edit)
- Declan Lion (transclusion) (← links | edit)
- Emma's Mother (transclusion) (← links | edit)
- Fortitude Preparatory School for Girls (transclusion) (← links | edit)