Template:Nbsp separated entries/doc: Difference between revisions
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 is a documentation subpage for Template:Nbsp separated entries. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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
- {{comma separated entries}}
- {{br separated entries}}
- {{space separated entries}}
- {{flatlist}}