< 模板:Csv
[刷新]
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more informationSurrounds comma-separated values in a given tag.
- Parameters
1
: comma-separated values (escape actual commas using\,
)delimiter
(ord
): output delimiter (defaults to ",")tag
: the HTML tag to surround each value with (defaults to "code")
- Example
{{csv|lorem,ipsum,dolor,sit,amet|delimiter=-|tag=code}}
produces: lorem
-ipsum
-dolor
-sit
-amet