Difference between revisions of "Template:Social"
Jump to navigation
Jump to search
m |
m |
||
| Line 1: | Line 1: | ||
{{#switch:{{{1}}} | {{#switch:{{{1}}} | ||
| − | |Facebook=[ | + | |Facebook=[[File:Social-Media-Facebook.svg|20x20px|right|link={{{2}}}]] |
|Instagram=[{{{2}}} {{img|Social-Media-Instagram.svg|20|20}}] | |Instagram=[{{{2}}} {{img|Social-Media-Instagram.svg|20|20}}] | ||
|LinkedIn=[{{{2}}} {{img|Social-Media-LinkedIn.svg|20|20}}] | |LinkedIn=[{{{2}}} {{img|Social-Media-LinkedIn.svg|20|20}}] | ||
Revision as of 14:27, 20 February 2019
No such option "{{{1}}}" in Template:Social
[edit] Documentation
Template to generate social media pics, with optional links:
- {{Social|Website}} → [{{{2}}}
]
- {{Social|Twitter.svg}} → [{{{2}}}
]
- {{Social|Facebook}} →
- {{Social|YouTube.svg}} → [{{{2}}}
]
- {{Social|Instagram|http://www.some-url.com/}} →
- {{Social|LinkedIn|http://www.some-url.com/|@JolyonMaugham}} →
Nb: Images are in /Social-Media/Social-Media-*.svg
For a row of social icons, wrap the entire lot in a div, eg:
{{floatRight
|{{img|Bean-Responsible-Kill-The-Cup.svg|250|22|float=none}}
|{{Social|Instagram|https://www.instagram.com/beanresponsible/}} {{Social|Website|http://deadplanetmovie.com/}} {{Social|Facebook|https://www.facebook.com/beanresponsible2}} {{Social|YouTube|https://www.youtube.com/watch?v=MRM2y7RrIq0}} {{Social|Twitter|https://twitter.com/BeanResponsible}}}}
which generates the following: