Difference between revisions of "ReleasesBook"

From Sega Retro

 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
  
 
To clarify a bit--I realize ReleaseRow has schema properties but I'm specifically looking at tagging book ISBNs.
 
To clarify a bit--I realize ReleaseRow has schema properties but I'm specifically looking at tagging book ISBNs.
 +
 +
Oh hey, I'm still wrestling with this two years later. Paging Black Squirrel. - [[User:Scarred Sun|Scarred Sun]] ([[User talk:Scarred Sun|talk]]) 20:36, 13 November 2019 (EST)
 +
:Ah yes that could be awkward - the ISBN numbers go through [[Template:FormatISBN10]] and [[Template:FormatISBN13]] for easier reading, and then in this case, they link off-site.
 +
 +
:There's an "isbn10raw" variable set up in those templates that will just be a string of numbers (with all the hypens and spaces removed), but I set it to null at the end of the template so it doesn't risk conflicting with things. You might be able to do something clever with that.
 +
:Unless the meta stuff is evaulated before the templates are, in which case you'll probably want to do
 +
 +
<nowiki><span style="display:none"><whatever>{{{book_isbn10_us|}}}</whatever></span></nowiki>
 +
in this template. Not sure -[[User:Black Squirrel|Black Squirrel]] ([[User talk:Black Squirrel|talk]]) 14:20, 15 November 2019 (EST)

Latest revision as of 14:20, 15 November 2019

Since this is driving me crazy...

Is there some way to wrap schema metadata around release rows in general? Unfortunately, I don't think moving to a JSON-LD approach to tag this kind of data will work given that it's across multiple templates. - Scarred Sun (talk) 17:04, 4 March 2017 (CST)

To clarify a bit--I realize ReleaseRow has schema properties but I'm specifically looking at tagging book ISBNs.

Oh hey, I'm still wrestling with this two years later. Paging Black Squirrel. - Scarred Sun (talk) 20:36, 13 November 2019 (EST)

Ah yes that could be awkward - the ISBN numbers go through Template:FormatISBN10 and Template:FormatISBN13 for easier reading, and then in this case, they link off-site.
There's an "isbn10raw" variable set up in those templates that will just be a string of numbers (with all the hypens and spaces removed), but I set it to null at the end of the template so it doesn't risk conflicting with things. You might be able to do something clever with that.
Unless the meta stuff is evaulated before the templates are, in which case you'll probably want to do

<span style="display:none"><whatever>{{{book_isbn10_us|}}}</whatever></span> in this template. Not sure -Black Squirrel (talk) 14:20, 15 November 2019 (EST)