Difference between revisions of "Template:Refname rules"

From blackwiki
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> ! $ % & ( ) * , - . : ; < @ [ ] ^ _ ` { | } ~ </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>.

Revision as of 15:37, 16 September 2016

Template documentation[create]