Template:Comma separated entries/doc

From SlyMods
Jump to navigation Jump to search

This template is used primarily in infoboxes to create a comma delimited collection of items, only adding the commas where needed.

For lists of items, without bullets, use {{plainlist}}.

Usage[edit source]

Typing:

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

Results in:

entry1, entry2, entry3, entry4, entry5, ...

Example[edit source]

Code Result
{{comma separated entries|entry1|entry2|entry3|entry4}} entry1, entry2, entry3, entry4
{{comma separated entries| |entry2|entry3|entry4}} entry2, entry3, entry4
{{comma separated entries|entry1| |entry3|entry4}} entry1, entry3, entry4
{{comma separated entries|entry1|entry2| |entry4}} entry1, entry2, entry4
{{comma separated entries|entry1|entry2|entry3| }} entry1, entry2, entry3
{{comma separated entries|entry1| | | }} entry1
{{comma separated entries| |entry2| | }} entry2
{{comma separated entries| | |entry3| }} entry3
{{comma separated entries| | | |entry4}} entry4
{{comma separated entries| | | | }}
{{comma separated entries|entry1|entry2|entry3|entry4|entry5|entry6}} entry1, entry2, entry3, entry4, entry5, entry6
https://slymods.info/wiki/Template:Comma_separated_entries/doc
slymods.info
CC-MAIN-2023-40
35539
application/http; msgtype=response
sha1:AYKXVL6EVRVSQG5FGJZ7XV4PZW7SC3RQ
<urn:uuid:aae514e8-5c6e-4976-b04c-ba5d7417c607>
2023-09-23T18:30:29Z
51.222.12.133
text/html
sha1:BNDGAXBFUBPDB33BZXEYFF6TTOABAKJI
<urn:uuid:a952b2fd-6814-4ded-bdc8-644472302dd7>
https://slymods.info/wiki/Template:Comma_separated_entries/doc
response
<urn:uuid:0a24bfad-bc06-4043-bf29-f0303c47c2db>
isPartOf: CC-MAIN-2023-40
publisher: Common Crawl
description: Wide crawl of the web for September/October 2023
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-129
software: Apache Nutch 1.19 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/