Template:OL author/testcases
This is the template test cases page for the sandbox of Template:OL author. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
These test cases are intended to prove that by tweaking the template, it can be made to accept Open Library identifiers with or without the 'OL' prefix. Because Citation Style 1 citations and {{OL}}
don't support the 'OL' prefix, changing this template (and {{OL book}}
and {{OL work}}
) to use the identifier both with and without the 'OL' prefix will allow for a transition during which a robot might convert all existing transclusions of these templates to be 'OL'-less. Doing this will make the 'how' of using OL identifiers consistent across en.wikipedia.
{{OL_author/sandbox| OL1234A}} – with OL prefix – uses page title
Works by OL author/testcases at Open Library – with OL prefix – uses page title
{{OL_author/sandbox|1234A}} – without OL prefix – uses page title
Works by OL author/testcases at Open Library – without OL prefix – uses page title
{{OL_author/sandbox|1234M}} – with incorrect suffix – uses page title
Works by OL author/testcases at Open Library – with incorrect suffix – uses page title
{{OL_author/sandbox| OL1234A | Suniti Kumar Chatterji }} – uses supplied author name
Works by Suniti Kumar Chatterji at Open Library – uses supplied author name
{{OL_author/sandbox | id = OL1234A }} – uses page title
Works by OL author/testcases at Open Library – uses page title
{{OL_author/sandbox | id = OL1234A | cname = Suniti Kumar Chatterji }} – uses supplied author name
Works by Suniti Kumar Chatterji at Open Library – uses supplied author name