Last modified: 2012-05-02 13:30:12 UTC
Template- http://en.wikisource.org/wiki/Template:Statute_chapter_link Test - http://en.wikisource.org/wiki/User:Sfan00_IMG/Sandbox What should be happening is that along with the link, an appropriate reference should be generated. This is not happening in the example given. The code used inside the [[ ]] tags and the <ref></ref> pair is simmilar. The first instance inside ([[ ]]) works as intended. The second instance inside the <ref></ref> tags fails, (in that it's seemingly not reading the params supplied). This seems nonsensical as it should be possible to generate <ref></ref> pairs dynamically.
The problem occurs if a parameter is nested within refs. ie: <ref>{{{parameter}}}</ref> Actual links or templates can be passed into refs but not parameters.
(In reply to comment #0) > Template- > http://en.wikisource.org/wiki/Template:Statute_chapter_link > I have mangled your template a bit. Use {{#tag:ref|}} construct instead of <ref></ref>. https://en.wikisource.org/w/index.php?diff=3839315&oldid=3839263