GalleryPrintAd

From Sega Retro

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
Sega Game Gear
120x120px Game Gear US print advert
Sega Mega Drive
GameInformer US 003.pdf
  • Game Informer (US) #3: "January/February 1992" (199x-xx-xx)
  • GamePro (US) #31: "February 1992" (199x-xx-xx)[1]
  • text
    Arcade
    VirtuaRacing Model1 US Flyer.pdf 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.

    pdf

    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)
    1. File:GamePro US 031.pdf, page 59