Difference between revisions of "GalleryPrintAd"
From Sega Retro
(→pdf: new section) |
(→pdf) |
||
Line 61: | Line 61: | ||
== pdf == | == pdf == | ||
− | |||
− | |||
Shouldn't really have to specify the PDF. | Shouldn't really have to specify the PDF. | ||
<pre> | <pre> | ||
Line 75: | Line 73: | ||
But the code has got so complicated now, that I need to be in a pretty good place to make this happen. Backwards compatibility could be achieved by checking the first argument for ".pdf". -[[User:Black Squirrel|Black Squirrel]] ([[User talk:Black Squirrel|talk]]) 15:05, 3 April 2020 (EDT) | But the code has got so complicated now, that I need to be in a pretty good place to make this happen. Backwards compatibility could be achieved by checking the first argument for ".pdf". -[[User:Black Squirrel|Black Squirrel]] ([[User talk:Black Squirrel|talk]]) 15:05, 3 April 2020 (EDT) | ||
+ | : I've done it. It's a little bit convoluted, but not much more than it was before. I need to make a better system for retrieving magazine names/filenames though. - [[User:Hivebrain|Hivebrain]] ([[User talk:Hivebrain|talk]]) 23:15, 4 April 2020 (EDT) |
Latest revision as of 22:15, 4 April 2020
Promo Table
In order to increase the responsiveness of the page, some Promotional material need to split the page. Is it possible for someone to create a template like the one below? It is difficult for me to write the details of the template... --Akiyama Akane (talk) 06:46, 25 August 2018 (CDT)
- I think "Promotional material" sub-pages would be a good idea in cases where there are a lot of adverts (e.g. Monaco Grand Prix ("Monaco Grand Prix/Promotional material")), but I don't think it's worthwhile for games that are only ever going to receive one or two adverts. If were were to do this, it would also be better to include television adverts, posters, flyers etc. - all promotional material. -Black Squirrel (talk) 07:27, 25 August 2018 (CDT)
- Changed the title and table. I think that there is no need to create all the sub pages, such as a page with five or more items. Flyer can be described in | text= field or add | type = field. Since there are few items on TV commercials, maybe it is be able to use the traditional {{gallery}}. --Akiyama Akane (talk) 09:55, 25 August 2018 (CDT)
- Back to: [[]].
Print advertisement
Console | File | Source | Comment |
---|---|---|---|
120x120px | Game Gear US print advert | ||
File:GameInformer US 003.pdf | text | ||
US flyer |
TV advertisement
{{Promotable| {{Promorow | console= | type= | file= | text= | source= | issueno= | page= }} }}
- console - Name of the console(s).
- type - PrintAd / Flyer / ETC (Poster, Card, Badge...)
- file - PDF or JPEG file.
- text - Comment of the advertisement.
- source - Name of the publication.
- issueno - Issue number for the publication.
- page - Page where the article starts in the PDF file (n.b. may not match the page number of the scanned content).
source, issueno and page can be repeatedly used to indicate multiple sources.
Shouldn't really have to specify the PDF.
{{GalleryPrintAd |egm|bg89|53 |egm|1|47-48 |egm|2|68 |egm|3|55 }}
That should be sufficient. I think I even attempted this once but I can't remember where I put my experiments.
But the code has got so complicated now, that I need to be in a pretty good place to make this happen. Backwards compatibility could be achieved by checking the first argument for ".pdf". -Black Squirrel (talk) 15:05, 3 April 2020 (EDT)
- I've done it. It's a little bit convoluted, but not much more than it was before. I need to make a better system for retrieving magazine names/filenames though. - Hivebrain (talk) 23:15, 4 April 2020 (EDT)