Template:Nbsp separated entries/doc: Difference between revisions

From IxWiki
Jump to navigation Jump to search
mp>Vanisaac
m →‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other and <includeonly>
 
m 1 revision imported
 
(No difference)

Latest revision as of 20:00, 31 August 2021

This template is used to create a &nbsp; (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