Template:Wrapper
| Uses Lua: |
Usage
Wikitext (see {{Flow file}}):
{{Wrapper|Git file
| except = project -> mediawiki/extensions/Flow
}}
Effect:
This is a customized wrapper for the {{Git file}} template, which means it's built upon the other template's code. Parameters from {{Git file}} will work here. However, the following are exceptions:
|
Wikitext (see {{Calculator codex text}}):
{{Wrapper|Calculator
| except = type -> text // class-live -> cdx-text-input__input {{(}}{{(}}{{(}}class-live{{!}}{{)}}{{)}}{{)}}
}}
Effect:
This is a customized wrapper for the {{Calculator}} template, which means it's built upon the other template's code. Parameters from {{Calculator}} will work here. However, the following are exceptions:
|
Wikitext (see {{DB MASTER}}):
{{Wrapper|Incompatible
| except =
reason -> Uses the <code>DB_MASTER</code> constant, which was removed //
version -> 1.43
| omitting =
alternative //
nocat //
pledge
| passing-through =
}}
Effect:
This is a customized wrapper for the {{Incompatible}} template, which means it's built upon the other template's code. Parameters from {{Incompatible}} will work here. However, the following are exceptions:
|
Wikitext (see {{Title class incompatible}}):
{{Wrapper|Incompatible
| setter = ->>
| except = reason ->> <nowiki>Depends on =</nowiki>1><code>Title</code> class alias, which was [[=</nowiki>2>gerrit:plugins/gitiles/mediawiki/core/+/REL1_44/RELEASE-NOTES-1.44#574|removed]].</nowiki> // version ->> 1.43
| omitting = alternative // nocat // pledge
| passing-through =
}}
Effect:
This is a customized wrapper for the {{Incompatible}} template, which means it's built upon the other template's code. Parameters from {{Incompatible}} will work here. However, the following are exceptions:
|
Wikitext (see {{Uw-blocked1}}):
{{Wrapper|Notice template wrapper|passing-through=}}
Effect:
| This is a customized wrapper for the {{Notice template wrapper}} template, which means it's built upon the other template's code. All parameters from {{Notice template wrapper}} will work here. |
Wikitext:
{{Wrapper|Debug
| separator = ;
| setter = :
| except = Gallia; est omnis; divisa: in partes tres; quarum unam: incolunt Belgae
| omitting = aliam; Aquitani
| passing-through = lorem; ipsum
}}
Effect:
This is a customized wrapper for the {{Debug}} template, which means it's built upon the other template's code. Parameters from {{Debug}} 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 parameters left undefined; use ‘//’ to separate them—see ‘|separator=’ to set another string
| String | optional |
| Passing through | passing-through | The list of parameters 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 |