defzone.net@gmail.comLiên hệ
DZ
DefZone.Net

Kien thuc cong nghe & giai tri

Bai vietDia diemAlbum anhGameCua hang
  1. Home
  2. Wiki
This is a customized wrapper for the {{Example}} template, which means it's built upon the other template's code. Parameters from {{Example}} will only work here if they have been added to this template. If you have questions, ask at the talk page!
Template documentation[view] [edit] [history] [purge]
For tagging wrappable segments within nowrap-scoped text, see Template:Wrap. For a wrapper template generator, see Module:Template wrapper.
This template uses Lua:
  • Module:Template wrapper (sandbox)

Usage

[edit]

This template is a doc page banner that flags a wrapper template. {{Wrapper|target template}}
{{Wrapper|target template|all=yes|exclude=excluded param1, param2, ...}}

Parameters

[edit]

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

[edit]
Example 1: {{Wrapper|Wikibreak}}
This example might appear on the doc page of {{Exams}} or {{Vacation}}:
{{Wrapper|Wikibreak}} →
This is a customized wrapper for the {{Wikibreak}} template, which means it's built upon the other template's code. Parameters from {{Wikibreak}} will only work here if they have been added to this template. If you have questions, ask at the talk page!
Example 2: {{Wrapper|Sfnlink|exclude=rev}}
This example might appear on the doc page of {{Sfnlinka}}:
{{Wrapper|Sfnlink|exclude=rev}} →
This is a customized wrapper for the {{Sfnlink}} template, which means it's built upon the other template's code. Parameters from {{Sfnlink}} (except rev) will only work here if they have been added to this template. If you have questions, ask at the talk page!
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 is a customized wrapper for the {{Sfnlink}} template, which means it's built upon the other template's code. All parameters from {{Sfnlink}} (except rev and lang) will work here. If you have questions, ask at the talk page!

TemplateData

[edit]
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

[edit]
  • {{#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.
DZ
DefZone.Net

Noi chia se kien thuc, huong dan va kham pha cong nghe.

Lien ket nhanh

Trang chủBài viếtWikiCửa hàngLiên hệ

Liên hệ

Email: defzone.net@gmail.com
Điện thoại: +84 762 559 696
Địa chỉ: Thiên Hương, Thủy Nguyên, Hải Phòng

Đăng ký nhận tin

Nhận bài viết và cập nhật mới nhất qua email.

© 2025 DefZone.Net. All rights reserved.
PrivacyTermsSitemap