Template:Test/C: Difference between revisions

From The Reed and Rite
mNo edit summary
Tag: Reverted
mNo edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly>{{#if:{{{infobox|}}} | {{#if:{{{1|}}} | {{#switch:{{lc:{{{1}}}}}
<includeonly>{{#if:{{{infobox|}}}
   | beast | tbot | bot | b10 = [[Summary:The Beast of Ten#Chapter {{{2}}}|''The Beast of Ten'', Chapter {{{2}}}]]
| {{#if:{{{1|}}}
  | tqg | qg | i1 | imirillia1 = [[Summary:The Queen's Gambit#Chapter {{{2}}}|''The Queen's Gambit'', Chapter {{{2}}}]]
  | {{#switch:{{lc:{{{2}}}}}
   | trp | rp | i2 | imirillia2 = [[Summary:The Ruby Prince#Chapter {{{2}}}|''The Ruby Prince'', Chapter {{{2}}}]]
   | prologue = [[Summary:{{B|{{{1}}}}}#Prologue|''{{B|{{{1}}}}}'', Prologue]]
  | twm | wm | i3 | imirillia3 = [[Summary:The Wanderer's Mark#Chapter {{{2}}}|''The Wanderer's Mark'', Chapter {{{2}}}]]
   | epilogue = [[Summary:{{B|{{{1}}}}}#Epilogue|''{{B|{{{1}}}}}'', Epilogue]]
  | tq | q = [[Summary:The Q#Chapter {{{2}}}|''The Q'', Chapter {{{2}}}]]
   | {{#ifexpr: {{{2}}} > 0 and {{{2}}} <= 75
   | {{#ifexpr: {{{2}}} > 0 and {{{2}}} <= 75
      | [[Summary:{{{1}}}#Chapter_{{{2}}}|''{{{1}}}'', Chapter {{{2}}}]]
    | [[Summary:{{B|{{{1}}}}}#Chapter_{{{2}}}|''{{B|{{{1}}}}}'', Chapter {{{2}}}]]
      | <span style="color:red">Error: Chapter exceeds 75</span>
    | <span style="color:red">Error: Chapter exceeds 75</span>
    }}
  }}
   }}
   }}
| <span style="color:red">Error: Missing book title</span>}}
  | <span style="color:red">Error: Missing book title</span>
}}
  | {{#tag:ref|
  | {{#tag:ref|
   {{#if:{{{1|}}} | {{#switch:{{lc:{{{1}}}}}
   {{#if:{{{1|}}}
     | beast | tbot | bot | b10 = [[Summary:The Beast of Ten#Chapter {{{2}}}|''The Beast of Ten'', Chapter {{{2}}}]]
  | {{#switch:{{lc:{{{2}}}}}
    | tqg | qg | i1 | imirillia1 = [[Summary:The Queen's Gambit#Chapter {{{2}}}|''The Queen's Gambit'', Chapter {{{2}}}]]
     | prologue = [[Summary:{{B|{{{1}}}}}#Prologue|''{{B|{{{1}}}}}'', Prologue]]
     | trp | rp | i2 | imirillia2 = [[Summary:The Ruby Prince#Chapter {{{2}}}|''The Ruby Prince'', Chapter {{{2}}}]]
     | epilogue = [[Summary:{{B|{{{1}}}}}#Epilogue|''{{B|{{{1}}}}}'', Epilogue]]
    | twm | wm | i3 | imirillia3 = [[Summary:The Wanderer's Mark#Chapter {{{2}}}|''The Wanderer's Mark'', Chapter {{{2}}}]]
    | tq | q = [[Summary:The Q#Chapter {{{2}}}|''The Q'', Chapter {{{2}}}]]
     | {{#ifexpr: {{{2}}} > 0 and {{{2}}} <= 75
     | {{#ifexpr: {{{2}}} > 0 and {{{2}}} <= 75
        | [[Summary:{{{1}}}#Chapter_{{{2}}}|''{{{1}}}'', Chapter {{{2}}}]]
    | [[Summary:{{B|{{{1}}}}}#Chapter_{{{2}}}|''{{B|{{{1}}}}}'', Chapter {{{2}}}]]
        | <span style="color:red">Error: Chapter exceeds 75</span>
    | <span style="color:red">Error: Chapter exceeds 75</span>
      }}
    }}
   }}
   }}
  | <span style="color:red">Error: Missing book title</span>}}
  | <span style="color:red">Error: Missing book title</span>
   | name={{{name|{{{1}}}-{{{2}}}}}}
  }}
   | name={{#switch:{{lc:{{{2}}}}}
  | prologue = {{B|{{{1}}}}}#Prologue
  | epilogue = {{B|{{{1}}}}}#Epilogue
  | {{B|{{{1}}}}}#Chapter {{{2}}}
  }}
   | group={{{group|}}}
   | group={{{group|}}}
  }}
  }}
Line 32: Line 35:
Testing out updates to {{t|Book ref}} to simplify the logic by standardizing the way chapter headings are parsed through the use of hidden chapter headings when chapter format breaks the standard format of "Chapter 1", "Chapter 2", etc.
Testing out updates to {{t|Book ref}} to simplify the logic by standardizing the way chapter headings are parsed through the use of hidden chapter headings when chapter format breaks the standard format of "Chapter 1", "Chapter 2", etc.


Test{{test/C|q|3|infobox=yes}}
Test{{test/C|qg|3|infobox=yes}}


Test{{test/C|q|3}}
Test{{test/C|q|3}}

Revision as of 22:00, 11 May 2025


×
This page or section was claimed by TheRoman in May 2025.
Please collaborate with them before making changes.

Description

Testing out updates to {{Book ref}} to simplify the logic by standardizing the way chapter headings are parsed through the use of hidden chapter headings when chapter format breaks the standard format of "Chapter 1", "Chapter 2", etc.

TestThe Queen's Gambit, Chapter 3

Test[1]