Difference between revisions of "Template:Chess diagram"
From Chess Variant Wiki
(remove letters from top, per discussion) |
(add option to display letters on top/bottom, default to both) |
||
Line 2: | Line 2: | ||
<div style="border:1px solid #b0b0b0; background:#f9f9f9; padding-top:6px"> | <div style="border:1px solid #b0b0b0; background:#f9f9f9; padding-top:6px"> | ||
<table cellpadding="0" cellspacing="0" style="border: 1px solid #b0b0b0; background-color: #ffce9e; margin:auto"><!-- | <table cellpadding="0" cellspacing="0" style="border: 1px solid #b0b0b0; background-color: #ffce9e; margin:auto"><!-- | ||
− | -->{{Chess diagram/row|row=8|size={{{size|26px}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}}}<!-- | + | -->{{#switch:{{{letters|both}}}|top|both={{Chess diagram/letters}}}}{{Chess diagram/row|row=8|size={{{size|26px}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}}}<!-- |
-->{{Chess diagram/row|row=7|size={{{size|26px}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}}}<!-- | -->{{Chess diagram/row|row=7|size={{{size|26px}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}}}<!-- | ||
-->{{Chess diagram/row|row=6|size={{{size|26px}}}|{{{19|}}}|{{{20|}}}|{{{21|}}}|{{{22|}}}|{{{23|}}}|{{{24|}}}|{{{25|}}}|{{{26|}}}}}<!-- | -->{{Chess diagram/row|row=6|size={{{size|26px}}}|{{{19|}}}|{{{20|}}}|{{{21|}}}|{{{22|}}}|{{{23|}}}|{{{24|}}}|{{{25|}}}|{{{26|}}}}}<!-- | ||
Line 10: | Line 10: | ||
-->{{Chess diagram/row|row=2|size={{{size|26px}}}|{{{51|}}}|{{{52|}}}|{{{53|}}}|{{{54|}}}|{{{55|}}}|{{{56|}}}|{{{57|}}}|{{{58|}}}}}<!-- | -->{{Chess diagram/row|row=2|size={{{size|26px}}}|{{{51|}}}|{{{52|}}}|{{{53|}}}|{{{54|}}}|{{{55|}}}|{{{56|}}}|{{{57|}}}|{{{58|}}}}}<!-- | ||
-->{{Chess diagram/row|row=1|size={{{size|26px}}}|{{{59|}}}|{{{60|}}}|{{{61|}}}|{{{62|}}}|{{{63|}}}|{{{64|}}}|{{{65|}}}|{{{66|}}}}}<!-- | -->{{Chess diagram/row|row=1|size={{{size|26px}}}|{{{59|}}}|{{{60|}}}|{{{61|}}}|{{{62|}}}|{{{63|}}}|{{{64|}}}|{{{65|}}}|{{{66|}}}}}<!-- | ||
− | -->{{Chess diagram/letters}} | + | -->{{#switch:{{{letters|both}}}|bottom|both={{Chess diagram/letters}}}} |
</table> | </table> | ||
<div class="thumbcaption" style="margin-left:4px;margin-right:4px;">{{{67|}}}</div> | <div class="thumbcaption" style="margin-left:4px;margin-right:4px;">{{{67|}}}</div> |
Revision as of 15:00, 19 May 2010
{{{2}}}
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}