Template:Dash/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 13: Line 13:


; <code>d2</code>
; <code>d2</code>
: Second dash separator for bidirectional lists.
: Second separator for bidirectional lists.
 
''Note:'' If only two parameters are supplied, the second parameter will be used to determine the separator instead of the space. If three or four parameters are specified, the second will determine the space while the third (and fourth, if passed) will determine the separators.


==== Dual separators ====
==== Dual separators ====
This template currently supports up to two different separators. For the primary separator, separate items by <code>,</code> followed by one or more spaces. An additional separator can be invoked by separating items using two commas (<code>,,</code>) followed by one or more spaces.
This template currently has options for two different separators.
 
For the primary separator, separate items by <code>,</code> followed by one or more spaces (if no secondary separator is specified, any combination of commas and whitespaces that ends in one or more spaces will be treated as a single separator). An additional separator can be invoked by separating items using two commas (<code>,,</code>) followed by one or more spaces.


=== Usage ===
=== Usage ===