Difference between revisions of "Template:Refname rules"

From blackwiki
Jump to navigation Jump to search
test>SMcCandlish
(Use the quotes - you have no idea what later editors will do or understand.)
test>SMcCandlish
(HTML escape codes)
Line 6: Line 6:
 
* Inclusion of any other characters, {{em|including spaces}}, requires that the name be enclosed in quotes: <code>name="<var>refname</var>"</code> (since not all later editors will know of this technical restriction, it is safest to always quote the name).
 
* Inclusion of any other characters, {{em|including spaces}}, requires that the name be enclosed in quotes: <code>name="<var>refname</var>"</code> (since not all later editors will know of this technical restriction, it is safest to always quote the name).
 
* The quote marks must be the standard straight keyboard marks (<code>"</code>); curly or other quotes will be parsed as part of the reference name.
 
* The quote marks must be the standard straight keyboard marks (<code>"</code>); curly or other quotes will be parsed as part of the reference name.
* Quote-enclosed names may not include a less-than sign (<code><</code>) or a double straight quote symbol (<code>"</code>){{#if: {{{2|}}}|
+
* Quote-enclosed names may not include a less-than sign (<code><</code>) or a double straight quote symbol (<code>"</code>). These may be escaped with <code>&amp;lt;</code> and <code>&amp;quot;</code>, respectively.{{#if: {{{2|}}}|
 
{{{2}}}}}
 
{{{2}}}}}
 
* Please consider keeping names simple and restricted to the standard [[English alphabet]] and numerals.
 
* Please consider keeping names simple and restricted to the standard [[English alphabet]] and numerals.

Revision as of 01:57, 16 June 2015

Template documentation[create]