Difference between revisions of "Magtable"

From Sega Retro

(Created page with "{| class="prettytable sortable" !class="unsortable" width="220px"| File ! Date ! Source !class="unsortable"| Title and comments ! Review score |- {{{1|}}} |} <noinclude> ==Usa...")
 
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{back}}{{#vardefine:format|{{{format|}}}}}
 
{| class="prettytable sortable"
 
{| class="prettytable sortable"
 
!class="unsortable" width="220px"| File
 
!class="unsortable" width="220px"| File
! Date
+
!width="5%"|Date
! Source
+
!width="15%"|Source
!class="unsortable"| Title and comments
+
!class="unsortable" colspan="4"| Title and comments
! Review score
 
 
|-
 
|-
 
{{{1|}}}
 
{{{1|}}}
|}
+
|}{{#vardefine:format|}}<includeonly>[[Category:Magazine articles]]</includeonly><noinclude>
<noinclude>
 
 
==Usage==
 
==Usage==
 +
===New method===
 +
<pre>
 +
{{magtable|format=<format>|
 +
{{magrow|<publication code>|<issue number>|<page number>
 +
| file=
 +
| cover=
 +
| title=
 +
| comment=
 +
}}
 +
...
 +
}}
 +
</pre>
 +
* '''format''' - format code (e.g. MD, GG etc.)
 +
* '''publication code''' - see [[template:MagNameStore]]
 +
* '''issue number''' - Issue number for the publication.
 +
* '''page number''' - Page where the article starts in the PDF file (n.b. may not match the page number of the scanned content).
 +
* '''cover''' - Set as "yes" to show a thumbnail of the publication's cover next to the article thumbnail, if the article is a cover story.
 +
* '''title''' - Title of the article.
 +
* '''comment''' - General overview of the article.
 +
* '''file''' - override for scans that are JPEGs, rather than full PDFs
 +
 +
====Reviews====
 +
Extra fields for magrow are required if there is a review - this will help generate an average score for a game.
 +
<pre>
 +
| version=
 +
| versioncomments=
 +
| rating=
 +
| ratingcomments=
 +
| awards=
 +
| awardscomments=
 +
| ratingsystem=
 +
</pre>
 +
*'''version''' - the version of the game being reviewed - NTSC-J, NTSC-U, PAL (or "NTSC-U (BR)", "PAL (UK)" etc.
 +
*'''rating''' - the value printed in the magazine. If it is 83%, enter "83". If it is 5/10, enter 5. If it is "B+", enter b+ - the template should do the calculations for you.
 +
*'''awards''' - any special awards given by the magazine. List in [[Template:AwardImage]].
 +
*'''ratingsystem''' - override the default rating system, as defined in magazine pages. You should only have to use this if the magazine is doing something clever. Typical values are "1-10", "0-100", "A-F" etc.
 +
*the '''comments''' fields are for relaying extra information, e.g. if the version is a prototype, the rating was misprinted, or if something wacky happened.
 +
 +
===Old method===
 
<pre>
 
<pre>
 
{{magtable|
 
{{magtable|
Line 16: Line 54:
 
| page=
 
| page=
 
| cover=
 
| cover=
| date=
 
 
| source=
 
| source=
 +
| issueno=
 
| title=
 
| title=
 
| comment=
 
| comment=
| score=
 
 
}}
 
}}
 
...
 
...
Line 28: Line 65:
 
* '''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).
 
* '''cover''' - Set as "yes" to show a thumbnail of the publication's cover next to the article thumbnail, if the article is a cover story.
 
* '''cover''' - Set as "yes" to show a thumbnail of the publication's cover next to the article thumbnail, if the article is a cover story.
* '''date''' - Date of publication (in the format YYYY-MM-DD).
+
* '''source''' - Name of the publication.
* '''source''' - Name and issue number of the publication.
+
* '''issueno''' - Issue number for the publication.
 
* '''title''' - Title of the article.
 
* '''title''' - Title of the article.
 
* '''comment''' - General overview of the article.
 
* '''comment''' - General overview of the article.
* '''score''' - Score out of 100 if the article is a review.
+
[[Category:Templates]]
[[Category:Sega Retro templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 13:17, 1 January 2022

Back to: [[]].
File Date Source Title and comments

Usage

New method

{{magtable|format=<format>|
{{magrow|<publication code>|<issue number>|<page number>
| file=
| cover=
| title=
| comment=
}}
...
}}
  • format - format code (e.g. MD, GG etc.)
  • publication code - see template:MagNameStore
  • issue number - Issue number for the publication.
  • page number - Page where the article starts in the PDF file (n.b. may not match the page number of the scanned content).
  • cover - Set as "yes" to show a thumbnail of the publication's cover next to the article thumbnail, if the article is a cover story.
  • title - Title of the article.
  • comment - General overview of the article.
  • file - override for scans that are JPEGs, rather than full PDFs

Reviews

Extra fields for magrow are required if there is a review - this will help generate an average score for a game.

| version=
| versioncomments=
| rating=
| ratingcomments=
| awards=
| awardscomments=
| ratingsystem=
  • version - the version of the game being reviewed - NTSC-J, NTSC-U, PAL (or "NTSC-U (BR)", "PAL (UK)" etc.
  • rating - the value printed in the magazine. If it is 83%, enter "83". If it is 5/10, enter 5. If it is "B+", enter b+ - the template should do the calculations for you.
  • awards - any special awards given by the magazine. List in Template:AwardImage.
  • ratingsystem - override the default rating system, as defined in magazine pages. You should only have to use this if the magazine is doing something clever. Typical values are "1-10", "0-100", "A-F" etc.
  • the comments fields are for relaying extra information, e.g. if the version is a prototype, the rating was misprinted, or if something wacky happened.

Old method

{{magtable|
{{magrow
| file=
| page=
| cover=
| source=
| issueno=
| title=
| comment=
}}
...
}}
  • file - PDF or JPEG file.
  • page - Page where the article starts in the PDF file (n.b. may not match the page number of the scanned content).
  • cover - Set as "yes" to show a thumbnail of the publication's cover next to the article thumbnail, if the article is a cover story.
  • source - Name of the publication.
  • issueno - Issue number for the publication.
  • title - Title of the article.
  • comment - General overview of the article.