Template:Emma ref: Difference between revisions

From The Reed and Rite
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#tag:ref|
<includeonly>{{#tag:ref|
{{#if:{{{1|}}} | <!-- Check if day is provided -->
{{#if:{{{1|}}} | <!-- Check if book title is provided -->
   {{#if:{{{2|}}} | <!-- Check if month is provided -->
   {{#switch:{{lc:{{{1}}}}}
     {{#if:{{{3|}}} | <!-- Check if year is provided -->
    | emma1 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 1#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 1'', {{{2}}} {{{3}}}, {{{4}}}]]
      [[Summary:{{{4}}}#{{{1}}} {{{2}}} {{{3}}}|''{{{4}}}'', {{{1}}} {{{2}}} {{{3}}}]]
    | eml1 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 1#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 1'', {{{2}}} {{{3}}}, {{{4}}}]]
     | <span style="color:red">Error: Missing year</span>}}
    | e1 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 1#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 1'', {{{2}}} {{{3}}}, {{{4}}}]]
  | <span style="color:red">Error: Missing month</span>}}
    | v1 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 1#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 1'', {{{2}}} {{{3}}}, {{{4}}}]]
| <span style="color:red">Error: Missing day</span>}}
   
    | emma2 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 2#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 2'', {{{2}}} {{{3}}}, {{{4}}}]]
    | eml2 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 2#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 2'', {{{2}}} {{{3}}}, {{{4}}}]]
    | e2 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 2#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 2'', {{{2}}} {{{3}}}, {{{4}}}]]
    | v2 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 2#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 2'', {{{2}}} {{{3}}}, {{{4}}}]]
   
    | emma3 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 3#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 3'', {{{2}}} {{{3}}}, {{{4}}}]]
    | eml3 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 3#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 3'', {{{2}}} {{{3}}}, {{{4}}}]]
    | e3 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 3#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 3'', {{{2}}} {{{3}}}, {{{4}}}]]
    | v3 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 3#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 3'', {{{2}}} {{{3}}}, {{{4}}}]]
   
    | emma4 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 4#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 4'', {{{2}}} {{{3}}}, {{{4}}}]]
    | eml4 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 4#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 4'', {{{2}}} {{{3}}}, {{{4}}}]]
    | e4 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 4#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 4'', {{{2}}} {{{3}}}, {{{4}}}]]
     | v4 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 4#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 4'', {{{2}}} {{{3}}}, {{{4}}}]]
   
    | emma5 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 5#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 5'', {{{2}}} {{{3}}}, {{{4}}}]]
    | eml5 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 5#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 5'', {{{2}}} {{{3}}}, {{{4}}}]]
    | e5 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 5#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 5'', {{{2}}} {{{3}}}, {{{4}}}]]
    | v5 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 5#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 5'', {{{2}}} {{{3}}}, {{{4}}}]]
   
    | emma6 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 6#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 6'', {{{2}}} {{{3}}}, {{{4}}}]]
    | eml6 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 6#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 6'', {{{2}}} {{{3}}}, {{{4}}}]]
    | e6 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 6#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 6'', {{{2}}} {{{3}}}, {{{4}}}]]
     | v6 = [[Summary:The Unselected Journals of Emma M. Lion: Volume 6#{{{2}}} {{{3}}}, {{{4}}}|''The Unselected Journals of Emma M. Lion: Volume 6'', {{{2}}} {{{3}}}, {{{4}}}]]
   
    | {{#ifexpr: {{{4}}} >= 1 and {{{4}}} <= 31
        | [[Summary:{{{1}}}#{{{2}}} {{{3}}}, {{{4}}}|''{{{1}}}'', {{{2}}} {{{3}}}, {{{4}}}]]
        | <span style="color:red">Error: Invalid date</span>
      }}
  }}
| <span style="color:red">Error: Missing book title</span>}}
| name={{{name|{{{1}}}-{{{2}}}-{{{3}}}-{{{4}}}}}}
| group={{{group|}}}
}}</includeonly>
}}</includeonly>
Test

Revision as of 23:19, 18 February 2025


Test