• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Wrapper

  • Template
  • Talk
  • Language
  • Watch
  • View source
This template is about a doc page banner that flags a wrapper template. For tagging wrappable segments within nowrap-scoped text, see Template:Wrap. For a wrapper template generator, see Module:Template wrapper.
This template is a customized wrapper for {{Example}}. Any field from {{Example}} can work so long as it is added to this template first. Questions? Just ask at Template talk:Example.
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Template wrapper (sandbox)

Contents

  • 1 Usage
  • 2 Parameters
  • 3 Examples
  • 4 TemplateData
  • 5 See also

Usage

{{Wrapper|target template}}
{{Wrapper|target template|all=yes|exclude=excluded param1, param2, ...}}

Parameters

This template has one required positional parameter, and three optional named params:

  • |1= – name of the template, excluding namespace (required)
  • |all=yes – alters the default wording (Any field from {{Example}} can work...) to All fields from {{Example}} will work here."
  • |exclude=string – adds "(except string)" after "from Example". Use this to list params in Template:Example not available in the wrapper.
  • |nocat=yes – disable automatic categorization into [[Category:Templates calling Example]]

Examples

Example 1: {{Wrapper|Wikibreak}}
This example might appear on the doc page of {{Exams}} or {{Vacation}}:

{{Wrapper|Wikibreak}} →

This template is a customized wrapper for {{Wikibreak}}. Any field from {{Wikibreak}} can work so long as it is added to this template first. Questions? Just ask at Template talk:Wikibreak.
Example 2: {{Wrapper|Sfnlink|exclude=rev}}
This example might appear on the doc page of {{Sfnlinka}}:

{{Wrapper|Sfnlink|exclude=rev}} →

This template is a customized wrapper for {{Sfnlink}}. Any field from {{Sfnlink}} (except rev) can work so long as it is added to this template first. Questions? Just ask at Template talk:Sfnlink.
Example 3: {{Wrapper|Sfnlink|all=yes|exclude=rev and lang}}
This example might appear on the doc page of {{Sfnlinka}}:

{{Wrapper|Sfnlink|all=yes|exclude=rev and lang}} →

This template is a customized wrapper for {{Sfnlink}}. All fields from {{Sfnlink}} (except rev and lang) will work here. Questions? Just ask at Template talk:Sfnlink.

TemplateData

See a monthly parameter usage report for Template:Wrapper in articles based on its TemplateData.

TemplateData for Wrapper

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Template1

name of template this is a wrapper for (without "Template:")

Example
Wikibreak
Stringrequired
nocatnocat

Disables categorization

Example
yes
Booleanoptional
allall

For wrappers that use the module, changes the second sentence to read "All fields from <template> will work here."

Booleanoptional
excludeexclude

string listing params of <template> excluded from use here.

Example
params 'P-one' and 'P-two'
Stringoptional

See also

  • {{#invoke:Template wrapper|wrap}}
  • {{#invoke:params|concat_and_call}}
The above documentation is transcluded from Template:Wrapper/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Wrapper&oldid=1307533316"
Last edited on 24 August 2025, at 06:01

Languages

    • العربية
    • 閩南語 / Bân-lâm-gí
    • فارسی
    • Kurdî
    • ਪੰਜਾਬੀ
    • සිංහල
    • Simple English
    • سنڌي
    • တႆး
    • اردو
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 24 August 2025, at 06:01 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop