「Wikipedia:バベル 日本語の方言」の版間の差分

削除された内容 追加された内容
ZakkiiR (会話 | 投稿記録)
編集の要約なし
タグ: 2017年版ソースエディター
Moko256 (会話 | 投稿記録)
使用例をBoxboxテンプレートを使うように変更(エラー解消+コードを短く)
587行目:
<h2 style="padding: 5px; background: #C2D3FC; color: darkblue; text-align: left; font-weight: bold; font-size: 12pt; margin-bottom: 5px; margin-top: 0; margin-left:-5px; margin-right:-4px;">使用例</h2>
----
<divsyntaxhighlight lang="html" style="background-color:#eee">
{{Boxboxtop
<nowiki><table style="background:#ffffff; float:right; margin-right: 0em; margin-bottom: 0em; width=200px; border: #669 solid 1px"></nowiki></br>
| align=right
<nowiki>{|align:center;font-size:9pt"</nowiki></br>
| bordercolor=#669
<nowiki> |bgcolor=#ffffff |</nowiki></br>
| toptext=
<nowiki><h2 style="border: 0; padding-left: 1em; font-size: medium; color: #fff; background-color: #3f4b4f; margin-top: 0em;"></nowiki></br>
<nowiki>'''本日は''' {{#time:xtY年n月j日|+9 hours}}</br></nowiki></br>
<nowiki>'''時刻本日は''' {{#time:H:i:sxtY年n月j日|+9 hours}} (JST)<br/h2></nowiki></br>
'''本日時刻は''' {{#time:xtY年n月j日H:i:s|+9 hours}} (JST)</brh2>
<nowiki><tr><td><center>'''[[Wikipedia:バベル]]/[[Wikipedia:バベル 日本語の方言|方言バベル]]'''</center></td></tr></nowiki></br>
<nowiki><tr><td>{{User ja}}</td></tr></nowiki></br>
}}
<nowiki><tr><td>{{User id}}</td></tr></nowiki></br>
{{User ja}}
<nowiki><tr><td>{{User en-1}}</td></tr></nowiki></br>
{{User id}}
<nowiki><tr><td>{{方言ユーザー|佐賀弁}}</td></tr></nowiki></br>
{{User en-1}}
<nowiki>|}</table></nowiki>
<nowiki><tr><td>{{方言ユーザー|佐賀弁}}</td></tr></nowiki></br>
</div>
{{Boxboxbottom}}
</syntaxhighlight>
----
{{Boxboxtop
<table style="background:#ffffff; float:right; margin-right: 0em; margin-bottom: 0em; width=200px; border: #669 solid 1px">
| align=right
{|align:center;font-size:9pt"
| bordercolor=#669
|bgcolor=#ffffff |
| toptext=
<h2 style="border: 0; padding-left: 1em; font-size: medium; color: #fff; background-color: #3f4b4f; margin-top: 0em;">
'''本日は''' {{#time:xtY年n月j日|+9 hours}}</br>
'''時刻本日は''' {{#time:H:i:sxtY年n月j日|+9 hours}} (JST)<br/h2>
'''時刻は''' {{#time:H:i:s|+9 hours}} (JST)</h2>
<tr><td><center>'''[[Wikipedia:バベル]]/[[Wikipedia:バベル 日本語の方言|方言バベル]]'''</center></td></tr>
<tr><td>{{User ja}}</td></tr>
}}
<tr><td>{{User id}}</td></tr>
<tr><td>{{User en-1ja}}</td></tr>
{{User id}}
<tr><td>{{方言ユーザー|佐賀弁}}</td></tr>
{{User en-1}}
|}</table>
<tr><td>{{方言ユーザー|佐賀弁}}</td></tr>
{{Boxboxbottom}}
''とすると右のように表示されます。''
<br clear="all" />