サイト内検索

[将棋][素材]将棋盤のコード

Wordpressでも使えるかな?
動作環境はadiaryを想定してます。
が、ただのHTMLコードなので大体なんでも使えると思います。


使うときは以下のようにclassを書き換えてください。
shougi ▲先手
shougi gote▽後手
イケてないんでどうにかしたいんですよね、コレ

<table>\
<thead>\
<th><span class="shougi">9</span></th>\
<th><span class="shougi">8</span></th>\
<th><span class="shougi">7</span></th>\
<th><span class="shougi">6</span></th>\
<th><span class="shougi">5</span></th>\
<th><span class="shougi">4</span></th>\
<th><span class="shougi">3</span></th>\
<th><span class="shougi">2</span></th>\
<th><span class="shougi">1</span></th>\
<th><span class="shougi"></span></th>\
</thead>\
\
<tbody>\
<tr>\
<td><span class="shougi gote">香</span></td>\
<td><span class="shougi gote">桂</span></td>\
<td><span class="shougi gote">銀</span></td>\
<td><span class="shougi gote">金</span></td>\
<td><span class="shougi gote">玉</span></td>\
<td><span class="shougi gote">金</span></td>\
<td><span class="shougi gote">銀</span></td>\
<td><span class="shougi gote">桂</span></td>\
<td><span class="shougi gote">香</span></td>\
\
<th><span class="shougi">一</span></th>\
</tr>\
<tr>\
<td><span class="shougi gote"></span></td>\
<td><span class="shougi gote">飛</span></td>\
<td><span class="shougi gote"></span></td>\
<td><span class="shougi gote"></span></td>\
<td><span class="shougi gote"></span></td>\
<td><span class="shougi gote"></span></td>\
<td><span class="shougi gote"></span></td>\
<td><span class="shougi gote">角</span></td>\
<td><span class="shougi gote"></span></td>\
\
<th><span class="shougi">二</span></th>\
</tr>\
<tr>\
<td><span class="shougi gote">歩</span></td>\
<td><span class="shougi gote">歩</span></td>\
<td><span class="shougi gote">歩</span></td>\
<td><span class="shougi gote">歩</span></td>\
<td><span class="shougi gote">歩</span></td>\
<td><span class="shougi gote">歩</span></td>\
<td><span class="shougi gote">歩</span></td>\
<td><span class="shougi gote">歩</span></td>\
<td><span class="shougi gote">歩</span></td>\
\
<th><span class="shougi">三</span></th>\
</tr>\
<tr>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
\
<th><span class="shougi">四</span></th>\
</tr>\
<tr>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
\
<th><span class="shougi">五</span></th>\
</tr>\
<tr>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
\
<th><span class="shougi">六</span></th>\
</tr>\
<tr>\
<td><span class="shougi">歩</span></td>\
<td><span class="shougi">歩</span></td>\
<td><span class="shougi">歩</span></td>\
<td><span class="shougi">歩</span></td>\
<td><span class="shougi">歩</span></td>\
<td><span class="shougi">歩</span></td>\
<td><span class="shougi">歩</span></td>\
<td><span class="shougi">歩</span></td>\
<td><span class="shougi">歩</span></td>\
\
<th><span class="shougi">七</span></th>\
</tr>\
<tr>\
<td><span class="shougi"></span></td>\
<td><span class="shougi">角</span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi"></span></td>\
<td><span class="shougi">飛</span></td>\
<td><span class="shougi"></span></td>\
\
<th><span class="shougi">八</span></th>\
</tr>\
<tr>\
<td><span class="shougi">香</span></td>\
<td><span class="shougi">桂</span></td>\
<td><span class="shougi">銀</span></td>\
<td><span class="shougi">金</span></td>\
<td><span class="shougi">玉</span></td>\
<td><span class="shougi">金</span></td>\
<td><span class="shougi">銀</span></td>\
<td><span class="shougi">桂</span></td>\
<td><span class="shougi">香</span></td>\
\
<th><span class="shougi">九</span></th>\
</tbody>\
</table>\
使い方の相談やバグ情報などは【将棋】雑談・考察掲示板によろしくです!
OK キャンセル 確認 その他