Difference between revisions of "Template:F-Droid/doc"

From blackwiki
Jump to navigation Jump to search
imported>Ci5xrdtm7jm4k
(doc page for future F-Droid template)
 
imported>Vanisaac
m (→‎See Also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 25: Line 25:
 
*{{tl|Windows Phone Store}}
 
*{{tl|Windows Phone Store}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
[[Category:Software external link templates]]
 
[[Category:Software external link templates]]
</includeonly>
+
}}</includeonly>

Revision as of 04:11, 25 April 2020

This is a template to generate links to the F-Droid repository.

Usage

1. Go to the app's F-Droid page.
2. Copy only the words after the fdid parameter in the URL query string. Ignore the fdfilter and string.
3. The page URL should look like https://f-droid.org/repository/browse/?fdid=XXX.XXXXXX.XXXXX or https://f-droid.org/repository/browse/?fdfilter=searchquery?fdid=XXX.XXXXXX.XXXXX, where "XXX.XXXXXX.XXXXX" indicates the fdid parameter.
4. Add to the external links section the text:
{{F-Droid|XXX.XXXXXX.XXXXX|Name}}
where "XXX.XXXXXX.XXXXX" is the fdid you've copied, and "Name" is the name of the Android application.

Example

  1. Search the F-Droid repository at f-droid.org for "OsmAnd" and click on the OsmAnd~ app. You'll get to this page: https://f-droid.org/repository/browse/?fdfilter=OsmAnd&fdid=net.osmand.plus
  2. Copy "net.osmand.plus" and then add this text as parameter to the F-Droid template:
{{F-Droid|net.osmand.plus}}

The result on the page OsmAnd is:

Script error: No such module "If empty"./ OsmAnd~ Android package at the F-Droid repository.

Typically this is a list item in the external links section (even if there is only one link), so you should add "*" in front.

See Also