Difference between revisions of "Template:Social/doc"

From WikiCorporates
Jump to navigation Jump to search
m
Line 1: Line 1:
−
<small><< [[Template:Social]]</small>
+
Note: Images are in Uploaded/Social-Media/
−
 
 
−
Note: Images are in Images/Social-Media/
 
  
 
Template to generate the following pics with links:
 
Template to generate the following pics with links:
−
* <tt><nowiki>{{img|Social-Media-Facebook.svg|20|20}}</nowiki></tt> {{img|Social-Media-Facebook.svg|20|20|float=none}}
+
* <tt><nowiki>[[File:Social-Media-Facebook.svg|20x20px]]</nowiki></tt> [[File:Social-Media-Facebook.svg|20x20px]]
−
* <tt><nowiki>{{img|Social-Media-Instagram.svg|20|20}}</nowiki></tt> {{img|Social-Media-Instagram.svg|20|20|float=none}}
+
* <tt><nowiki>[[File:Social-Media-Instagram.svg|20x20px]]</nowiki></tt> [[File:Social-Media-Instagram.svg|20x20px]]
−
* <tt><nowiki>{{img|Social-Media-LinkedIn.svg|20|20}}</nowiki></tt> {{img|Social-Media-LinkedIn.svg|20|20|float=none}}
+
* <tt><nowiki>[[File:Social-Media-LinkedIn.svg|20x20px]]</nowiki></tt> [[File:Social-Media-LinkedIn.svg|20x20px]]
−
* <tt><nowiki>{{img|Social-Media-Twitter.svg|20|20}}</nowiki></tt> {{img|Social-Media-Twitter.svg|20|20|float=none}}
+
* <tt><nowiki>[[File:Social-Media-Twitter.svg|20x20px]]</nowiki></tt> [[File:Social-Media-Twitter.svg|20x20px]]
−
* <tt><nowiki>{{img|Social-Media-Website.svg|20|20}}</nowiki></tt> {{img|Social-Media-Website.svg|20|20|float=none}}
+
* <tt><nowiki>[[File:Social-Media-Website.svg|20x20px]]</nowiki></tt> [[File:Social-Media-Website.svg|20x20px]]
−
* <tt><nowiki>{{img|Social-Media-YouTube.svg|20|20}}</nowiki></tt> {{img|Social-Media-YouTube.svg|20|20|float=none}}
+
* <tt><nowiki>[[File:Social-Media-YouTube.svg|20x20px]]</nowiki></tt> [[File:Social-Media-YouTube.svg|20x20px]]
  
 
Call thusly:
 
Call thusly:
Line 15: Line 13:
  
 
These images have been uploaded in order to be able to generate links to external sites. That means having to use MediaWiki image formatting (ugh). One problem is the inline issue. For a row of social icons, that means wrapping the entire thing in a div, eg:<br/>
 
These images have been uploaded in order to be able to generate links to external sites. That means having to use MediaWiki image formatting (ugh). 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><div style="float:right; margin-left:10px;">{{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&#61;MRM2y7RrIq0}} {{Social|Twitter|https://twitter.com/BeanResponsible}}</div> {{img|Bean-Responsible-Kill-The-Cup.svg|250|22}}</nowiki></tt>
+
<tt><nowiki><div style="float:right; margin-left:10px;">{{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&#61;MRM2y7RrIq0}} {{Social|Twitter|https://twitter.com/BeanResponsible}}</div> {{img|Bean-Responsible-Kill-The-Cup.svg|250|22}}</div></nowiki></tt>
  
 
==== Note ====
 
==== Note ====
Line 21: Line 19:
 
<div style="float:right; margin-left:10px;">{{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&#61;MRM2y7RrIq0}} {{Social|Twitter|https://twitter.com/BeanResponsible}}</div> {{img|Bean-Responsible-Kill-The-Cup.svg|250|22}}
 
<div style="float:right; margin-left:10px;">{{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&#61;MRM2y7RrIq0}} {{Social|Twitter|https://twitter.com/BeanResponsible}}</div> {{img|Bean-Responsible-Kill-The-Cup.svg|250|22}}
  
−
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
+
<includeonly>[[Category:WikiCorporates templates]]</includeonly>

Revision as of 13:53, 30 May 2020

Note: Images are in Uploaded/Social-Media/

Template to generate the following pics with links:

  • [[File:Social-Media-Facebook.svg|20x20px]] Social-Media-Facebook.svg
  • [[File:Social-Media-Instagram.svg|20x20px]] Social-Media-Instagram.svg
  • [[File:Social-Media-LinkedIn.svg|20x20px]] Social-Media-LinkedIn.svg
  • [[File:Social-Media-Twitter.svg|20x20px]] Social-Media-Twitter.svg
  • [[File:Social-Media-Website.svg|20x20px]] Social-Media-Website.svg
  • [[File:Social-Media-YouTube.svg|20x20px]] Social-Media-YouTube.svg

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 (ugh). One problem is the inline issue. For a row of social icons, that means wrapping the entire thing in a div, eg:
<div style="float:right; margin-left:10px;">{{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}}</div> {{img|Bean-Responsible-Kill-The-Cup.svg|250|22}}</div>

Note

This will generate the following:

 Social-Media-Instagram.svg  Social-Media-Website.svg  Social-Media-Facebook.svg  Social-Media-YouTube.svg  Social-Media-Twitter.svg