Template:Journal ref: Difference between revisions

The Emma M. Lion Wiki
Created page with "<noinclude> A citation for an Emma book. Links to day summaries. </noinclude> <ref name="{{Month Number|{{{month}}}}}-{{{day}}}-{{{year}}}"> [[Summary:{{Friendly Month|{{{month}}}}}_{{{year}}}#{{Friendly Month|{{{month}}}}}_{{Friendly Day|{{{day}}}}} | {{Short Month|{{{month}}}}} {{Friendly Day|{{{day}}}}}, {{{year}}} ]] </ref> <templatedata> { "description": "Formats a date in a reference.", "params": { "1": { "label": "Month",..."
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
A citation for an Emma book. Links to day summaries.
</noinclude>
<ref name="{{Month Number|{{{month}}}}}-{{{day}}}-{{{year}}}">
[[Summary:{{Friendly Month|{{{month}}}}}_{{{year}}}#{{Friendly Month|{{{month}}}}}_{{Friendly Day|{{{day}}}}}
| {{Short Month|{{{month}}}}} {{Friendly Day|{{{day}}}}}, {{{year}}} ]]
</ref>
<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 32: Line 25:
}
}
</templatedata>
</templatedata>
</noinclude><includeonly>{{#tag:ref
|{{Journal ref text|{{{1}}}|{{{2}}}|{{{3}}}}}
|name={{Month Number|{{{1}}}}}-{{{2}}}-{{{3}}}
}}</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