Template:Sheets KDR (grid to id)

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Use[edit]

Based on table at de:Karte des Deutschen Reiches (Generalstabskarte) #Blattschnitt, determines the map sheet (numbered 1 to 674) for a specific grid position (35 columns, 35 rows): last two digits are columns, the other rows. Samples: 212 = row 2 column 12, 3512 = row 35 column 12.

If no sheet is available for a given grid position, nothing is returned.

Inverse mapping is done with Template:Sheets KDR (id to grid). Used by Template:Neighboring sheets Karte des Deutschen Reiches.

Sample 1[edit]

Input (row 35, column 12)

{{Sheets KDR (grid to id)|3512}}

Output

673


Sample 2[edit]

Input (row 35, column 35)

{{Sheets KDR (grid to id)|3535}}

Output

Sample 3[edit]

Input (display sheet for row 35, column 12)

{{Sheets KDR|{{Sheets KDR (grid to id)|3512}}}}

Output

673