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

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
(|nocat=yes for Template:cs1 wrapper)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 46: Line 46:
 
*[[:Category:Citation Style 1 templates]]
 
*[[:Category:Citation Style 1 templates]]
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Template talk header templates]]
 
[[Category:Template talk header templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 22:17, 24 April 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