Template:Space separated entries/doc

From IxWiki
Jump to navigation Jump to search

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

Usage

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

Example

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

See also