Vorlage:Pagelinks: Unterschied zwischen den Versionen
rewrite to use lx meta-template
(making appearance consistent with other ln templates) |
(rewrite to use lx meta-template) |
||
| Zeile 1: | Zeile 1: | ||
{{#ifeq:{{NAMESPACE:{{{1|Example}}}}}|{{SUBJECTSPACE:{{{1|Example}}}}} | |||
|<!-- Links for subject page -->{{lx|1={{#if:{{NAMESPACE:{{{1|Example}}}}}|:{{NAMESPACE:{{{1|Example}}}}}:}}|2={{PAGENAME:{{{1|Example}}}}}|3={{TALKSPACE:{{{1|Example}}}}}|4=talk}} | |||
|<!-- Links for talk page -->{{lx|1=:{{NAMESPACE:{{{1|Example}}}}}:|2={{PAGENAME:{{{1|Example}}}}}|3=:{{SUBJECTSPACE:{{{1|Example}}}}}|4=subject}} | |||
}}<noinclude> | |||
{{documentation}}[[Category:Internal link templates]]</noinclude> | {{documentation}}[[Category:Internal link templates]]</noinclude> | ||