Template:Facebook/doc
Template:Facebook doc
| これはTemplate:Facebookの解説サブページです。 使用方法、カテゴリ、およびその他テンプレート自体に含まれない情報を収容しています。 |
Facebookアカウントへのリンクを生成します。基本的に外部リンク節に記述します。
{{Facebook|アカウント|リンク文字列}}
- アカウント - フェイスブックID https://www.facebook.com/$1の$1の部分
{{Facebook|zuck|Mark Zuckerberg}}
このように表示されます
Mark Zuckerberg (zuck) - Facebook
ウィキデータ
ウィキデータにその項目のプロパティd:Property:P2013がある場合、
{{Facebook}}
とするだけで、Facebookアカウントへのリンクが生成されます。
パラメータ from= を使うと別の記事のウィキデータ項目を明示できます。
{{Facebook|name=ウィキペディア|from=Q52}}
このように表示されます
ウィキペディア (wikipedia) - Facebook
TemplateData
Facebookアカウントへのリンクを生成します
| パラメーター | 説明 | 型 | 状態 | |
|---|---|---|---|---|
| アカウント | 1 | Facebookアカウント名
| 短いテキスト | 必須 |
| リンク文字列 | 2 name | 記事本文に表示するリンクの文字列。
| 短いテキスト | 省略可能 |
| from | from | Wikidataリポジトリの項目
| 短いテキスト | 省略可能 |
| アカウント(旧) | id | Facebookアカウント名(この形式のリンクは現在使われていません) | 短いテキスト | 非推奨 |
関連項目
- {{Facebook post}}:個々のFacebookつぶやきへのリンク作成はこちらのテンプレートをご利用ください。
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.