Difference between revisions of "User:Alec/BookTemplate/LabBook"
From Maths
< User:Alec | BookTemplate
(Created page with "# Tried to create a reference template with an if statement for the name attribute (so as to create an anonymous reference when there is a note provided) however it wasn't int...") |
m |
||
Line 1: | Line 1: | ||
# Tried to create a reference template with an if statement for the name attribute (so as to create an anonymous reference when there is a note provided) however it wasn't interpreted as XML with a {{C|>}} - created [[User:Alec/BookTemplate/EvalTemplate]] to see if that'll help. This template evaluates to whatever it is given. | # Tried to create a reference template with an if statement for the name attribute (so as to create an anonymous reference when there is a note provided) however it wasn't interpreted as XML with a {{C|>}} - created [[User:Alec/BookTemplate/EvalTemplate]] to see if that'll help. This template evaluates to whatever it is given. | ||
+ | # Discovered it was a missing space between {{C|<nowiki><ref</nowiki>}} and {{C|<nowiki>{{#if:</nowiki>}} that caused the problem. ''EvalTemplate can be removed'' |
Revision as of 13:39, 30 July 2016
- Tried to create a reference template with an if statement for the name attribute (so as to create an anonymous reference when there is a note provided) however it wasn't interpreted as XML with a > - created User:Alec/BookTemplate/EvalTemplate to see if that'll help. This template evaluates to whatever it is given.
- Discovered it was a missing space between <ref and {{#if: that caused the problem. EvalTemplate can be removed