Difference between revisions of "Template:Instagram/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zimbabweed
m (update link)
imported>Zyxw
(add link and category)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
{{Uses Wikidata|P2003}}
 
{{Uses Wikidata|P2003}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
  
===Code===
+
== Usage ==
  <nowiki>{{instagram|</nowiki>account_name<nowiki>|</nowiki>account_owner_name<nowiki>}}</nowiki>
+
  <nowiki>{{Instagram|</nowiki>account_name<nowiki>|</nowiki>account_owner_name<nowiki>}}</nowiki>
  
=== Usage ===
 
 
The first parameter is the account's homepage name, while the second is the title of the account. Example:
 
The first parameter is the account's homepage name, while the second is the title of the account. Example:
  
  <nowiki>{{instagram|Wikipedia|Wikipedia, the free encyclopedia}}</nowiki>
+
  <nowiki>{{Instagram|Wikipedia|Wikipedia, the free encyclopedia}}</nowiki>
 
produces
 
produces
*{{instagram|Wikipedia|Wikipedia, the free encyclopedia}}
+
: {{Instagram|Wikipedia|Wikipedia, the free encyclopedia}}
  
 
Hovering over the link shows that the template links to <tt>https://www.instagram.com/Wikipedia/</tt>, whilst the link itself displays "Wikipedia, the free encyclopedia".
 
Hovering over the link shows that the template links to <tt>https://www.instagram.com/Wikipedia/</tt>, whilst the link itself displays "Wikipedia, the free encyclopedia".
  
=== See also ===
+
== Tracking category ==
 +
* {{clc|Instagram template with no id set}}
 +
 
 +
== See also ==
 
* {{tl|Twitter}}
 
* {{tl|Twitter}}
 
* {{tl|Pinterest}}
 
* {{tl|Pinterest}}
Line 22: Line 24:
 
* {{tl|Flickr-inline2}}
 
* {{tl|Flickr-inline2}}
  
<includeonly>
+
<includeonly>{{sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Social media external link templates]]
 
[[Category:Social media external link templates]]
</includeonly>
+
[[Category:Templates that add a tracking category]]
 +
}}</includeonly>

Revision as of 09:33, 23 November 2016

Template:Uses Wikidata

Usage

{{Instagram|account_name|account_owner_name}}

The first parameter is the account's homepage name, while the second is the title of the account. Example:

{{Instagram|Wikipedia|Wikipedia, the free encyclopedia}}

produces

Wikipedia, the free encyclopedia on InstagramScript error: No such module "EditAtWikidata".

Hovering over the link shows that the template links to https://www.instagram.com/Wikipedia/, whilst the link itself displays "Wikipedia, the free encyclopedia".

Tracking category

See also