Template:OL author/testcases

Source: Wikipedia, the free encyclopedia.

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