Difference between revisions of "Template:CS2 wrapper"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
(start)
 
imported>Pigsonthewing
(ce)
Line 1: Line 1:
{{tmbox|text=This template is a {{#switch:{{lc:{{{type|}}}}}
+
{{tmbox|text=This template is a [[:Citation Style 2 templates|Citation Style 2 template]] based on {{#switch:{{lc:{{str left|{{{base}}}|7}}}}
|meta=[[:Category:Citation Style 2 meta-templates|Citation Style 2 meta-template]]
 
|source=[[:Category:Citation Style 2 specific-source templates|Citation Style 2 specific-source template]]
 
|#default=Citation Style 2 [[Wikipedia:Wrapper templates|wrapper template]]
 
}} based on {{#switch:{{lc:{{str left|{{{base}}}|7}}}}
 
 
|module:=[[{{{base}}}]].
 
|module:=[[{{{base}}}]].
 
|#default={{tl|{{ucfirst:{{{base}}}}}}}.
 
|#default={{tl|{{ucfirst:{{{base}}}}}}}.

Revision as of 20:33, 13 September 2016

50px Template documentation[view] [edit] [history] [purge]

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}}

See also