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

From blackwiki
Jump to navigation Jump to search
imported>Debresser
(→‎See also: Add see also.)
imported>Debresser
m (Capitalization.)
 
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
This template is a message box for the talk pages of {{cs1}} (CS1) wrapper templates, including [[:Category:Citation Style 1 meta-templates|CS1 meta-templates]] and [[:Category:Citation Style 1 specific-source templates|CS1 specific-source templates]].
+
This template is a message box for the talk pages of {{CS1}} (CS1) wrapper templates, including [[:Category:Citation Style 1 meta-templates|CS1 meta-templates]] and [[:Category:Citation Style 1 specific-source templates|CS1 specific-source templates]].
 
== Usage ==
 
== Usage ==
<pre>{{cs1 wrapper |type= |base= }}</pre>
+
<pre>{{CS1 wrapper |type= |base= }}</pre>
 
===Parameters===
 
===Parameters===
 
*'''type='''
 
*'''type='''
Line 21: Line 21:
 
==Examples==
 
==Examples==
 
'''Meta-template based on cite web:'''
 
'''Meta-template based on cite web:'''
<pre>{{cs1 wrapper |type=meta |base=Cite web}}</pre>
+
<pre>{{CS1 wrapper |type=meta |base=Cite web}}</pre>
{{cs1 wrapper |type=meta |base=Cite web|nocat=yes}}
+
{{CS1 wrapper |type=meta |base=Cite web|nocat=yes}}
  
  
 
'''Specific-source template based on cite journal:'''
 
'''Specific-source template based on cite journal:'''
<pre>{{cs1 wrapper |type=source |base=Cite journal}}</pre>
+
<pre>{{CS1 wrapper |type=source |base=Cite journal}}</pre>
{{cs1 wrapper |type=source |base=Cite journal|nocat=yes}}
+
{{CS1 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>{{cs1 wrapper |base=Cite book}}</pre>
+
<pre>{{CS1 wrapper |base=Cite book}}</pre>
{{cs1 wrapper |base=Cite book|nocat=yes}}
+
{{CS1 wrapper |base=Cite book|nocat=yes}}
  
  
 
'''Meta-template based on Module:Citation/CS1:'''
 
'''Meta-template based on Module:Citation/CS1:'''
<pre>{{cs1 wrapper |type=meta |base=Module:Citation/CS1}}</pre>
+
<pre>{{CS1 wrapper |type=meta |base=Module:Citation/CS1}}</pre>
{{cs1 wrapper |type=meta |base=Module:Citation/CS1|nocat=yes}}
+
{{CS1 wrapper |type=meta |base=Module:Citation/CS1|nocat=yes}}
  
 
== Categories ==
 
== Categories ==

Latest revision as of 23:50, 30 August 2020

This template is a message box for the talk pages of Citation Style 1 (CS1) wrapper templates, including CS1 meta-templates and CS1 specific-source templates.

Usage

{{CS1 wrapper |type= |base= }}

Parameters

  • type=
    If this parameter is omitted, a more generic message is shown (see examples).
  • base= (required parameter)
    Either
    • The name of the CS1 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:

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


Specific-source template based on cite journal:

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


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

{{CS1 wrapper |base=Cite book}}


Meta-template based on Module:Citation/CS1:

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

Categories

See also