Sjabloon:Diagram schaken

Uit Wiki Raamsdonks Erfgoed
Versie door Colani (overleg | bijdragen) op 20 jun 2024 om 06:11 (Nieuwe pagina aangemaakt met '<includeonly>{| cellspacing="0" cellpadding="0" style="{{#switch:{{{positie|}}} | right = float:right; clear:right; margin-left:1em; | centre|center = margin:0 auto 0 auto; | left = float:left; clear:left; margin-right:1em; | #default = float:left; clear:left; margin-right:1em; }} border-collapse:collapse;" {{#If:{{{kopregel|}}} | {{!}}- {{!}} {{!}} colspan="8" {{!}} <div style="float:left; width:235px; padding:3px; margin-bottom:0.8em; border-width:0px; borde...')
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)



De sjabloonbeschrijving hieronder wordt niet afgebeeld wanneer het sjabloon wordt geplaatst

Doel

Het tonen van een schaakbord met stukken.

Gebruik

{{Diagram schaken
| positie= 
| kopregel= 
| a8=  |b8=  |c8=  |d8=  |e8=  |f8=  |g8=  |h8= 
| a7=  |b7=  |c7=  |d7=  |e7=  |f7=  |g7=  |h7= 
| a6=  |b6=  |c6=  |d6=  |e6=  |f6=  |g6=  |h6= 
| a5=  |b5=  |c5=  |d5=  |e5=  |f5=  |g5=  |h5= 
| a4=  |b4=  |c4=  |d4=  |e4=  |f4=  |g4=  |h4= 
| a3=  |b3=  |c3=  |d3=  |e3=  |f3=  |g3=  |h3= 
| a2=  |b2=  |c2=  |d2=  |e2=  |f2=  |g2=  |h2= 
| a1=  |b1=  |c1=  |d1=  |e1=  |f1=  |g1=  |h1= 
| voetregel= 
}}

Het sjabloon kan links uitgelijnd, gecentreerd of rechts op een pagina uitgelijnd worden door de parameter | positie= door daarvoor respectievelijk left, center of right op te geven. Normaal gesproken wordt het sjabloon links uitgelijnd.

Stukken

De mogelijke stukken die er gebruikt kunnen worden:

kl kl kl kd kd kd kL kL kL kD kD kD
ql ql ql qd qd qd qL qL qL qD qD qD
bl bl bl bd bd bd bL bL bL bD bD bD
nl nl nl nd nd nd nL nL nL nD nD nD
rl rl rl rd rd rd rL rL rL rD rD rD
pl pl pl pd pd pd pL pL pL pD pD pD

Tekens om velden te markeren

xx xx xx x1 Bestand:Chess x1l45.svg Bestand:Chess x1d45.svg la Bestand:Chess lal45.svg Bestand:Chess lad45.svg ul Bestand:Chess ull45.svg Bestand:Chess uld45.svg
xb xb xb x2 Bestand:Chess x2l45.svg Bestand:Chess x2d45.svg ra Bestand:Chess ral45.svg Bestand:Chess rad45.svg dr Bestand:Chess drl45.svg Bestand:Chess drd45.svg
xg xg xg x3 Bestand:Chess x3l45.svg Bestand:Chess x3d45.svg lr Bestand:Chess lrl45.svg Bestand:Chess lrd45.svg dw Bestand:Chess dwl45.svg Bestand:Chess dwd45.svg
xr xr xr x4 Bestand:Chess x4l45.svg Bestand:Chess x4d45.svg ua Bestand:Chess ual45.svg Bestand:Chess uad45.svg ur Bestand:Chess url45.svg Bestand:Chess urd45.svg
xy xy xy x5 Bestand:Chess x5l45.svg Bestand:Chess x5d45.svg da Bestand:Chess dal45.svg Bestand:Chess dad45.svg dl Bestand:Chess dll45.svg Bestand:Chess dld45.svg
ox ox ox x6 Bestand:Chess x6l45.svg Bestand:Chess x6d45.svg ud Bestand:Chess udl45.svg Bestand:Chess udd45.svg db Bestand:Chess dbl45.svg Bestand:Chess dbd45.svg
xo xo xo x7 Bestand:Chess x7l45.svg Bestand:Chess x7d45.svg
oo oo oo x8 Bestand:Chess x8l45.svg Bestand:Chess x8d45.svg
bb Bestand:Chess bbl45.svg Bestand:Chess bbd45.svg x9 Bestand:Chess x9l45.svg Bestand:Chess x9d45.svg
(leeg) chess_l45.svg chess_d45.svg x0 Bestand:Chess x0l45.svg Bestand:Chess x0d45.svg

Beginstelling

8 rd nd bd qd kd bd nd rd
7 pd pd pd pd pd pd pd pd
6
5
4
3
2 pl pl pl pl pl pl pl pl
1 rl nl bl ql kl bl nl rl
a b c d e f g h