الگو:Nbsp separated entries/doc: تفاوت میان نسخه‌ها

از ویکی‌وحدت
fa>Wikivahdat
جز (←‏See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other and <includeonly>)
 
جز (۱ نسخه واردشده)
 
(بدون تفاوت)

نسخهٔ کنونی تا ‏۲۱ نوامبر ۲۰۲۲، ساعت ۰۷:۳۴

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