Difference between revisions of "Template:Social/doc"
| Line 12: | Line 12: | ||
* <tt><nowiki>{{Social|Facebook|http://www.some-url.com/}}</nowiki></tt> | * <tt><nowiki>{{Social|Facebook|http://www.some-url.com/}}</nowiki></tt> | ||
| − | These images have been uploaded in order to be able to generate links to external sites. That means having to use MediaWiki image formatting | + | These images have been uploaded in order to be able to generate links to external sites. That means having to use MediaWiki image formatting. One problem is the inline issue. For a row of social icons, that means wrapping the entire thing in a div, eg:<br/> |
| − | <tt><nowiki> | + | <tt><nowiki>{{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}}}}</nowiki></tt> |
==== Note ==== | ==== Note ==== | ||
This will generate the following: | This will generate the following: | ||
| − | + | {{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}}}} | |
<includeonly>[[Category:WikiCorporates templates]]</includeonly> | <includeonly>[[Category:WikiCorporates templates]]</includeonly> | ||
Revision as of 13:57, 30 May 2020
Note: Images are in Uploaded/Social-Media/
Template to generate the following pics with links:
- [[File:Social-Media-Facebook.svg|20x20px]]

- [[File:Social-Media-Instagram.svg|20x20px]]

- [[File:Social-Media-LinkedIn.svg|20x20px]]

- [[File:Social-Media-Twitter.svg|20x20px]]

- [[File:Social-Media-Website.svg|20x20px]]

- [[File:Social-Media-YouTube.svg|20x20px]]

Call thusly:
- {{Social|Facebook|http://www.some-url.com/}}
These images have been uploaded in order to be able to generate links to external sites. That means having to use MediaWiki image formatting. One problem is the inline issue. For a row of social icons, that means wrapping the entire thing 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}}}}
Note
This will generate the following: