Template talk:FHL: Difference between revisions

problem solved thanks to your suggestion
(Reply)
(problem solved thanks to your suggestion)
Line 253: Line 253:
::I went back to the troublesome Template:FHL spot and like you found nothing unusual in regular text. When I clicked the edit button it still looked normal. <br>
::I went back to the troublesome Template:FHL spot and like you found nothing unusual in regular text. When I clicked the edit button it still looked normal. <br>


::But when I switched to WikiText it changed to this: '''[{{FHL&amp;amp;amp;#124;974 D22g}}]'''. When I clicked Save page the new normal text display was changed to '''[{{FHL|974 D22g}}]'''. The curly brackets and pipe were now visible where they should not be. <br>
::But when I switched to WikiText it changed to this: '''[{{FHL&amp;amp;amp;amp;amp;#124;974 D22g}}]'''. When I clicked Save page the new normal text display was changed to '''[{{FHL|974 D22g}}]'''. The curly brackets and pipe were now visible where they should not be. <br>


::When I went back to edit mode and switched into WikiText the template had transformed into '''[{{FHL&amp;amp;amp;amp;#124;974 D22g}}]'''. So we have the return of the multiplying ampersand. [[User:DiltsGD|DiltsGD]] 14:48, 31 August 2010 (UTC)  
::When I went back to edit mode and switched into WikiText the template had transformed into '''[{{FHL&amp;amp;amp;amp;amp;amp;#124;974 D22g}}]'''. So we have the return of the multiplying ampersand. [[User:DiltsGD|DiltsGD]] 14:48, 31 August 2010 (UTC)  
:::Definitely would be the editor as suspected. I am not so sure that it has ever been fixed. Out of curiosity, why do you put the template inside of the square brackets? The template creates the link. I am wondering if the square brackets is causing the editor to think that a pipe needs to encoded. Why not just do a <nowiki>{{FHL|974 D22g}}</nowiki> which generates {{FHL|974 D22g}}? Want to try it? [[User:Thomas Lerman|Thomas_Lerman]] 15:00, 31 August 2010 (UTC)
:::Definitely would be the editor as suspected. I am not so sure that it has ever been fixed. Out of curiosity, why do you put the template inside of the square brackets? The template creates the link. I am wondering if the square brackets is causing the editor to think that a pipe needs to encoded. Why not just do a <nowiki>{{FHL|974 D22g}}</nowiki> which generates {{FHL|974 D22g}}? Want to try it? [[User:Thomas Lerman|Thomas_Lerman]] 15:00, 31 August 2010 (UTC)


::::My square brackets are just punctuation. I was taught to put brackets around call numbers in a citation situation. [[User:DiltsGD|DiltsGD]] 15:08, 31 August 2010 (UTC)
::::My square brackets are just punctuation. I was taught to put brackets around call numbers in a citation situation. [[User:DiltsGD|DiltsGD]] 15:08, 31 August 2010 (UTC)  
:::::Understood, but the Wiki interprets square brackets as something else and is likely causing the problems for you. As I recall, the format of the display was discussed in a meeting and the FHL template was generated based upon that. Maybe it should be discussed again, not really sure. [[User:Thomas_Lerman|Thomas_Lerman]] 15:27, 31 August 2010 (UTC)
:::::Understood, but the Wiki interprets square brackets as something else and is likely causing the problems for you. As I recall, the format of the display was discussed in a meeting and the FHL template was generated based upon that. Maybe it should be discussed again, not really sure. [[User:Thomas Lerman|Thomas_Lerman]] 15:27, 31 August 2010 (UTC)
 
::::::I changed the square brackets to parenthesis and the whole problem went away. No more multiplying ampersands, and a normal call number display were the result. Thank you very much! [[User:DiltsGD|DiltsGD]] 18:10, 31 August 2010 (UTC)
73,385

edits