Property talk:P6648
Jump to navigation
Jump to search
Documentation
position in Forsyth-Edwards Notation
board position in a chess game described in Forsyth–Edwards Notation (FEN)
board position in a chess game described in Forsyth–Edwards Notation (FEN)
Represents | Forsyth–Edwards Notation (Q719519), chess condition (Q54935803) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Data type | String | |||||||||
Domain | According to this template:
item/media related to chess
According to statements in the property:
When possible, data should only be stored as statementschess game (Q2683596), chess opening (Q103632), chess piece (Q208440), rules of chess (Q3392263), chess condition (Q54935803) or chess puzzle (Q2891654) | |||||||||
Allowed values | ([1-8pnbrqkPRNBQK]{1,8}\/){7}[1-8prnbqkPNBRQK]{1,8}( [wb]( (K?Q?k?q?|-) (-|[a-h][36]) \d\d? [1-9]\d*)?)? | |||||||||
Example | starting 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 discussion | Proposal discussion | |||||||||
Current uses |
| |||||||||
Search for values |
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “chess game (Q2683596), chess opening (Q103632), chess piece (Q208440), rules of chess (Q3392263), chess condition (Q54935803), chess puzzle (Q2891654)”: item must contain property “instance of (P31), subclass of (P279)” with classes “chess game (Q2683596), chess opening (Q103632), chess piece (Q208440), rules of chess (Q3392263), chess condition (Q54935803), chess puzzle (Q2891654)” or their subclasses (defined using subclass of (P279)). (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#Type Q2683596, Q103632, Q208440, Q3392263, Q54935803, Q2891654, SPARQL
Format “
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). ([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)List of violations of this constraint: Database reports/Constraint violations/P6648#Format, SPARQL
This property is being used by: 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}}
a | b | c | d | e | f | g | h | ||
8 | 8 | ||||||||
7 | 7 | ||||||||
6 | 6 | ||||||||
5 | 5 | ||||||||
4 | 4 | ||||||||
3 | 3 | ||||||||
2 | 2 | ||||||||
1 | 1 | ||||||||
a | b | c | d | e | f | g | h |
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)