Template:Ref/Mag: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
m (→top: Moving page, replaced: {{Documentation → {{Doc/Template) |
||
Line 7: | Line 7: | ||
|''{{#uniquelinkifexists:{{{Magazine|{{{1}}}}}}|{{{MagazineLinkText|{{{Magazine|{{{1}}}}}}}}}|ref}}'', {{#if:{{{Year|{{{Y|}}}}}}|{{#if:{{{Month|{{{M|}}}}}}|{{#time:F Y|{{{Year|{{{Y}}}}}}-{{{Month|{{{M}}}}}}-01}}|{{{Year|{{{Y}}}}}}}}}} {{#if:{{{Year|{{{Y|}}}}}}|(Issue #{{{Issue|{{{2}}}}}})|Issue #{{{Issue|{{{2}}}}}}}} {{#if:{{{Title|{{{3}}}}}}|- {{{Title|{{{3}}}}}}}}{{#if:{{{Pg|{{{Page|}}}}}}|, page {{{Pg|{{{Page|}}}}}}}}{{#if:{{{Detail|{{{Quote|}}}}}}|<nowiki>:</nowiki> {{{Detail|}}}{{#if:{{{Quote|}}}|<nowiki> </nowiki>''"{{{Quote}}}"''{{#if:{{{Quotee|}}}|<nowiki> - </nowiki>{{#uniquelinkifexists:{{{Quotee}}}|{{{QuoteeLinkText|{{{Quotee}}}}}}|ref}}}}}}}} {{#if:{{{Suffix|}}}{{{Archive|}}}|<small>{{#if:{{{Suffix|}}}|{{{Suffix}}}}} {{#if:{{{Archive|}}}|[{{{Archive}}} <nowiki>[archive]</nowiki>]}}</small>}} | |''{{#uniquelinkifexists:{{{Magazine|{{{1}}}}}}|{{{MagazineLinkText|{{{Magazine|{{{1}}}}}}}}}|ref}}'', {{#if:{{{Year|{{{Y|}}}}}}|{{#if:{{{Month|{{{M|}}}}}}|{{#time:F Y|{{{Year|{{{Y}}}}}}-{{{Month|{{{M}}}}}}-01}}|{{{Year|{{{Y}}}}}}}}}} {{#if:{{{Year|{{{Y|}}}}}}|(Issue #{{{Issue|{{{2}}}}}})|Issue #{{{Issue|{{{2}}}}}}}} {{#if:{{{Title|{{{3}}}}}}|- {{{Title|{{{3}}}}}}}}{{#if:{{{Pg|{{{Page|}}}}}}|, page {{{Pg|{{{Page|}}}}}}}}{{#if:{{{Detail|{{{Quote|}}}}}}|<nowiki>:</nowiki> {{{Detail|}}}{{#if:{{{Quote|}}}|<nowiki> </nowiki>''"{{{Quote}}}"''{{#if:{{{Quotee|}}}|<nowiki> - </nowiki>{{#uniquelinkifexists:{{{Quotee}}}|{{{QuoteeLinkText|{{{Quotee}}}}}}|ref}}}}}}}} {{#if:{{{Suffix|}}}{{{Archive|}}}|<small>{{#if:{{{Suffix|}}}|{{{Suffix}}}}} {{#if:{{{Archive|}}}|[{{{Archive}}} <nowiki>[archive]</nowiki>]}}</small>}} | ||
}} | }} | ||
}}</includeonly><noinclude>{{ | }}</includeonly><noinclude>{{Doc/Template}} [[Category:Reference templates]]</noinclude> |
Latest revision as of 20:06, December 15, 2021
Usage
This template should be used when citing magazine issues. For other citation templates, see Template:Ref.
{{Ref/Mag |Id= |Magazine= |Year= |Month= |Issue= |Title= |Page= |Quote= |Quotee= |D= |M= |Y= |LocalArchive= |NoArchive= }}
Fields
Field Name | Optional or Required? | Description | Example |
---|---|---|---|
Id | Optional | An ID for the reference, so it can be reused. Make it tied to the source so it does not conflict with other IDs. | PCG348 |
Magazine | Required | The name of the magazine being cited. | PC Gamer |
Year | Recommended | The year of publication of the relevant issue. | 2020 |
Month | Recommended | The month of publication of the relevant issue. | September |
Issue | Required | The issue number being cited. | 348 |
Title | Recommended | The title of the issue or article being cited. | Special Report: How Halo 3's Maps Got Their Names |
Page | Recommended | The page number being cited. | 10-13 |
Detail | Optional | Used to clarify any extra details about the citation. | |
Quote | Optional | When citing a particular quote from the page or article, this should be used. However, it cannot be used if the Details field is used.
|
|
Quotee | Optional | The person being quoted, if the Quote field is being used. The Quote field can be used without this field, but it is not recommended to do so - the quote should usually be attributed to the person who wrote it unless it is unclear.
|