Template:Wrapper/doc
This template is a doc page banner that flags a wrapper template.
| This is a documentation subpage for Template:Wrapper. It may contain usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
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:
This is a customized wrapper for the {{Family name explanation}} template, which means it's built upon the other template's code. Parameters from {{Family name explanation}} will work here. However, the following are exceptions:
|
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:
This is a customized wrapper for the {{Station link}} template, which means it's built upon the other template's code. Since all parameters are already managed, no parameters from {{Station link}} will work here. The parameters passed are managed as follows:
|
Wikitext (see {{Don't ping}}):
{{Wrapper|Please ping
| except = 1 -> no
| omitting = tps // nw // big // thanks // cond
| passing-through =
}}
Effect:
This is a customized wrapper for the {{Please ping}} template, which means it's built upon the other template's code. Since all parameters are already managed, no parameters from {{Please ping}} will work here. The parameters passed are managed as follows:
|
Wikitext (see {{Sfnlinka}}):
{{Wrapper|Sfnlink
| except = article -> *
| omitting = rev // lang
| passing-through = p // page // pp // pages // loc // nb // text
}}
Effect:
This is a customized wrapper for the {{Sfnlink}} template, which means it's built upon the other template's code. The following parameters from {{Sfnlink}} will work here: |loc=, |nb=, |p=, |page=, |pages=, |pp=, and |text=. The other parameters passed are managed as follows:
|
Wikitext (see {{Tanakhverse}}):
{{Wrapper|Bibleverse
| except = 3 -> <nowiki>{{{3|HE}}}</nowiki>
| omitting = 4 // 5
}}
Effect:
This is a customized wrapper for the {{Bibleverse}} template, which means it's built upon the other template's code. Parameters from {{Bibleverse}} will work here. However, the following are exceptions:
|
Wikitext:
{{Wrapper|Debug}}
Effect:
| This is a customized wrapper for the {{Debug}} template, which means it's built upon the other template's code. All parameters from {{Debug}} will work here. |
Template data
This documentation box informs that a template is a wrapper of another template.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Template | 1 | Name of the wrapped template
| String | required |
| Bound parameters | except | The list of pre-assigned parameters; use ‘//’ to separate them and ‘->’ to assign them a value—see ‘|separator=’ and ‘|setter=’ to set other strings
| String | optional |
| Undefined parameters | omitting | The list of parameter names left undefined; use ‘//’ to separate them—see ‘|separator=’ to set another string
| String | optional |
| Parameters passed through | passing-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
| String | optional |
| Separator string | separator | The string to use as separator between parameters
| String | optional |
| Setter string | setter | The string to use as value setter
| String | optional |
| Table class | table-class | The ‘class=’ HTML attribute assigned to the table of managed parameters
| String | optional |
| No category | nocat | Disable automatic categorization into ‘Category:Templates calling Example’ or ‘Category:Wrapper templates’ (depending on the case)
| Boolean | optional |
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.
- 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:
- 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.
- 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.
- 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.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.