Template:Cite Notitia Parliamentaria: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Swap out nested string functions
because of a coding mistake, invoking String.replace() with the "plain" parameter *present but empty* sets the plain mode to false, whereas the expected default is true; thus, let's explicitly set the expected mode here, in case the module gets fixed
 
Line 32: Line 32:
-->
-->
|page={{#if:{{{page|}}} | {{#switch: {{{part}}}
|page={{#if:{{{page|}}} | {{#switch: {{{part}}}
| 1 | I = [https://books.google.com/books?id{{=}}5V09AAAAYAAJ&pg{{=}}PA{{Str number/trim|{{{page}}} }}#v=onepage&q&f=false {{Str number/trim|{{{page}}}}}]{{#invoke:string|replace|{{{page}}}|^[0-9]*|plain=}}
| 1 | I = [https://books.google.com/books?id{{=}}5V09AAAAYAAJ&pg{{=}}PA{{Str number/trim|{{{page}}} }}#v=onepage&q&f=false {{Str number/trim|{{{page}}}}}]{{#invoke:string|replace|{{{page}}}|^[0-9]*|plain=false}}
| 2 | II = [https://books.google.com/books?id{{=}}5V09AAAAYAAJ&pg{{=}}RA1-PA{{Str number/trim|{{{page}}} }}#v=onepage&q&f=false {{Str number/trim|{{{page}}}}}]{{#invoke:string|replace|{{{page}}}|^[0-9]*|plain=}}
| 2 | II = [https://books.google.com/books?id{{=}}5V09AAAAYAAJ&pg{{=}}RA1-PA{{Str number/trim|{{{page}}} }}#v=onepage&q&f=false {{Str number/trim|{{{page}}}}}]{{#invoke:string|replace|{{{page}}}|^[0-9]*|plain=false}}
| {{{page}}}
| {{{page}}}
}} }}
}} }}
Line 47: Line 47:


|pages={{#if:{{{pages|}}} | {{#switch: {{{part}}}
|pages={{#if:{{{pages|}}} | {{#switch: {{{part}}}
| 1 | I = [https://books.google.com/books?id{{=}}5V09AAAAYAAJ&pg{{=}}PA{{Str number/trim|{{{pages}}} }}#v{{=}}onepage&q&f{{=}}false {{Str number/trim|{{{pages}}}}}]{{#invoke:string|replace|{{{pages}}}|^[0-9]*|plain=}}
| 1 | I = [https://books.google.com/books?id{{=}}5V09AAAAYAAJ&pg{{=}}PA{{Str number/trim|{{{pages}}} }}#v{{=}}onepage&q&f{{=}}false {{Str number/trim|{{{pages}}}}}]{{#invoke:string|replace|{{{pages}}}|^[0-9]*|plain=false}}
| 2 | II = [https://books.google.com/books?id{{=}}5V09AAAAYAAJ&pg{{=}}RA1-PA{{Str number/trim|{{{pages}}} }}#v{{=}}onepage&q&f{{=}}false {{Str number/trim|{{{pages}}}}}]{{#invoke:string|replace|{{{pages}}}|^[0-9]*|plain=}}
| 2 | II = [https://books.google.com/books?id{{=}}5V09AAAAYAAJ&pg{{=}}RA1-PA{{Str number/trim|{{{pages}}} }}#v{{=}}onepage&q&f{{=}}false {{Str number/trim|{{{pages}}}}}]{{#invoke:string|replace|{{{pages}}}|^[0-9]*|plain=false}}
| {{{pages}}}
| {{{pages}}}
}} }}
}} }}

Latest revision as of 14:51, 22 November 2022

Willis, Browne (1750). Notitia Parliamentaria, Containing an Account of the First Returns and Incorporations of the Cities, Towns and Broughs, in England and Wales, That send Members to Parliament; ... [and] A Series or Lists of the Representatives in the several Parliaments held from the Reformation 1541, to the Restoration 1660 ... London.