Template:Ref/Mag: Difference between revisions
From Halopedia, the Halo wiki
BaconShelf (talk | contribs) m (Protected "Template:Ref/Mag": High-traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
m (→top: Moving page, replaced: {{Documentation → {{Doc/Template) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{Id|}}} | <includeonly>{{#if:{{{Id|}}} | ||
|<!-- REF HAS ID -->{{#tag:ref | |<!-- REF HAS ID -->{{#tag:ref | ||
|''{{#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|}}}|<small>{{{Suffix}}}</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>}} | ||
|name={{{Id}}} | |name={{{Id}}} | ||
}} | }} | ||
|<!-- REF LACKS ID -->{{#tag:ref | |<!-- REF LACKS ID -->{{#tag:ref | ||
|''{{#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|}}}}}}| | |''{{#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.
|