このテンプレートは40,000以上のページで使われています。
余計な混乱やサーバーへの負荷を避けるために、どんな変更でも最初はテンプレートのサンドボックス・サブページ、テストケース・サブページもしくはあなた自身の利用者スペースのページで試すべきです。そうすれば、試した変更を1度の編集でこのテンプレートに加えることができます。しかし、最初にあなたの提案した変更を、この項目のノートで議論するようにお願いします。
ショートカット
{{公式ウェブサイト}}
{{公式サイト}}
Luaモジュールを使用しています:
Module:Official website
.mw-parser-output .side-box{margin:4px 0;box-sizing:border-box;border:1px solid #aaa;font-size:88%;line-height:1.25em;background-color:#f9f9f9;display:flow-root}.mw-parser-output .side-box-abovebelow,.mw-parser-output .side-box-text{padding:0.25em 0.9em}.mw-parser-output .side-box-image{padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .side-box-imageright{padding:2px 0.9em 2px 0;text-align:center}@media(min-width:500px){.mw-parser-output .side-box-flex{display:flex;align-items:center}.mw-parser-output .side-box-text{flex:1}}@media(min-width:720px){.mw-parser-output .side-box{width:238px}.mw-parser-output .side-box-right{clear:right;float:right;margin-left:1em}.mw-parser-output .side-box-left{margin-right:1em}}このテンプレートはウィキデータプロパティを使用しています。
公式ウェブサイト (P856) (使用状況参照)
このテンプレートはウィキデータプロパティ
公式ウェブサイト (P856) (使用状況参照)
を追跡しています。
name= - 「公式ウェブサイト」以外の表示タイトルを使用したい時に指定。
mobile= - 公式ウェブサイトとURLが異なる公式携帯サイトのURLを指定。
format=flash - 閲覧にAdobe Flash Playerが必要な場合に指定。
何も指定せずテンプレートを使用した場合には、リンク先にウィキデータの値が自動で適用されます。
URLに&や=といった特殊な文字が入る場合はURLの前に1=を入力。
入力表示
{{Official website|example.org}} ⇒公式ウェブサイト
{{Official website|www.example.org}} ⇒公式ウェブサイト
{{Official website|http://www.example.org}} ⇒公式ウェブサイト
{{Official website|https://www.example.org}}公式ウェブサイト
{{Official website|1=http://www.example.org/?action=view}} ⇒公式ウェブサイト
{{Official website|http://www.example.org|name=Official example website}} ⇒Official example website
{{Official website|http://www.example.org|format=flash}} ⇒公式ウェブサイト (要Adobe Flash Player)
{{Official website|example.org|mobile=http://m.example.org}} ⇒公式ウェブサイト ( ⇒携帯)
TemplateDataこれはビジュアルエディターやテンプレートウィザードにより使用されるテンプレートのためのTemplateData文書です。
Official website公式ウェブサイトをリンク付きで表示する
パラメーター説明型状態
URL1
URL
url公式サイトのURL既定
{{#property:P856}}例
https://www.example.orgURL省略可能
name2
name表示タイトル既定
公式ウェブサイト例
Official example website文字列省略可能
formatformat閲覧にAdobe Flash Playerが必要な場合 flash を指定自動入力値
flash文字列省略可能
mobilemobile公式ウェブサイトとURLが異なる公式携帯サイトのURL例
https://m.example.orgURL省略可能
}}のInfobox内使用版
{{Official URL}}
{{Accessible URL}}
この解説は、Template:Official website/docから呼び出されています。 (編集 | 履歴)
編集者は、このテンプレートをサンドボックス (編集 | 差分)とテストケース (編集)で試すことができます。(解説)
/docのサブページにカテゴリを追加してください。 このテンプレートのサブページ一覧。