K (1 Version) |
imported>Oetterer K (Schützte „Vorlage:Transclude“: Automatic protection of selected project pages ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt))) |
||
(Eine dazwischenliegende Version von einem anderen Benutzer wird nicht angezeigt) |
Aktuelle Version vom 7. Oktober 2022, 16:56 Uhr
Template:{{{1}}}
This template resolves page names as they would be handled by MediaWiki's template-transclusion process. It thereby removes ambiguity when doing other things with template pagenames, e.g. linking.
Usage[Quelltext bearbeiten]
{{transclude| Template:Foo }}
→ Vorlage:Foo{{transclude| Category:Foo }}
→ Kategorie:Foo{{transclude| Foo }}
→ Template:Foo{{transclude| :Foo }}
→ Foo{{transclude| :File:Foo }}
→ Datei:Foo
See also[Quelltext bearbeiten]
- {{para}}, for the presentation of template parameters and values (e.g.
|paraname=val
,|another=
, etc).
Template-linking templates[Quelltext bearbeiten]
Link style → | Linked | Unlinked | Linked with alternative text | |
---|---|---|---|---|
Text style ↓ | ↓ {{tlg}} options1 →
|
N/A | sample text
|
sample text sample text
|
Normal | N/A | {{tlg}} 1, 2{{tl}} {{tlp}} 2
|
{{tlf}} 2
|
{{tla}}
|
Code
|
sample text orsample text
|
{{tlx}}
|
{{tlc}} 2{{tld}} 2{{tnull}}
|
N/A |
- 1
{{tlg}}
is the most general, allowing any combination of text style and/or link style options. - 2 Prevents wrapping of text by placing it inside
<span class="nowrap">...</span>
tags. - 3 Uses monospace font but not
<code>...</code>
.