Difference between revisions of "Template:Flinfo"

From TransitWiki
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
+
[http://wikipedia.ramselehof.de/flinfo.php?id={{{1|}}}{{#if: {{{2|}}}|&description={{urlencode:{{{2|}}}}}}}{{#if: {{{3|}}}|&categories={{urlencode:{{{3|}}}}}}}{{#if: {{{4|}}}|&destfile={{urlencode:{{{4|}}}}}}} Run the Flinfo tool on Flickr ID: {{{1|}}}], then upload with the {{#if: {{{2|}}}{{{3|}}}{{{4|}}}|"Open upload form" link from the Flinfo page|[http://commons.wikimedia.org/w/index.php?title=Special:Upload&uselang=fromflickr&uploadformstyle=basic simple Commons upload form]}}<noinclude>
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
+
{{documentation}}
 
+
</noinclude>
=== Usage ===
 
 
 
Creates a link to the Flinfo tool to look up a photo by its [[wikipedia:Flickr|Flickr]] ID, to return a pre-filled {{Tl|Information}} template for the photo, along with a {{Tl|Location}} template if the Flickr photo has geocoding, and Flinfo will also guess at categories for the photo. This is not a fancy template, just an easier-to-remember way to generate the Flinfo link, so you can record it in your notes on a user subpage, or mention it on a talk page, etc. Syntax:
 
 
 
{{Tlx|Flinfo|Flickr ID|description|categories|destination file name}}
 
 
 
The first input parameter is mandatory. The last three input parameters are optional. They correspond to the input parameters in [[commons:User:Flominator/Flinfo#Input parameters]]. If you specify a value for any of the last three input parameters, the template displays different instruction text, reminding you to open the upload form from the Flinfo page. That will cause Flinfo to pass your input parameters on to the upload form so you do not have to edit them in by hand. Syntax notes:
 
 
 
* Separate categories with semicolons. You do not need the Category: namespace prefix.
 
* Omit the File: prefix and the .jpg extension from the destination file name.
 
 
 
=== Examples ===
 
 
 
{| class="wikitable"
 
<!-- ! width=280px | Type this !! width=130px | To get this !! What it produces, or searches for -->
 
! Type this !! To get this
 
|-
 
| {{Tlx|Flinfo|453762032}}
 
| {{Flinfo|453762032}}  
 
|-
 
| {{Tlx|Flinfo|2824822448|Wind turbines on the [[wikipedia:Science Barge]]|Hydroponics;Museums in New York;Science museums in the United States;Wind turbines on public display|New York Science Barge 593866098}}  
 
| {{Flinfo|2824822448|Wind turbines on the [[wikipedia:Science Barge]]|Hydroponics;Museums in New York;Science museums in the United States;Wind turbines on public display|New York Science Barge 593866098}}
 
|-
 
|}
 
 
 
<!-- This section is not applicable to Commons; however, keep it in a comment
 
    in case we need to document some similar restriction on Commons.
 
=== Do not use in articles ===
 
{{Warning|Do not use this template in [[WP:WIAA|articles]] (as search links [[WP:EL#Links normally to be avoided|are not appropriate in articles]]). The template is only for [[Help:Talk page|talk pages]] and other process pages ([[WP:HD|Help desk]], [[WP:PROJ|WikiProjects]], [[Help:User page|user pages]], etc.). The template will produce an ugly messagebox warning if you attempt to use it in an article.}}
 
-->
 
 
 
=== See also ===
 
* [[User:Teratornis/Tasks#Images from Flickr]] for a detailed example of retrieving image information from Flickr
 
 
 
== External links ==
 
{{From Commons|Template:Flinfo}}
 
*[[commons:Commons:Flickr images#Searching Flickr]]
 
*[[commons:Template:Flickr]]
 
*[[commons:Template:Flickr free]] - searches Flickr for photos having licenses suitable for Commons
 
*[[commons:COM:EIC#Flickr]] - entries relating to Flickr in the Editor's index to Commons
 
*[[wikipedia:WP:EIW#ImgResources]] - other free image resources on the [[wikipedia:English Wikipedia|English Wikipedia]]
 
*'''[http://wikipedia.ramselehof.de/flinfo.php Flinfo]''' - fills out an {{Tl|Information}} template for a Flickr photo
 
*[[commons:User:Flominator/Flinfo]] - instructions for using Flinfo
 
*[[commons:User:Teratornis/Flickr examples]] - worked out examples of uploading photos using Flinfo
 
 
 
<includeonly>
 
<!-- CATEGORIES BELOW THIS LINE PLEASE -->
 
[[Category:External link templates|{{PAGENAME}}]]
 
[[Category:Templates from Wikimedia Commons|{{PAGENAME}}]]
 
</includeonly>
 

Latest revision as of 19:39, 2 November 2017

Run the Flinfo tool on Flickr ID: , then upload with the simple Commons upload form

[edit] [purge] Template documentation

Usage

Creates a link to the Flinfo tool to look up a photo by its Flickr ID, to return a pre-filled {{Information}} template for the photo, along with a {{Location}} template if the Flickr photo has geocoding, and Flinfo will also guess at categories for the photo. For your convenience, the template also displays a link to the simple Commons upload form where you can paste the {{Information}} template. This is not a fancy template, just an easier-to-remember way to generate the Flinfo link, so you can record it in your notes on a user subpage, or mention it on a talk page, etc. Syntax:

{{Flinfo|Flickr ID|description|categories|destination file name}}

The first input parameter is mandatory. The last three input parameters are optional. They correspond to the input parameters in User:Flominator/Flinfo#Input parameters. If you specify a value for any of the last three input parameters, the template displays different instruction text, reminding you to open the upload form from the Flinfo page. That will cause Flinfo to pass your input parameters on to the upload form so you do not have to edit them in by hand. Syntax notes:

  • Separate categories with semicolons. You do not need the Category: namespace prefix.
  • Omit the File: prefix and the .jpg extension from the destination file name.

Examples

Type this To get this
{{Flinfo|453762032}} Run the Flinfo tool on Flickr ID: 453762032, then upload with the simple Commons upload form
{{Flinfo|2824822448|Wind turbines on the {{w|Science Barge}}|Hydroponics;Museums in New York;Science museums in the United States;Wind turbines on public display|New York Science Barge 593866098}} Run the Flinfo tool on Flickr ID: 2824822448, then upload with the "Open upload form" link from the Flinfo page

See also