Template:Journal ref: Difference between revisions

The Emma M. Lion Wiki
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
A citation for an Emma book. Links to day summaries.
<templatedata>
<templatedata>
{
{
     "description": "Formats a date in a reference.",
     "description": "Creates a reference to one of Emma's journals and links the date",
     "params": {
     "params": {
         "1": {
         "1": {
Line 26: Line 25:
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude><includeonly>{{#tag:ref
<ref name="{{Month Number|{{{1}}}}}-{{{2}}}-{{{3}}}">
|{{Journal ref text|{{{1}}}|{{{2}}}|{{{3}}}}}
[[Summary:{{Friendly Month|{{{1}}}}}_{{{3|}}}#{{Friendly Month|{{{1}}}}}_{{Friendly Day|{{{2}}}}}|{{Short Month|{{{1}}}}} {{{2|}}}, {{{3|}}}]]
|name={{Month Number|{{{1}}}}}-{{{2}}}-{{{3}}}
</ref>
}}</includeonly>

Latest revision as of 21:10, 8 January 2025

Creates a reference to one of Emma's journals and links the date

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Month1

The month (e.g., 1, January, Jan, 3, June, or Aug).

Stringrequired
Day2

The day of the month (e.g., 1 for the first, 15 for the fifteenth).

Stringrequired
Year3

The year (e.g., 1883).

Stringrequired