Difference between revisions of "Template:Refname rules"

From blackwiki
Jump to navigation Jump to search
test>Margin1522
(minor change in order. Logically, "quotes are required" should come before the type of quotes that are required.)
test>Margin1522
(Delete rule that (probably) used to be true, but isn't anymore. See Talk.)
Line 6: Line 6:
 
* Inclusion of any other characters, ''including spaces'', requires that the name be enclosed in quotes (<code>"</code>)
 
* Inclusion of any other characters, ''including spaces'', requires that the name be enclosed in quotes (<code>"</code>)
 
* 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.
* If a name is quoted when defined, it must also be quoted for additional invocations (i.e. <code>name="something"</code> is not the same as <code>name=something</code>).
 
 
* 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>){{#if: {{{2|}}}|
 
{{{2}}}}}
 
{{{2}}}}}

Revision as of 04:00, 29 November 2014

Template documentation[create]