(Go: >> BACK << -|- >> HOME <<)

コンテンツにスキップ

「Template:F-Droid/doc」の版間の差分

削除された内容 追加された内容
12行目: 12行目:
=== 使用例 ===
=== 使用例 ===
# f-droid.orgのF-Droidのリポジトリで"OsmAnd"を検索し、OsmAnd~アプリをクリックします。{{URL|1=https://f-droid.org/repository/browse/?fdfilter=OsmAnd&fdid=net.osmand.plus}}を取得します。
# f-droid.orgのF-Droidのリポジトリで"OsmAnd"を検索し、OsmAnd~アプリをクリックします。{{URL|1=https://f-droid.org/repository/browse/?fdfilter=OsmAnd&fdid=net.osmand.plus}}を取得します。
# "net.osmand.plus"をコピーして、パラメータとしてテンプレートに追加します:
#Copy "net.osmand.plus" and then add this text as parameter to the F-Droid template:
::<nowiki>{{F-Droid|net.osmand.plus}}</nowiki>
:: <nowiki>{{F-Droid|net.osmand.plus}}</nowiki>
OsmAndのページでは以下のような結果になります:
The result on the page OsmAnd is:
::{{F-Droid|net.osmand.plus|OsmAnd~}}.
:: {{F-Droid|net.osmand.plus|OsmAnd~}}


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

2020年8月19日 (水) 14:01時点における版

Template:F-Droidは、F-Droidのリポジトリへリンクするためのテンプレートです。

使用法

1. F-Droidのアプリのページにアクセスします。
2. URLクエリ文字列のfdidパラメータの後の部分のみをコピーします。fdfilterパラメータは無視します。
3. 具体的には、https://f-droid.org/repository/browse/?fdid=XXX.XXXXXX.XXXXXまたはhttps://f-droid.org/repository/browse/?fdfilter=searchquery?fdid=XXX.XXXXXX.XXXXXの"XXX.XXXXXX.XXXXX"の部分です。
4. 外部リンク節に以下のように記述します:
{{F-Droid|XXX.XXXXXX.XXXXX|Name}}
"XXX.XXXXXX.XXXXX"にはfdidをコピーし、"Name"にはAndroidアプリの名前を記述します。

使用例

  1. f-droid.orgのF-Droidのリポジトリで"OsmAnd"を検索し、OsmAnd~アプリをクリックします。f-droid.org/repository/browse/?fdfilter=OsmAnd&fdid=net.osmand.plusを取得します。
  2. "net.osmand.plus"をコピーして、パラメータとしてテンプレートに追加します:
{{F-Droid|net.osmand.plus}}

OsmAndのページでは以下のような結果になります:

OsmAnd~ - F-Droid

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

関連項目