Template:Test/C: Difference between revisions

From The Reed and Rite
mNo edit summary
Tag: Reverted
m Replaced content with "<includeonly> INSERT YOUR TEMPLATE CODE HERE </includeonly><noinclude> == Description == This page is for testing out new templates or for making alterations to live templates without damaging them. If you'd like to use this page, please claim it."
Tags: Replaced Manual revert
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{infobox|}}}
<includeonly>
| {{#if:{{{1|}}}
INSERT YOUR TEMPLATE CODE HERE
  | {{#switch:{{lc:{{{2}}}}}
</includeonly><noinclude>
  | prologue = [[Summary:{{B|{{{1}}}}}#Prologue|''{{B|{{{1}}}}}'', Prologue]]
  | epilogue = [[Summary:{{B|{{{1}}}}}#Epilogue|''{{B|{{{1}}}}}'', Epilogue]]
  | {{#ifexpr: {{{2}}} > 0 and {{{2}}} <= 75
    | [[Summary:{{B|{{{1}}}}}#Chapter_{{{2}}}|''{{B|{{{1}}}}}'', Chapter {{{2}}}]]
    | <span style="color:red">Error: Chapter exceeds 75</span>
  }}
  }}
  | <span style="color:red">Error: Missing book title</span>
}}
| {{#tag:ref|
  {{#if:{{{1|}}}
  | {{#switch:{{lc:{{{2}}}}}
    | prologue = [[Summary:{{B|{{{1}}}}}#Prologue|''{{B|{{{1}}}}}'', Prologue]]
    | epilogue = [[Summary:{{B|{{{1}}}}}#Epilogue|''{{B|{{{1}}}}}'', Epilogue]]
    | {{#ifexpr: {{{2}}} > 0 and {{{2}}} <= 75
    | [[Summary:{{B|{{{1}}}}}#Chapter_{{{2}}}|''{{B|{{{1}}}}}'', Chapter {{{2}}}]]
    | <span style="color:red">Error: Chapter exceeds 75</span>
    }}
  }}
  | <span style="color:red">Error: Missing book title</span>
  }}
  | name={{#switch:{{lc:{{{2}}}}}
  | prologue = {{B|{{{1}}}}}#Prologue
  | epilogue = {{B|{{{1}}}}}#Epilogue
  | {{B|{{{1}}}}}#Chapter {{{2}}}
  }}
  | group={{{group|}}}
}}
}}</includeonly><noinclude>
{{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.
This page is for testing out new templates or for making alterations to live templates without damaging them. If you'd like to use this page, please [[:Template:Test#Usage|claim it]].
 
Test{{test/C|bot|epilogue|infobox=yes}}
 
Test{{test/C|q|25}}

Latest revision as of 02:25, 21 May 2025

Description[edit]

This page is for testing out new templates or for making alterations to live templates without damaging them. If you'd like to use this page, please claim it.