Šablon:Šahovski dijagram

Sa Wikipedije, slobodne enciklopedije
Idi na: navigacija, traži
Template-info.svg Dokumentacija šablona [uredi] [historija] [osvježi keš]
Ova dokumentacija je prikazana u Šablon:Šahovski dijagram/dok.

Korištenje[uredi | uredi izvor]

  • Chess kll44.png Chess kld44.png Chess kdl44.png Chess kdd44.png k = kralj
  • Chess qld44.png Chess qll44.png Chess qdd44.png Chess qdl44.png q = kraljica
  • Chess rll44.png Chess rld44.png Chess rdl44.png Chess rdd44.png r = top
  • Chess bld44.png Chess bll44.png Chess bdd44.png Chess bdl44.png b = lovac
  • Chess nll44.png Chess nld44.png Chess ndl44.png Chess ndd44.png n = skakač
  • Chess pld44.png Chess pll44.png Chess pdd44.png Chess pdl44.png p = pješak
  • Chess all44.png Chess ald44.png Chess adl44.png Chess add44.png a = nadbiskup (skakač + lovac; figura u tzv. Capablankinom šahu)
  • Chess cld44.png Chess cll44.png Chess cdd44.png Chess cdl44.png c = kancelar (skakač + top; figura u tzv. Capablankinom šahu)
  • Chess fll44.png Chess fld44.png Chess fdl44.png Chess fdd44.png f = obrnuti kralj
  • Chess gld44.png Chess gll44.png Chess gdd44.png Chess gdl44.png g = obrnuta kraljica
  • Chess mll44.png Chess mld44.png Chess mdl44.png Chess mdd44.png m = obrnuti top
  • Chess eld44.png Chess ell44.png Chess edd44.png Chess edl44.png e = obrnuti lovac
  • Chess sll44.png Chess sld44.png Chess sdl44.png Chess sdd44.png s = obrnuti skakač
  • Chess hld44.png Chess hll44.png Chess hdd44.png Chess hdl44.png h = obrnuti pješak
  • Chess zll44.png Chess zld44.png Chess zdl44.png Chess zdd44.png z = šampion (za Omega šah)
  • Chess wld44.png Chess wll44.png Chess wdd44.png Chess wdl44.png w = čarobnjak (za Omega šah)

Koristite "l" za Light = Bijeli, ili "d" za Dark = Crni. Znači, "kl" je bijeli kralj, a "kd" crni kralj.

  • Chess d45.svgChess l45.svg <space> = prazno polje
  • Chess xxd45.svgChess xxl45.svg xx = križić/x
  • Chess xod45.svgChess xol45.svg xo = crni kružić
  • Chess ood44.pngChess ool44.png oo = bijeli kružić
  • Chess x0d45.svgChess x0l45.svg x0
  • Chess x1d45.svgChess x1l45.svg x1
  • Chess x2d45.svgChess x2l45.svg x2
  • Chess x3d45.svgChess x3l45.svg x3
  • Chess x4d45.svgChess x4l45.svg x4
  • Chess x5d45.svgChess x5l45.svg x5
  • Chess x6d45.svgChess x6l45.svg x6
  • Chess x7d45.svgChess x7l45.svg x7
  • Chess x8d45.svgChess x8l45.svg x8
  • Chess x9d45.svgChess x9l45.svg x9

Primjer[uredi | uredi izvor]

Solid white.svg a b c d e f g h Solid white.svg
8 alt= black rook alt= black knight alt= black bishop alt= black queen alt= black king alt= black bishop alt= black knight alt= black rook 8
7 alt= black pawn alt= black pawn alt= black pawn alt= black pawn alt= black pawn alt= black pawn alt= black pawn 7
6 6
5 alt= black pawn 5
4 alt= white pawn alt= white pawn 4
3 3
2 alt= white pawn alt= white pawn alt= white pawn alt= white pawn alt= white pawn alt= white pawn 2
1 alt= white rook alt= white knight alt= white bishop alt= white queen alt= white king alt= white bishop alt= white knight alt= white rook 1
Solid white.svg a b c d e f g h Solid white.svg
{{Šahovski dijagram
| tright
| 
|= 

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

| 
}}

Kod[uredi | uredi izvor]

{{Šahovski dijagram
| <!-- tright za desno -->
| <!--Naslov -->
|= 

 8 |  |  |  |  |  |  |  |  |=
 7 |  |  |  |  |  |  |  |  |=
 6 |  |  |  |  |  |  |  |  |=
 5 |  |  |  |  |  |  |  |  |=
 4 |  |  |  |  |  |  |  |  |=
 3 |  |  |  |  |  |  |  |  |=
 2 |  |  |  |  |  |  |  |  |=
 1 |  |  |  |  |  |  |  |  |=
    a  b  c  d  e  f  g  h  

| <!-- Tekst -->
}}

Pogledaj također[uredi | uredi izvor]