Template: Chess diagram
Syntax
There are many templates of standard chess diagrams:
- Template:Chess diagram (square size 26x26 px)
- Template:Small chess diagram (square size 22x22 px)
- Template:Chess Diagram 5x5; Template:Chess Diagram 6x6 (the largest, squares of 26px; can also be used for smaller sections of the board or Miniajedrez and Chess The Alamos)
There are also chess variant templates:
- Template:Chess Diagram 8x10 (Capablanca Chess with 10 columns, 26x26 px)
- Template:Raumschach Diagram (Table 5x5x5 for Three-dimensional Chess, 22x22 px)
- Template:Omega chess diagram (Omega Chess with a 10x10 board + 4 corners, 22x22 px)
Syntax is basically the same for everyone.
{{Diagram of chess alignment tax (param #1) أعربية (#2) أعربية مع أعر مع مع مع مع مامام ماما ما ما م م ما م م ما م مام م م ما ما م ما م ما م م م ما م م م م م م م م م م م ما م ما م م ما ما م م م م ما م م م م م م م م م م م م م ما م م م م م ما م م م م م م م ما م م م م م م م م م م م م م ما م م ما م م م م ما م م م أعر أع م م م م م م م م م م ما م م م م م م م م م م م م م ك ك م م ك ك ك م م م ما م م م م م م ك ك م ك ك ك ك ك ك م م م م م م م م ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك ك م م م م م م م ك مام م م م م م م م م م م م م م م م م ... أعربية أعربية Русский أع أع مع مع مع مع مع من ما م ما ما م ما ما ما م م ما ما م م ما ما م ما م م ما م م م م م م م م م ما ما ما ما ما ما ما م ما ما م م م م م ما ما م م ما ما ما م م م م م م ما م م م م م م م م م م م م م م م م م ما م م م م م م ما م م م م ما م م م (#67) !
Parameters:
– defines the horizontal alignment (floating) of the entire board, should be
tright
ortleft
(or nothing)
– The text that appears above the diagram may be empty;, ,...
– defines corresponding boxes of the board, see below;– the text below the diagram may be empty; optional - may not be placed (even not in the other templates)
A box is defined by the name of the piece or the empty parameter. The names of the pieces are given in algebraic notation:
- k = king (king)
- q = queen (dama)
- r = rook (torre)
- b = bishop (alfil)
- n = knight (horn)
- P = pawn (peon)
There are also some magical pieces available:
- a = archbishop (arzobispo Δ horse + alfil)
- c = chancelor (cancellor 8.000 horse + tower)
- f = upside-down king (right backwards)
- g = upside-down queen (dome backwards)
- m = upside-down rook (turn backwards)
- e = upside-down bishop (backward ivory)
- s = upside-down knight (backside down)
- h = upside-down pawn (backsided pawn)
- z = champion - for chess Omega (field)
- w = wizard - for chess Omega (mago)
These letters are combined with "l" for Light=White (white), or "d" for Dark=Black (black). So "kl" is a White King, and "nd" is a Black Horse. First the letter corresponding to the piece is placed and second the letter of the color.
A black square is written using "_", spaces, or nothing. It is recommended to use two spaces.
You can also use "xx" for a cross,"xo" for a black circle or "oo" for a white one.
You can also add numbers to the box using "x1" for 1, "x2" for 2,..., "x9" for 9. There's no 0.
Examples
In the following examples the rows and columns are listed. Because any text between "UD=" and the next "VAID" is ignored, numbers and letters can be added without affecting the output.
Standard diagram
This diagram is recommended for common use as a main diagram in opening articles, finals, games, positions, etc. See the corresponding code below.
{{Diagram of chess Δ tright 日本語 SPECIAL= 8 overseerd. 7 Șpd. 6 complete.. 5 whole.. 4 whole... 3 complete.. 2 UDpl.S.B.S.S.S.S.B.S. 1 Șrl. a b c d e f h Δ Gambito de Rey !
Diagram with the two titles
This can be convenient in chess trouble articles. Note that both in the header and foot can be used bold Italian. It can also be used to jump online.
{{Diagram of chess Δ tright ''W. Langstaff', ''Chess Amateur' 1922 SPECIAL= 8 complete.. 7 complete.. 6 gap.. 5 Old.. 4 complete.. 3 complete.. 2 complete.. 1. a b c d e f h Δ ''Mate en dos.''' θbr This problem uses the 'partial retrograde analysis' method. !
Diagram without titles
See the corresponding code below. If you don't want to put titles, you only remove them, but you should not remove the second "SD" from the top title; you can remove the "SD" from the title below.
{{Diagram of chess 日本語 tleft 日本語 SPECIAL= 8 gap.. 7 complete.. 6 Old.. 5 gap.. 4 complete.. 3 complete.. 2 complete.. 1. a b c d e f h !
Small diagram
This can be useful in articles with many diagrams. Use another template called {{Diagrama de ajedrez pequeño}}
.
Small diagrams may have header as well.
{{Diagram of small chess Δ tright 日本語 SPECIAL= 8 Facilitard. 7 UDBDBODYBODY. 6 complete. 5 whole.. 4 complete.. 3 complete.. 2 ΔplUDBOSID LICOS LICOS LICOS UBOSBELS 1 complete.. a b c d e f h Δ Position after 11. Ag5. !
Different board sizes
Tablets with non-conventional dimensions need epic templates. There are templates for the following boards:
{{Diagram chess 5x5 Δ tright 日本語 SPECIAL= 5 Șkd.qd 4 Șpd.pd. 3 complete.. 2 UDpl.S.B.S.B.S. 1 ȘklDoqlDobl. ab c d Δ Miniajedrez de Gardner ! |
{{Diagram chess 6x6 Δ tright 日本語 SPECIAL= 6 overseerd. 5 Șpd. 4 complete.. 3 complete.. 2 UDpl.S.B.S.P.S.A. 1 Șrl. a b c d Ajedrez Los Alamos ! |
{{{ 8x10 Δ tright 日本語 SPECIAL= 8 overseerd. 7 Șpd.pd. 6 complete.. 5 whole.. 4 complete.. 3 complete.. 2 UDpl.SympsSymplunSymph.SymplunSymph. 1 Șrl. a b c d e f h i j Capablanca Chess ! |
{{Diagram chess 10x10 Δ tright 日本語 SPECIAL= 10 Facilitard. 9 complete. 8 Șpd. 7 complete... 6 complete.. 5 whole.. 4 complete.. 3 ΔplUDBYplUDBplBYBYBODBplBSDplSDplBSDplBY: 2 Δnl. 1 Facilitarl. a b c d e f h i j 日本語 Great Chess ! |
Double boards
{{Diagram of double chess A1 = Team 1, Board A A2 = Team 2, Board A Δ B1 = Team 1, Board B Δ B2 = Team 2, Board B Δ tright 日本語 SPECIAL= 8 overseerd. 7 Șpd.pd. 6 complete.. 5 gap.. 4 complete.. 3 complete.. 2 UDpl.Symps.pl.Symps. 1 Șrl. a b c d e f h 8 Șrl. 7 UDpl.Symps.pl.Symps.Symps. 6 complete.. 5 gap.. 4 complete.. 3 complete.. 2 Δpd.pd. 1 overseerd. a b c d e f h Δ ''Organization and initial position of Pasapiezas'' ! |
{{Diagram of double chess Δ tright 日本語 SPECIAL= 8 overseerd. 7 Șpd. 6 complete.. 5 whole.. 4 complete.. 3 complete.. 2 UDpl.Symps.pl.Symps. 1 Facilitarl. a b c d e f h Table A 8 gap.. 7 complete.. 6 complete.. 5 complete.. 4 complete.. 3 complete.. 2 complete.. 1. a b c d e f h Table B Δ Position after '''1.Cf3 e6 2.Ce5 Ac5'''. ! |
Tablets with different shape
{{Diagram of Raumschach Δ tright 日本語 SPECIAL= 5 overseerd. 4 Șpd.pd. 3 complete.. 2 gap.. 1 gap.. Ea Eb Ec Ed Ee 5 UDBd. 4 Șpd.pd. 3 complete.. 2 gap.. 1 gap.. Da Db Dc Dd De 5 gap.. 4 whole.. 3 complete.. 2 gap.. 1 gap.. Ca Cb Cc Cd Ce 5 gap.. 4 whole.. 3 complete.. 2 UDpl.S.B.S.B.S. 1 UDIBLYSLIDSLUSBLYBLYSLIDSLINE= Ba Bb Bc Bd 5 gap.. 4 whole.. 3 complete.. 2 UDpl.S.B.S.B.S. 1 Facilitarl. Aa Ab Ac Ad Ae Δ Raumschach ! |
{{Diagram of chess Omega 日本語 [[Ajedrez OmegaIOSAjedrez Omega]] (10x10 + 4 corners) SPECIAL= w4 w3 LICKWDVA = LICKWD 9 Șzd. 8 Șpd. 7 complete... 6 complete.. 5 whole.. 4 complete.. 3 complete.. 2 complete.. 1 UDpl.Symps.pl.Symps.Symps. 0 ȘzlDolDolDolBlDoblDoblDobl.DolDoldobl 日本語 w1 a b c d e f h i j w2 - initial position ! |
Editors can experience in the testing area (create) and test cases (create) of the template.
Please add the categories in the documentation subpage. Subpages of this template.
Contenido relacionado
Grand Theft Auto (video game)
Link
Everquest
Sid Meier's Gettysburg!
Missile Command