Module:Params/doc/examples/Oxford comma: Difference between revisions
From Kenshi Wiki
More actions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
|{{Error|{{tl|Foobar see also}} requires at least one page name}} | |{{Error|{{tl|Foobar see also}} requires at least one page name}} | ||
}}}}</includeonly><noinclude>{{Documentation|heading=[[File:Test Template Info-Icon - Version (2).svg|50px|alt=|link=]] Template documentation}} | }}}}</includeonly><noinclude>{{Documentation|heading=[[File:Test Template Info-Icon - Version (2).svg|50px|alt=|link=]] Template documentation}} | ||
[[Category:Module | [[Category:Module data pages]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 23:55, 14 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)