Difference between revisions of "Template:Cs2 wrapper"
Jump to navigation
Jump to search
imported>Debresser (Debresser moved page Template:Cs2 wrapper to Template:CS2 wrapper: This is specifically called "Citation Style" with capitals.) |
imported>Debresser (Use code from Template:CS1 wrapper to avoid categorizing /doc and other such subpages.) |
||
| Line 1: | Line 1: | ||
| − | # | + | {{tmbox|text=This template is a [[:Category:Citation Style 2 templates|Citation Style 2 template]] based on {{#switch:{{lc:{{str left|{{{base}}}|7}}}} |
| − | + | |module:=[[{{{base}}}]]. | |
| − | {{ | + | |#default={{tl|{{ucfirst:{{{base}}}}}}}. |
| − | {{ | + | }} For centrali{{#switch:{{lc:{{{spell|}}}}}|z=z|s|#default=s}}ed [[Help:Citation Style 2|Citation Style 2]] discussions, see [[Help talk:Citation Style 2]].}}<includeonly>{{category handler |
| + | |template = {{#switch:{{lc:{{SUBPAGENAME}}}} | ||
| + | |doc | ||
| + | |sandbox | ||
| + | |testcases=<noinclude><!-- do not categorize template maintenance subpages --></noinclude> | ||
| + | |#default=[[Category:Templates that wrap {{ucfirst:{{{base}}}}}]] | ||
}} | }} | ||
| + | |nocat = {{{nocat|}}} | ||
| + | }}</includeonly><noinclude> | ||
| + | {{Documentation}} | ||
| + | </noinclude> | ||
Revision as of 23:53, 30 August 2020
| 40x40px | This template is a Citation Style 2 template based on {{[[Template:{{{base}}}|{{{base}}}]]}}. For centralised Citation Style 2 discussions, see Help talk:Citation Style 2. |
This template is a message box for the talk pages of Citation Style 2 (CS2) wrapper templates.
Contents
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=
sto use "centralised", for varieties of English with that spellingzto 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}}
See also
| The above documentation is transcluded from Template:Cs2 wrapper/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |