Jump to content

Template talk:Shogi diagram

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Even game, gote lower ranked player

[edit]

@Ish ishwar: I believe the kings are incorrect in this diagram. If gote is the lower ranked player, they should get the "gyoku" and sente should get the "Oh". I am not sure if this mistake was there from the beginning, or if it is something that accidentally happened when the template was changed. The syntax being used seems OK since "akg" and "aks" are supposed to flip the kings in this particular case, but the template does not seem to be "reading" the files. It looks like File:Shogi aks22.svg and File:Shogi akg22.svg might need to be added to Module:Shogi diagram, but I'm not sure how to do that. Any idea what's going on here? -- Marchjuly (talk) 05:56, 11 January 2017 (UTC)[reply]

No, it's something I'm doing wrong with the code. I'll have to fix it.
(On a technical note, it's not actually reading those files anymore. It's the two text characters 王 and 玉. The problem is how I'm assigning 'ak' and 'k' strings to either character conditional on whether 's' or 'g' is present.) – ishwar  (speak) 06:47, 11 January 2017 (UTC)[reply]
Thanks for checking. I don't think that particular version game setup is being used in any articles, so no great rush. -- Marchjuly (talk) 07:35, 11 January 2017 (UTC)[reply]
Just still wondering if there's a way to fix this. -- Marchjuly (talk) 03:01, 2 February 2018 (UTC)[reply]

Template documentation is out of date

[edit]

The template documentation is out of date.

  • still mentions letters for rows
  • does not make use of holding fields

(And it seems inconsistent that you don't use the same letter codes for holdings as on the board itself.)

--IanOsgood (talk) 18:32, 16 December 2017 (UTC)[reply]

I am not sure what you mean, probably as I am not that familiar with the game. If you know what needs fixing then don’t hesitate to fix it yourself.--JohnBlackburnewordsdeeds 19:49, 16 December 2017 (UTC)[reply]
I tweaked the documentation to reflect the current board set up. I wouldn't, however, suggest making any major changes to the template unless you are very familiar with Lua and until some kind of consensus has been reached at Talk:Shogi#Problem of notation in all (very interesting) Wikipedia shogi articles. I was the original creator of this template, but my version was basically just an English version of ja:Template:Shogi diagram. Ish ishwar created the current version as an improvement, and this template has been added to many articles since it was created. So, I think WP:CAUTIOUS is the best course of action here. -- Marchjuly (talk) 02:01, 17 December 2017 (UTC)[reply]

Chu shogi

[edit]

Hi, can there be something similar for chu shogi? OneWeirdDude (talk) 17:14, 1 February 2018 (UTC)[reply]

yes. Just need to come up with some extra letter abbreviations for the other pieces.
I originally thought to use the same template for chu and regular shogi. Like with a switch parameter like var=chu that would toggle between them. Not sure if i'm motivated to do it for all the variants since no one really plays them. Although no one really plays tori, it does have historical game records from the Edo period – so, i'd do that one too if there's interest. Also, i'm not sure if this is a good idea anyway. Maybe it's best to just make a separate Lua template? – ishwar  (speak) 01:24, 2 February 2018 (UTC)[reply]