Module:Params/doc/examples/Oxford comma/doc: Difference between revisions
From Kenshi Wiki
More actions
Created page with "This example template shows to manage the “and” conjunction and possibly the Oxford comma in lists in which more than two parameters are provided. == Usage == For instance, writing <syntaxhighlight lang="wikitext">{{module:params/doc/examples/Oxford comma|Latin|English|German|Italian}}</syntaxhighlight> will generate {{module:params/doc/examples/Oxford comma|Latin|English|German|Italian}} while writing <syntaxhighlight lang="wikitext">{{module:..." |
No edit summary |
||
| Line 28: | Line 28: | ||
[[Category:Module documents]] | [[Category:Module documents]] | ||
[[Category:Module misc documents]] | [[Category:Module misc documents]] | ||
</noinclude> | </noinclude> | ||
Revision as of 06:40, 9 March 2025
This example template shows to manage the “and” conjunction and possibly the Oxford comma in lists in which more than two parameters are provided.
Usage
For instance, writing
{{module:params/doc/examples/Oxford comma|Latin|English|German|Italian}}will generate
while writing
{{module:params/doc/examples/Oxford comma|German|Italian}}will generate
(without comma)