Modul:Labelled list hatnote/doc: Unterschied zwischen den Versionen
Modul:Labelled list hatnote/doc (Quelltext anzeigen)
Version vom 16. Oktober 2021, 02:58 Uhr
, vor 4 Jahren→labelledList: Add new details
(Remove {{high-use}}, which is now redundant to {{used in system}} (via WP:JWB)) |
(→labelledList: Add new details) |
||
| Zeile 17: | Zeile 17: | ||
For example, providing "See also" instead of "Universal label" duplicates the functionality of {{tl|see also}}, while providing "Main article" and "Main articles" instead of "Singular label" and "Plural label" duplicates the (article namespace) functionality of {{tl|main}}. | For example, providing "See also" instead of "Universal label" duplicates the functionality of {{tl|see also}}, while providing "Main article" and "Main articles" instead of "Singular label" and "Plural label" duplicates the (article namespace) functionality of {{tl|main}}. | ||
If third and fourth labels are provided, they'll be used in the case where any of the target pages are outside the article namespace, so e.g. {{tl|main}} can be implemented thus: | |||
<code><nowiki>{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}</nowiki></code> | |||
===preprocessDisplays=== | ===preprocessDisplays=== | ||