Template:Nbsp separated entries/doc

From IxWiki
Jump to navigation Jump to search

This template is used to create a   (non-breaking space) delimited collection of items, only adding a non-breaking space where needed.

Usage

{{nbsp separated entries|entry1|entry2|entry3|entry4|entry5|...}}

Example

Code Result
{{nbsp separated entries|entry1|entry2|entry3}} entry1 entry2 entry3
{{nbsp separated entries| |entry2|entry3}} entry2 entry3
{{nbsp separated entries|entry1| |entry3}} entry1 entry3
{{nbsp separated entries|entry1|entry2| }} entry1 entry2
{{nbsp separated entries|entry1| | }} entry1
{{nbsp separated entries| |entry2| }} entry2
{{nbsp separated entries| | |entry3}} entry3
{{nbsp separated entries| | | }}
{{nbsp separated entries|entry1|entry2|entry3|entry4|entry5|entry6}} entry1 entry2 entry3 entry4 entry5 entry6

See also