Difference between revisions of "CompanyHistory"

From Sega Retro

(Paging Dr. Hivebrain)
 
Line 14: Line 14:
  
 
-[[User:Black Squirrel|Black Squirrel]] ([[User talk:Black Squirrel|talk]]) 11:39, 5 January 2020 (EST)
 
-[[User:Black Squirrel|Black Squirrel]] ([[User talk:Black Squirrel|talk]]) 11:39, 5 January 2020 (EST)
 +
: So the problem is that "companies" uses the full console names and "releases" uses codes? I don't really understand the cargo syntax you've used here, so all I can suggest is creating an additional template that fetches the date, instead of trying to get the date in CompanyHistory. The template would be called from [[Template:CompanyHistory/Cargo]] and would need to contain a reverse [[Template:Code2Format]]. - [[User:Hivebrain|Hivebrain]] ([[User talk:Hivebrain|talk]]) 15:02, 5 January 2020 (EST)

Revision as of 15:02, 5 January 2020

Clock.svg
This task is unfinished
This is a wiki task that requires more thought or peer review. An important issue that needs to be solved, which will appear at the top of Sega Retro:Todo until this message is removed.

The join/group by is incorrect, which is why the dates are wrong.

No results

This could be solved if I could join "PS3" onto "PlayStation 3". I don't know how to do that without making another table (to replicate template:Code2Format). Is there another way?

-Black Squirrel (talk) 11:39, 5 January 2020 (EST)

So the problem is that "companies" uses the full console names and "releases" uses codes? I don't really understand the cargo syntax you've used here, so all I can suggest is creating an additional template that fetches the date, instead of trying to get the date in CompanyHistory. The template would be called from Template:CompanyHistory/Cargo and would need to contain a reverse Template:Code2Format. - Hivebrain (talk) 15:02, 5 January 2020 (EST)