Property talk:P6648

From Wikidata
Jump to navigation Jump to search

Documentation

position in Forsyth-Edwards Notation
board position in a chess game described in Forsyth–Edwards Notation (FEN)
RepresentsForsyth–Edwards Notation (Q719519), chess condition (Q54935803)
Data typeString
Domain
According to this template: item/media related to chess
According to statements in the property:
chess game (Q2683596), chess opening (Q103632), chess piece (Q208440), rules of chess (Q3392263), chess condition (Q54935803) or chess puzzle (Q2891654)
When possible, data should only be stored as statements
Allowed values([1-8pnbrqkPRNBQK]{1,8}\/){7}[1-8prnbqkPNBRQK]{1,8}( [wb]( (K?Q?k?q?|-) (-|[a-h][36]) \d\d? [1-9]\d*)?)?
Examplestarting position (Q62092390) → rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
English opening (Q110693) → rnbqkbnr/pppppppp/8/8/2P5/8/PP1PPPPP/RNBQKBNR b
Immortal chess problem (Q1691069) → 3Q4/5q1k/4ppp1/2Kp1N1B/RR6/3P1r2/4nP1b/3b4 w
Commons example
Lists
Proposal discussionProposal discussion
Current uses
Total46
Main statement4087% of uses
Qualifier613% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “([1-8pnbrqkPRNBQK]{1,8}\/){7}[1-8prnbqkPNBRQK]{1,8}( [wb]( (K?Q?k?q?|-) (-|[a-h][36]) \d\d? [1-9]\d*)?)?: value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6648#Format, SPARQL

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

Using P6648[edit]

Module:Chessboard[edit]

{{#invoke:Chessboard|board|fen={{#property:P6648|from=Q1691069}}|align=tleft}}


abcdefgh
8
d8 white queen
f7 black queen
h7 black king
e6 black pawn
f6 black pawn
g6 black pawn
c5 white king
d5 black pawn
f5 white knight
h5 white bishop
a4 white rook
b4 white rook
d3 white pawn
f3 black rook
e2 black knight
f2 white pawn
h2 black bishop
d1 black bishop
8
77
66
55
44
33
22
11
abcdefgh


Template for talk page of items with this property[edit]

{{Chess board for talk page}}

uses Template:Chess board for talk page to display a chessboard with the value of P6648.

See Talk:Q62092390.

Discussion[edit]

Proposal for datatype[edit]

@קיפודנחש, ديفيد عادل وهبة خليل 2, ערן, Mahir256:@Dhx1, Jheald:

Made this could be converted into a new dataype to be displayed by default. See phab:T223460. --- Jura 10:16, 17 May 2019 (UTC)[reply]