Template talk:Cite BAILII
From Wikipedia, the free encyclopedia
I want to include functionality in this template so that the link can go to specific paragraph in a judgment, but can't get this to work properly. Please help!
The way to link to a specific paragraph in a judgment is to add #[paragragh number] after the link. In trying to do this within the template, Wikipedia appears to be recognising the # symbol as an indication to start a new numbered list. Why is this? How can it be avoided? I've already tried replacing the # with an ASCII %23, but that doesn't seem to work.
I've done a dirty fix where the main link doesn't include the "l" of the "html", which doesn't stop the link working. Then, when there's a paragraph being linked to, the extra bit added to the link is l#[paragraph number]. Although this works, it's not very pleasant! Any other suggestions? GDallimore (Talk) 14:46, 8 March 2007 (UTC)
- Bug now fixed properly with conditional ifs. GDallimore (Talk) 10:37, 12 March 2008 (UTC)
[edit] Tool for doing it automatically
I wonder if it is possible to create some sort of (Javascript?) tool, to create the necessary citation script from a URL? ElectricLemon (talk) 19:06, 2 January 2008 (UTC)
[edit] Change to formatting
Why is the citation now placed in brackets? This is not conventional. I appreciate that the division should be placed after the number for Divisional Court references, but it should be placed before the number for Court of Appeal references. Since there will be probably more references to CA than DC judgments, might I suggest we revert to the old order unless someone can write some code to distinguish between CA and DC divisions. ElectricLemon (talk) 12:33, 19 February 2008 (UTC)
- I've removed the brackets as suggested. I think the order currently presented is consistent with the "media neutral citation style" mentioned at the link you provide, so don't think that needs (or should be) changed unless I've misread it. GDallimore (Talk) 15:55, 21 February 2008 (UTC)