-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix citations to use citation-wpoa template #40
Comments
Wherever possible, when necessary to override and use different parameter names than those used in Citation/core, we should look first at Cite_journal, and see if those parameters make sense, and then copy-paste the code from there. |
Example article:
Problems:
|
Problem: |
@wrought can you try to help getting the years to show up in the HTML? Somehow, the core template swallows it. |
i made a fall-back on to using the {{{section}}} parameter in the mean-time to workaround the single quote artefact. |
@notconfusing that was in the header template, whereas this thread is about the citation templates. |
@Daniel-Mietchen and @notconfusing and I got started on this.
In the XSLT, I've changed the template that's invoked from "citation" to "citation-wpoa".
We'll create this new Template:Citation-wpoa, and it will basically be a proxy for Template:Citation/core.
Next, I'm changing the parameter names and some of the logic in the XSLT to match the parameters used by Citation/core.
For testing, you can use these sandbox copies of the templates:
The text was updated successfully, but these errors were encountered: