Difference between revisions of "Template:Flickr image inline link/doc"
Jump to navigation
Jump to search
imported>Zyxw (add link to shortcut) |
imported>Zyxw (update usage and examples) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> |
{{Template shortcut|Flickr-inline2}} | {{Template shortcut|Flickr-inline2}} | ||
== Usage == | == Usage == | ||
| − | <nowiki>{{ | + | ; Unnamed parameters |
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' }}</code> | ||
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' | ''NAME'' }}</code> | ||
| − | == | + | ; Named parameters |
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' }}</code> | ||
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' | name= ''NAME'' }}</code> | ||
| − | # Flickr URL stem (mandatory) | + | == Parameters == |
| − | # Display text (optional; defaults to page name) | + | # '''id''' – Flickr URL stem (mandatory) |
| + | # '''name''' – Display text (optional; defaults to page name) | ||
| − | == | + | == Examples == |
| − | + | === Unnamed parameters === | |
| − | : {{ | + | ''Usage:'' |
| + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | westmidlandspolice | West Midlands Police }}</code> | ||
| + | : <code><nowiki>* {{</nowiki>Flickr-inline2 | westmidlandspolice | West Midlands Police }}</code> | ||
| + | |||
| + | ''Output:'' | ||
| + | :* {{{{BASEPAGENAME}} | westmidlandspolice | West Midlands Police }} | ||
| + | |||
| + | ''URLs:'' | ||
| + | : <kbd>[https://www.flickr.com/westmidlandspolice https://www.flickr.com/{{Highlight|westmidlandspolice}}]</kbd> | ||
| + | : <kbd>[https://www.flickr.com/photos/westmidlandspolice https://www.flickr.com/photos/{{Highlight|westmidlandspolice}}]</kbd> | ||
| + | |||
| + | === Named parameters === | ||
| + | ''Usage:'' | ||
| + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= evamoskowitz | name= Eva Moskowitz }}</code> | ||
| + | : <code><nowiki>* {{</nowiki>Flickr-inline2 | id= evamoskowitz | name= Eva Moskowitz }}</code> | ||
| + | |||
| + | ''Output:'' | ||
| + | :* {{{{BASEPAGENAME}} | id= evamoskowitz | name= Eva Moskowitz }} | ||
| + | |||
| + | ''URLs:'' | ||
| + | : <kbd>[https://www.flickr.com/evamoskowitz https://www.flickr.com/{{Highlight|evamoskowitz}}]</kbd> | ||
| + | : <kbd>[https://www.flickr.com/photos/evamoskowitz https://www.flickr.com/photos/{{Highlight|evamoskowitz}}]</kbd> | ||
== See also == | == See also == | ||
| − | *{{tl| | + | * {{tl|Flickr tag inline link}} |
| − | *{{tl| | + | * {{tl|Instagram}} |
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
| − | <!-- | + | <!-- Categories below this line and interwikis at Wikidata --> |
[[Category:Social media external link templates|Flickr tag inline link]] | [[Category:Social media external link templates|Flickr tag inline link]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 07:55, 17 March 2019
| File:Edit-copy green.svg | This is a documentation subpage for Template:Flickr image inline link. It contains usage information, categories and other content that is not part of the original template page. |
Usage
- Unnamed parameters
{{Flickr image inline link | ID }}{{Flickr image inline link | ID | NAME }}
- Named parameters
{{Flickr image inline link | id= ID }}{{Flickr image inline link | id= ID | name= NAME }}
Parameters
- id – Flickr URL stem (mandatory)
- name – Display text (optional; defaults to page name)
Examples
Unnamed parameters
Usage:
* {{Flickr image inline link | westmidlandspolice | West Midlands Police }}* {{Flickr-inline2 | westmidlandspolice | West Midlands Police }}
Output:
URLs:
Named parameters
Usage:
* {{Flickr image inline link | id= evamoskowitz | name= Eva Moskowitz }}* {{Flickr-inline2 | id= evamoskowitz | name= Eva Moskowitz }}
Output:
URLs:
See also
- {{Flickr tag inline link}}
- {{Instagram}}