「テンプレート:組織」の版間の差分
Twitterアカウントが省略の場合に対応 |
tableタグを使い、Twitterアカウントのパラメータが空の場合には項目を表示しないよう微調整。 |
||
| 1行目: | 1行目: | ||
< | <table style="border: 1px solid; width:25em; float: right; font-size: 90%;"> | ||
<tr> | |||
<th colspan="2">{{{名称}}}</th> | |||
</tr> | |||
<tr> | |||
<th>[[Property:Address | 所在地]]</th> | |||
<td>[[Address::{{{所在地}}}]]</td> | |||
</tr> | |||
<tr> | |||
| | <th>[[Property:Website | ウェブサイト]]</th> | ||
<td>[[Website::{{{URL|}}}]]</td> | |||
</tr> | |||
|}{{DEFAULTSORT:{{{よみ|}}}}}<includeonly>[[Category:組織・団体]]</includeonly> | {{#if:{{{Twitterアカウント|}}}| | ||
< | <tr> | ||
<th>Twitter</th> | |||
<td>{{{Twitterアカウント|}}}</td> | |||
|}}</table>{{DEFAULTSORT:{{{よみ|}}}}}<includeonly>[[Category:組織・団体]]</includeonly><noinclude> | |||
組織用テンプレートです。 | |||
<!-- now some annotations that don't appear in the template --> | <!-- now some annotations that don't appear in the template --> | ||
<pre>{{組織 | <pre>{{組織 | ||
|名称= | |名称= | ||