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
Line 1: Line 1:
<noinclude>
<noinclude>
A citation for an Emma book. Links to day summaries.  
A citation for an Emma book. Links to day summaries.
</noinclude>
</noinclude>
<ref name="{{Month Number|{{{month}}}}}-{{{day}}}-{{{year}}}">
[[Summary:{{Friendly Month|{{{month}}}}}_{{{year}}}#{{{month}}}_{{Friendly Day|{{{day}}}}}|{{Short Month|{{{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": "Formats a date in a reference.",
     "params": {
     "params": {
         "1": {
         "month": {
             "label": "Month",
             "label": "Month",
             "description": "The month (e.g., 1, January, Jan, 3, June, or Aug).",
             "description": "The month (e.g., 1, January, Jan, 3, June, or Aug).",
Line 17: Line 13:
             "required": true
             "required": true
         },
         },
         "2": {
         "day": {
             "label": "Day",
             "label": "Day",
             "description": "The day of the month (e.g., 1 for the first, 15 for the fifteenth).",
             "description": "The day of the month (e.g., 1 for the first, 15 for the fifteenth).",
Line 23: Line 19:
             "required": true
             "required": true
         },
         },
         "3": {
         "year": {
             "label": "Year",
             "label": "Year",
             "description": "The year (e.g., 1883).",
             "description": "The year (e.g., 1883).",

Revision as of 19:00, 8 January 2025

A citation for an Emma book. Links to day summaries.

[[Summary:_{{{year}}}#{{{month}}}_|

{{{day}}}, {{{year}}}]]

Formats a date in a reference.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Monthmonth

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

Stringrequired
Dayday

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

Stringrequired
Yearyear

The year (e.g., 1883).

Stringrequired