Difference between revisions of "GalleryPrintAd"
From Sega Retro
(Created page with "==Print advert 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 templa...") |
(→pdf) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | == | + | ==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... --[[User:Akane|Akiyama Akane]] ([[User talk:Akane|talk]]) 06:46, 25 August 2018 (CDT) | 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... --[[User:Akane|Akiyama Akane]] ([[User talk: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. -[[User:Black Squirrel|Black Squirrel]] ([[User talk: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 <nowiki>{{gallery}}</nowiki>. --[[User:Akane|Akiyama Akane]] ([[User talk:Akane|talk]]) 09:55, 25 August 2018 (CDT) | ||
{{back}} | {{back}} | ||
+ | ===Print advertisement=== | ||
{| class="prettytable sortable" | {| class="prettytable sortable" | ||
!width="50px"| Console | !width="50px"| Console | ||
Line 20: | Line 25: | ||
|text | |text | ||
|- | |- | ||
− | |{{ | + | |{{Arcade|L}} |
− | | | + | |[[File:VirtuaRacing Model1 US Flyer.pdf|120x120px]] |
− | | | + | | |
− | | | + | |US flyer |
|- | |- | ||
|} | |} | ||
+ | |||
+ | ===TV advertisement=== | ||
+ | {{gallery | ||
+ | |{{gitem|VirtuaRacing MD JP TVAdvert.mp4|JP TV advert}} | ||
+ | |{{gitem|VirtuaRacing MD UK TVAdvert.mp4|UK TV advert}} | ||
+ | }} | ||
<pre> | <pre> | ||
− | {{ | + | {{Promotable| |
− | {{ | + | {{Promorow |
| console= | | console= | ||
+ | | type= | ||
| file= | | file= | ||
| text= | | text= | ||
Line 40: | Line 52: | ||
</pre> | </pre> | ||
* '''console''' - Name of the console(s). | * '''console''' - Name of the console(s). | ||
+ | * '''type''' - PrintAd / Flyer / ETC (Poster, Card, Badge...) | ||
* '''file''' - PDF or JPEG file. | * '''file''' - PDF or JPEG file. | ||
* '''text''' - Comment of the advertisement. | * '''text''' - Comment of the advertisement. | ||
Line 46: | Line 59: | ||
* '''page''' - Page where the article starts in the PDF file (n.b. may not match the page number of the scanned content). | * '''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. | '''source''', '''issueno''' and '''page''' can be repeatedly used to indicate multiple sources. | ||
+ | |||
+ | == pdf == | ||
+ | Shouldn't really have to specify the PDF. | ||
+ | <pre> | ||
+ | {{GalleryPrintAd | ||
+ | |egm|bg89|53 | ||
+ | |egm|1|47-48 | ||
+ | |egm|2|68 | ||
+ | |egm|3|55 | ||
+ | }} | ||
+ | </pre> | ||
+ | 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". -[[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)