差分

ナビゲーションに移動 検索に移動
133 バイト追加 、 2011年9月17日 (土) 19:59
tableタグを使い、Twitterアカウントのパラメータが空の場合には項目を表示しないよう微調整。
1行目: 1行目: −
<onlyinclude>{|style="border: 1px solid; width:25em; float: right; font-size: 90%;" ;
+
<table style="border: 1px solid; width:25em; float: right; font-size: 90%;">
|-
+
<tr>
! colspan="2" | {{{名称}}}
+
<th colspan="2">{{{名称}}}</th>
|-
+
</tr>
! [[Property:Address | 所在地]]
+
<tr>
| [[Address::{{{所在地}}}]]
+
<th>[[Property:Address | 所在地]]</th>
|-
+
<td>[[Address::{{{所在地}}}]]</td>
! [[Property:Website | ウェブサイト]]
+
</tr>
| [[Website::{{{URL}}}]]
+
<tr>
|-
+
<th>[[Property:Website | ウェブサイト]]</th>
!Twitter
+
<td>[[Website::{{{URL|}}}]]</td>
|{{{Twitterアカウント|}}}
+
</tr>
|}{{DEFAULTSORT:{{{よみ|}}}}}<includeonly>[[Category:組織・団体]]</includeonly>
+
{{#if:{{{Twitterアカウント|}}}|
</onlyinclude>
+
<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 -->
<noinclude>
   
<pre>{{組織
 
<pre>{{組織
 
|名称=
 
|名称=

案内メニュー