Template:Template link general
{{Template:Template link general}}
Uses Lua: |
TemplateData
[edit]TemplateData for Template link general
Template link general
Parameter | Description | Type | Status | |
---|---|---|---|---|
Link Brackets? | brace | Whether to include both brackets as part of the linked template name.
| Boolean | optional |
Link Inner Brackets? | braceinside | Whether to include the inner brackets as part of the linked template name.
| Boolean | optional |
Bold? | bold | Whether to add “<span style="font-weight:bolder">” around the linked template name.
| Boolean | optional |
Code? | code | Whether to add “<code>”.
| Boolean | optional |
Italic? | italic | Whether to add “<span style="font-style:italic">” around parameters.
| Boolean | optional |
Kbd? | kbd | Whether to add “<kbd>”.
| Boolean | optional |
Mono? | mono | Whether to add “<span style="font-family:monospace">”.
| Boolean | optional |
No Link? | nolink | Whether to not create a link to the template.
| Boolean | optional |
No Wrap? | nowrap | Whether to add “<span style="white-space:nowrap">”.
| Boolean | optional |
No Wrap Name? | nowrapname | Whether to add “<span style="white-space:nowrap">” around the linked template name.
| Boolean | optional |
Plain Code? | plaincode | Whether to add “<code style="background:transparent;border:none">”.
| Boolean | optional |
Subst? | subst | Whether to use “subst:”.
| Boolean | optional |
Link Subst? | link subst | Whether the “subst:” prefix should link to the help page on substitution.
| Boolean | optional |
Display Text | alttext | Displayed link text.
| Line | optional |
Template | 1 | Linked template name | Template | required |
Parameter 1 | 2 | First parameter value | Content | optional |
Parameter 2 | 3 | Second parameter value | Content | optional |
Parameter 3 | 4 | Third parameter value | Content | optional |
Parameter 4 | 5 | Fourth parameter value | Content | optional |
Parameter 5 | 6 | Fifth parameter value | Content | optional |
Parameter 6 | 7 | Sixth parameter value | Content | optional |
Parameter 7 | 8 | Seventh parameter value | Content | optional |
Parameter 8 | 9 | Eighth parameter value | Content | optional |
Parameter 9 | 10 | Ninth parameter value | Content | optional |
Parameter 10 | 11 | Tenth parameter value | Content | optional |
See also
[edit]Text style ↓ | {{tlg}} options[note 1]to achieve text style |
Link Style | ||
---|---|---|---|---|
Linked | Unlinked | Linked with subst: | ||
{{tlg}} options[note 1]to achieve link style |
N/A | DEFAULT | nolink=yes
|
subst=yes
|
Normal | DEFAULT |
|
|
|
code
|
code=yes
|
|
N/A | |
monospace | plaincode=yes |
N/A | ||
kbd | kbd=yes | |||
bold | bold=yes
|
|
N/A |
- ↑ a b c
{{tlg}}
is the most general template, allowing any combination of text style and/or link style options. - ↑ Allows links to templates in any namespace.
- ↑ a b Prevents wrapping of text by placing it inside
<span class="nowrap">...</span>
tags. - ↑
{{tlg|plaincode=yes}}
uses<code style="border:none; background-color:transparent;">...</code>
. - ↑ a b c Displays monospaced font using
<span style="font-family:monospace;">...</span>
.