MediaWiki:Ws-footer: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 10: | Regel 10: | ||
--><br><!-- | --><br><!-- | ||
--><div><b>Bezoek ons op</b></div><!-- | --><div><b>Bezoek ons op</b></div><!-- | ||
− | -->{{#arraymap:{{#caprint:@footer[0][Links]}}|,|@@@|<div class="row"> | + | -->{{#arraymap:{{#caprint:@footer[0][Links]}}|,|@@@|<div class="row"> |
− | --><div | + | --><div ><!-- |
− | |||
− | |||
− | |||
-->{{#switch:{{lc:{{#var:@linktext}} }} | -->{{#switch:{{lc:{{#var:@linktext}} }} | ||
|facebook.com=<i class="fab fa-facebook"></i> | |facebook.com=<i class="fab fa-facebook"></i> | ||
Regel 20: | Regel 17: | ||
|goo.gl=<i class="fas fa-map-marked-alt"></i> | |goo.gl=<i class="fas fa-map-marked-alt"></i> | ||
}}<!-- | }}<!-- | ||
− | --></div> <!-- | + | --></div> <!--<!-- |
+ | --><div ><!-- | ||
+ | -->{{#vardefine:@linktext|{{#regex:@@@|/^(?:https?:\/\/)?(?:[^@\/\n]+@)?(?:www\.)?([^:\/?\n]+)(.+)/|$1}} }}{{#widget:link|type=a|text={{#var:@linktext}}|href=@@@|class=red}}<!-- | ||
+ | --></div><!-- | ||
+ | |||
--></div>|}}<!-- | --></div>|}}<!-- | ||
--></div><!-- | --></div><!-- | ||
--></div></div> | --></div></div> |