Difference between revisions of "Template:Refname rules"
Jump to navigation
Jump to search
(Explicitly list forbidden characters, for clarity.) |
test>Cic m (Formatting fix) |
||
Line 3: | Line 3: | ||
* Names may not be purely numeric | * Names may not be purely numeric | ||
* Names must be unique—you may not use the same name to define different groups or footnotes | * Names must be unique—you may not use the same name to define different groups or footnotes | ||
− | * Quotation marks are optional if the only characters used are letters <code>A–Z</code>, <code>a–z</code>, digits <code>0–9</code>, and the symbols <code> ! $ % & ( ) * , - . : ; < @ [ ] ^ _ ` { | } ~ | + | * Quotation marks are optional if the only characters used are letters <code>A–Z</code>, <code>a–z</code>, digits <code>0–9</code>, and the symbols <code>! $ % & ( ) * , - . : ; < @ [ ] ^ _ ` { | } ~</code>. |
** The forbidden printable ASCII characters are <code> # " ' / = > ? \ </code>. | ** The forbidden printable ASCII characters are <code> # " ' / = > ? \ </code>. | ||
* Inclusion of any other characters, {{em|including spaces}}, requires that the reference name be enclosed in quotes: <code>name="<var>John Smith</var>"</code>. | * Inclusion of any other characters, {{em|including spaces}}, requires that the reference name be enclosed in quotes: <code>name="<var>John Smith</var>"</code>. |