「テンプレート:飲食店」の版間の差分
提供: 川西図鑑
その他の操作
編集の要約なし |
編集の要約なし |
||
| 94行目: | 94行目: | ||
<div class="instagram-id" style="display:none;">{{{Instagram}}}</div> | <div class="instagram-id" style="display:none;">{{{Instagram}}}</div> | ||
<div class="tictok-id" style="display:none;">{{{TicTok}}}</div> | <div class="tictok-id" style="display:none;">{{{TicTok}}}</div> | ||
{{{Facebook | <div class="facebook-id" style="display:none;">{{{Facebook}}}</div> | ||
|- | |- | ||
! リンク | ! リンク | ||
| 314行目: | 314行目: | ||
if(username) { | if(username) { | ||
const a = document.createElement('a'); | const a = document.createElement('a'); | ||
a.href = `https://tictok.com/${username}/`; | a.href = `https://tictok.com/@${username}/`; | ||
a.target = "_blank"; | a.target = "_blank"; | ||
a.rel = "noopener noreferrer"; | a.rel = "noopener noreferrer"; | ||
| 326行目: | 326行目: | ||
a.appendChild(img); | a.appendChild(img); | ||
tictokdiv.parentNode.replaceChild(a, tictokdiv); | tictokdiv.parentNode.replaceChild(a, tictokdiv); | ||
} | |||
} | |||
const facebookdiv = document.querySelector('.facebook-id'); | |||
if(facebookdiv) { | |||
const username = facebookdiv.textContent.trim(); | |||
if(username) { | |||
const a = document.createElement('a'); | |||
a.href = `https://facebook.com/${username}/`; | |||
a.target = "_blank"; | |||
a.rel = "noopener noreferrer"; | |||
const img = document.createElement('img'); | |||
img.src = "/images/8/82/Facebook_Logo_Primary.png"; | |||
img.alt = "Facebook"; | |||
img.style.width = "50px"; | |||
img.style.height = "50px"; | |||
a.appendChild(img); | |||
facebookdiv.parentNode.replaceChild(a, facebookdiv); | |||
} | } | ||
} | } | ||
2025年12月3日 (水) 20:52時点における版
昼:
-
~
-
夜:
-
~
-
基本情報
| 店名 | 不明 |
|---|---|
| ジャンル | 不明 |
| 郵便番号 | 不明 |
| 住所 | 不明 |
| 営業時間 |
|
| 平均予算 | 昼:-~-
夜:-~- |
| 支払い方法 | 現金 不明
カード 不明
|
| SNS | |
| リンク |
|
たばこ
| 禁煙・喫煙 | 不明 |
|---|---|
| 喫煙専用室 | 不明 |
お席
| 総席数 | 不明 |
|---|---|
| 個室 | 不明 |
| 貸切 | 不明 |
設備
| Wi-Fi | 不明 |
|---|---|
| バリアフリー | 不明 |
| 駐車場 | 不明 |
| その他設備 | 不明 |
その他
| 飲み放題 | 不明 |
|---|---|
| 食べ放題 | 不明 |
| お子様連れ | 不明 |
このテンプレートはテーブル「飲食店情報」を定義しています。 このテーブルはまだ作成されていません。