Template:Quotation templates see also and Template:Comma separated entries: Difference between pages

From Polyphasic Sleep Wiki
(Difference between pages)
MediaWiki>Pppery
Rm nonexistent
 
Switch to using Module:Separated entries
 
Line 1: Line 1:
Similar templates comparison:
{{<includeonly>safesubst:</includeonly>#invoke:Separated entries|comma}}<noinclude>
 
{{documentation}}
* [[Template:Quote]] – quote without border, page-wide, smaller-sized attribution
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
* [[Template:Quotation]] – quote with border, page-wide
* [[Template:Cquote]] – pull-quote between graphic quotation marks, page-wide
* [[:Category:Quotation templates]] – more templates<!--
--><noinclude>
==Usage==
 
This template can be added in the "See also" section of the main templates of [[:Category: Quotation templates]]. There are no parameters:
 
<PRE>
==See also==
 
{{Quotation templates see also}}
</PRE>
 
The section can provide more information, preferably in the same format with intro, such as:
 
<PRE>
==See also==
 
Direct variants:
 
* [[Template:SameName2]] – identical but with italic text
* [[Template:SameName3]] – identical but with bold text
 
{{Quotation templates see also}}
 
Useful related templates:
 
* [[Template:Smaller-begin]] – header for smaller font
* [[Template:Smaller-end]] – footer for smaller font
</PRE>
 
[[Category:Quotation templates| <!--SPACE-->]]
 
</noinclude>
</noinclude>

Revision as of 18:05, 26 May 2015

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

Typing:

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

Results in:

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

Example

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

See also