Template:Test/C: Difference between revisions
mNo edit summary Tag: Reverted |
mNo edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{infobox|}}} | <includeonly>{{#if:{{{infobox|}}}<!-- | ||
| {{#if:{{{1|}}} | -->| {{#if:{{{1|}}}<!-- | ||
| {{#switch:{{lc:{{{2}}}}} | -->| {{#switch:{{lc:{{{2}}}}}<!-- | ||
| prologue = [[Summary:{{B|{{{1}}}}}#Prologue|''{{B|{{{1}}}}}'', Prologue]] | -->| prologue = [[Summary:{{B|{{{1}}}}}#Prologue|''{{B|{{{1}}}}}'', Prologue]]<!-- | ||
| epilogue = [[Summary:{{B|{{{1}}}}}#Epilogue|''{{B|{{{1}}}}}'', Epilogue]] | -->| epilogue = [[Summary:{{B|{{{1}}}}}#Epilogue|''{{B|{{{1}}}}}'', Epilogue]]<!-- | ||
| {{#ifexpr: {{{2}}} > 0 and {{{2}}} <= 75 | -->| {{#ifexpr: {{{2}}} > 0 and {{{2}}} <= 75<!-- | ||
| [[Summary:{{B|{{{1}}}}}#Chapter_{{{2}}}|''{{B|{{{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|}}} | -->{{#if:{{{1|}}}<!-- | ||
| {{#switch:{{lc:{{{2}}}}} | -->| {{#switch:{{lc:{{{2}}}}}<!-- | ||
| prologue = [[Summary:{{B|{{{1}}}}}#Prologue|''{{B|{{{1}}}}}'', Prologue]] | -->| prologue = [[Summary:{{B|{{{1}}}}}#Prologue|''{{B|{{{1}}}}}'', Prologue]]<!-- | ||
| epilogue = [[Summary:{{B|{{{1}}}}}#Epilogue|''{{B|{{{1}}}}}'', Epilogue]] | -->| epilogue = [[Summary:{{B|{{{1}}}}}#Epilogue|''{{B|{{{1}}}}}'', Epilogue]]<!-- | ||
| {{#ifexpr: {{{2}}} > 0 and {{{2}}} <= 75 | -->| {{#ifexpr: {{{2}}} > 0 and {{{2}}} <= 75<!-- | ||
| [[Summary:{{B|{{{1}}}}}#Chapter_{{{2}}}|''{{B|{{{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={{#switch:{{lc:{{{2}}}}} | -->| name={{#switch:{{lc:{{{2}}}}}<!-- | ||
| prologue = {{B|{{{1}}}}}#Prologue | -->| prologue = {{B|{{{1}}}}}#Prologue<!-- | ||
| epilogue = {{B|{{{1}}}}}#Epilogue | -->| epilogue = {{B|{{{1}}}}}#Epilogue<!-- | ||
| {{B|{{{1}}}}}#Chapter {{{2}}} | -->| {{B|{{{1}}}}}#Chapter {{{2}}}<!-- | ||
}} | -->}}<!-- | ||
| group={{{group|}}} | -->| group={{{group|}}}<!-- | ||
}} | -->}}<!-- | ||
}}</includeonly><noinclude> | -->}}</includeonly><noinclude> | ||
{{claim|user=TheRoman|date=May 2025}} | {{claim|user=TheRoman|date=May 2025}} | ||
== Description == | == Description == | ||
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| | Test{{test/C|qg|prologue|infobox=yes}} | ||
Test{{test/C|q|25}} | Test{{test/C|q|25}} | ||
Revision as of 01:59, 12 May 2025
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, Prologue
Test[1]