Difference between revisions of "Template:InfoboxRowAccounts"
(Created page with "{{#if:{{{accounts|}}} | <div class="ibr row-online-accounts"> {{#arr:dataloop | {{#arr:match|{{{accounts}}}|(?:(\w+):)?(https?:\/\/(?:.*\.)?([^.\/]+)\.(?:\w+)\/\S+)}} |...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#if:{{{accounts|}}} | + | <noinclude>{{{accounts=https://www.facebook.com/YourUsername |
+ | https://twitter.com/YourHandle | ||
+ | https://www.instagram.com/YourUsername | ||
+ | mastodon:https://www.linkedin.com/in/YourProfileName}}}</noinclude>{{#if:{{{accounts|}}} | ||
| <div class="ibr row-online-accounts"> {{#arr:dataloop | | <div class="ibr row-online-accounts"> {{#arr:dataloop | ||
| {{#arr:match|{{{accounts}}}|(?:(\w+):)?(https?:\/\/(?:.*\.)?([^.\/]+)\.(?:\w+)\/\S+)}} | | {{#arr:match|{{{accounts}}}|(?:(\w+):)?(https?:\/\/(?:.*\.)?([^.\/]+)\.(?:\w+)\/\S+)}} | ||
Line 7: | Line 10: | ||
| hidden = true | | hidden = true | ||
| type = text | | type = text | ||
− | }}{{ | + | }} |
+ | {{#eval:html|<a target="_blank" href="{{{2}}}" class="icon-social" aria-role="{{{service}}}">{{socialIcon|{{{service}}}}}</a> }} | ||
}}</div> | }}</div> | ||
}} | }} |