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

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

削除された内容 追加された内容
編集の要約なし
編集の要約なし
 
(他の1人の利用者による、間の7版が非表示)
1行目:
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
{{uses Wikidata|P3597}}
 
'''Template:F-Droid'''は、[[F-Droid]]のリポジトリへリンクするためのテンプレートです。
 
=== 使用法 ===
:1. F-Droidのアプリのページにアクセスします。
:1. Go to the app's F-Droid page.
:2. URLクエリ文字列のfdidパラメータの後の部分のみをコピーします。fdfilterパラメータは無視します。
: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 具体的には、<nowiki>https://f-droid.org/repository/browse/?fdid=XXX.XXXXXX.XXXXX or </nowiki>または<nowiki>https://f-droid.org/repository/browse/?fdfilter=searchquery?fdid=XXX.XXXXXX.XXXXX, where </nowiki>の"XXX.XXXXXX.XXXXX" indicates the fdid parameter.の部分です。
:4. Add to the external links section the text外部リンク節に以下のように記述します:<br/><nowiki>{{F-Droid|XXX.XXXXXX.XXXXX|Name}}</nowiki><br/>where "XXX.XXXXXX.XXXXX" is the にはfdid you've copied, and をコピーし、"Name" is the name of the にはAndroid application.アプリの名前を記述します。
 
=== 使用例 ===
#Search the F-Droid repository at f-droid.org for のF-Droidのリポジトリで"OsmAnd" and click on the を検索し、OsmAnd~ app. You'll get to this page: アプリをクリックします。{{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>
OsmAndのページでは以下のような結果になります:
The result on the page OsmAnd is:
:: {{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.
 
== 関連項目 ==