Difference between revisions of "Template:CS2 wrapper/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
imported>Andrybak
(|nocat=yes for Template:cs2 wrapper)
Line 21: Line 21:
 
'''Meta-template based on cite web:'''
 
'''Meta-template based on cite web:'''
 
<pre>{{cs2 wrapper |type=meta |base=Cite web}}</pre>
 
<pre>{{cs2 wrapper |type=meta |base=Cite web}}</pre>
{{cs2 wrapper |type=meta |base=Cite web}}
+
{{cs2 wrapper |type=meta |base=Cite web|nocat=yes}}
  
 
'''Specific-source template based on cite journal:'''
 
'''Specific-source template based on cite journal:'''
 
<pre>{{cs2 wrapper |type=source |base=Cite journal}}</pre>
 
<pre>{{cs2 wrapper |type=source |base=Cite journal}}</pre>
{{cs2 wrapper |type=source |base=Cite journal}}
+
{{cs2 wrapper |type=source |base=Cite journal|nocat=yes}}
  
 
'''Generic message (type not specified), template based on cite book:'''
 
'''Generic message (type not specified), template based on cite book:'''
 
<pre>{{cs2 wrapper |base=Cite book}}</pre>
 
<pre>{{cs2 wrapper |base=Cite book}}</pre>
{{cs2 wrapper |base=Cite book}}
+
{{cs2 wrapper |base=Cite book|nocat=yes}}
  
 
'''Meta-template based on Module:Citation/CS2:'''
 
'''Meta-template based on Module:Citation/CS2:'''
 
<pre>{{cs2 wrapper |type=meta |base=Module:Citation/CS2}}</pre>
 
<pre>{{cs2 wrapper |type=meta |base=Module:Citation/CS2}}</pre>
{{cs2 wrapper |type=meta |base=Module:Citation/CS2}}
+
{{cs2 wrapper |type=meta |base=Module:Citation/CS2|nocat=yes}}
  
 
== Categories ==
 
== Categories ==

Revision as of 23:17, 25 March 2020

This template is a message box for the talk pages of Citation Style 2 (CS2) wrapper templates.

Usage

{{cs2 wrapper |type= |base= }}

Parameters

  • base= (required parameter)
    Either
    • The name of the CS2 template that the wrapper is based on. Do not wikilink; do not include the "Template:" prefix.
    Or:
    • The name of the module, including the "Module:" prefix, that the wrapper is based on. Do not wikilink.
  • spell=
    • s to use "centralised", for varieties of English with that spelling
    • z to use "centralized", for varieties of English with that spelling
    Spelling with an s is the default, for consistency with {{Central}}

Examples

Meta-template based on cite web:

{{cs2 wrapper |type=meta |base=Cite web}}

Specific-source template based on cite journal:

{{cs2 wrapper |type=source |base=Cite journal}}

Generic message (type not specified), template based on cite book:

{{cs2 wrapper |base=Cite book}}

Meta-template based on Module:Citation/CS2:

{{cs2 wrapper |type=meta |base=Module:Citation/CS2}}

Categories

See also