Vorlage:ExterneLinks: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 1: | Zeile 1: | ||
{{#vardefine:links | {{#vardefine:links | ||
− | |{{# | + | |{{#regexall:{{{links|}}}|/\[\s*http[^\]]+\]/|xxx}} |
}}<!-- | }}<!-- | ||
-->{{#arraymap:{{#var:links}}|xxx|§ | -->{{#arraymap:{{#var:links}}|xxx|§ | ||
− | |# {{#regex:§ | + | | {{#vardefine:domain |
− | + | | {{#regex:§ | |
− | + | |/(.*https*:\/\/(www\.)?)([^\/]+).*/ | |
− | }}: | + | |$3 |
− | |\ | + | }} |
+ | }}<!-- | ||
+ | -->{{#set:hat externen link={{#var:domain}}: §, {{{page|}}} }} | ||
+ | |\s | ||
}} | }} |