Template:Wrapper/doc

This template is a doc page banner that flags a wrapper template.

Template:Wrapper/doc

This template is a doc page banner that flags a wrapper template.

Usage

Wikitext (see {{Family name footnote}}):

{{Wrapper|Family name explanation
	| except = type -> footnote // reftype -> <nowiki>{{{reftype|efn}}}</nowiki>
}}

Effect:

Wikitext (see {{Bts}}):

{{Wrapper|Station link
	| except = MBTA // <nowiki>{{{1|}}}</nowiki> // <nowiki>{{{2|}}}</nowiki> // <nowiki>{{{3|}}}</nowiki>
	| passing-through =
}}

or, equivalently,

{{Wrapper|Station link
	| except =
		1 -> MBTA //
		2 -> <nowiki>{{{1|}}}</nowiki> //
		3 -> <nowiki>{{{2|}}}</nowiki> //
		4 -> <nowiki>{{{3|}}}</nowiki>
	| passing-through =
}}

Effect:

Wikitext (see {{Don't ping}}):

{{Wrapper|Please ping
	| except = 1 -> no
	| omitting = tps // nw // big // thanks // cond
	| passing-through =
}}

Effect:

Wikitext (see {{Sfnlinka}}):

{{Wrapper|Sfnlink
	| except = article -> *
	| omitting = rev // lang
	| passing-through = p // page // pp // pages // loc // nb // text
}}

Effect:

Wikitext (see {{Tanakhverse}}):

{{Wrapper|Bibleverse
	| except = 3 -> <nowiki>{{{3|HE}}}</nowiki>
	| omitting = 4 // 5
}}

Effect:

Wikitext:

{{Wrapper|Debug}}

Effect:

Template data

This documentation box informs that a template is a wrapper of another template.

Template parameters

ParameterDescriptionTypeStatus
Template1

Name of the wrapped template

Example
Please ping
Stringrequired
Bound parametersexcept

The list of pre-assigned parameters; use ‘//’ to separate them and ‘->’ to assign them a value—see ‘|separator=’ and ‘|setter=’ to set other strings

Example
1 -> no
Stringoptional
Undefined parametersomitting

The list of parameter names left undefined; use ‘//’ to separate them—see ‘|separator=’ to set another string

Example
tps // nw // big // thanks // cond
Stringoptional
Parameters passed throughpassing-through

The list of parameter names left available to use; use ‘//’ to separate them—see ‘|separator=’ to set another string; you can provide a blank parameter to signal that no parameters are left available

Example
lorem // ipsum // foo // bar
Stringoptional
Separator stringseparator

The string to use as separator between parameters

Default
//
Example
;
Stringoptional
Setter stringsetter

The string to use as value setter

Default
->
Example
:
Stringoptional
Table classtable-class

The ‘class=’ HTML attribute assigned to the table of managed parameters

Default
wikitable
Example
wikitable mw-collapsible mw-collapsed
Stringoptional
No categorynocat

Disable automatic categorization into ‘Category:Templates calling Example’ or ‘Category:Wrapper templates’ (depending on the case)

Default
no
Example
yes
Booleanoptional

See also


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.