Editing Template:Cite news
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{title|}}} | <includeonly>{{#if: {{{title|}}} | ||
|{{#if:{{{archiveurl|}}}{{{archivedate|}}}|{{#if:{{#if:{{{archiveurl|}}}|{{#if:{{{archivedate|}}}|1}}}}||Error on call {{tl|cite news}} template: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted.}} | |{{#if: {{{archiveurl|}}}{{{archivedate|}}} | ||
}}{{#if:{{{first|}}}{{{last|}}}|{{#if:{{{last|}}}|{{{last}}}, }}{{{first|}}}{{#if:{{{coauthors|}}} | |{{#if: {{#if: {{{archiveurl|}}}|{{#if: {{{archivedate|}}}|1}}}} | ||
}}{{#if:{{{curly|}}}|“|"}}{{#if:{{{archiveurl|}}}|[{{{archiveurl}}} {{{title}}}]|{{#if:{{{archive|}}}|{{#if:{{{url|}}}|[http://wayback.archive.org/web/ | | <!-- Both archiveurl and archivedate are present, proceed --> | ||
| Error on call {{tl|cite news}} template: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted. | |||
}}{{#if:{{{ | }} | ||
}}{{#if:{{{publisher|}}} | }}{{#if: {{{first|}}}{{{last|}}} | ||
}}{{#if:{{{date|}}}|, {{{date}}} | |{{#if: {{{last|}}} | ||
}}{{#if:{{{pages|}}} | |{{{last}}}, | ||
}} | }}{{{first|}}}{{#if: {{{coauthors|}}}| <nowiki>;</nowiki> {{{coauthors}}} }}, | ||
}}{{#if:{{{accessdate|}}}| Retrieved on {{{accessdate}}} | |{{#if: {{{author|}}} | ||
}}{{#if:{{{language|}}}|  | |{{{author|}}}{{#if: {{{coauthors|}}}| <nowiki>;</nowiki> {{{coauthors}}} }}. | ||
}}|Error on call {{tl|cite news}}: Parameters '''title''' ''must'' be specified.}}</includeonly><noinclude> | }} | ||
}}{{#if: {{{curly|}}}|“|"}}{{#if: {{{archiveurl|}}} | |||
| [{{{archiveurl}}} {{{title}}}] | |||
| {{#if: {{{archive|}}} | |||
| {{#if: {{{url|}}} | |||
| [http://wayback.archive.org/web/*/{{{url}}} {{{title}}}] (content archived on Archive.org) | |||
| {{{title}}} | |||
}} | |||
| {{#if: {{{url|}}} | |||
| [{{{url}}} {{{title}}}] ([http://wayback.archive.org/web/*/{{{url}}} backup available] on Archive.org) | |||
| {{{title}}} | |||
}} | |||
}} | |||
}}{{#if: {{{format|}}} | |||
|  ({{formattype|{{{format}}}}}) | |||
}}{{#if: {{{curly|}}}|”|"}}{{#if: {{{work|}}} | |||
|,  ''{{{work}}}''}}{{#if: {{{publisher|}}} | |||
|, ''{{{publisher}}}'' | |||
}}{{#if: {{{date|}}} | |||
|, {{{date}}} | |||
}}{{#if: {{{pages|}}} | |||
|, pp. {{{pages}}} | |||
|{{#if: {{{page|}}} | |||
|, p. {{{page}}} | |||
}} | |||
}}{{#if: {{{archiveurl|}}} | |||
|. Archived from [{{{url}}} the original] on {{{archivedate}}} | |||
}}{{#if: {{{accessdate|}}} | |||
|. Retrieved on {{{accessdate}}} | |||
}}.{{#if: {{{language|}}} | |||
| (written in {{{language|}}}) | |||
}}|Error on call {{tl|cite news}}: Parameters '''title''' ''must'' be specified.}}</includeonly><noinclude> | |||
__NOTOC__ | __NOTOC__ | ||
This template is used to [[BW:CITE|cite sources]] in ''Battlestar Wiki''. It is specifically for news sources. | This template is used to [[BW:CITE|cite sources]] in ''Battlestar Wiki''. It is specifically for news sources. | ||
| Line 55: | Line 86: | ||
* '''pages''' overrides '''page''' | * '''pages''' overrides '''page''' | ||
* '''language''': the language the source is written in | * '''language''': the language the source is written in | ||
[[Category:Citation templates|{{PAGENAME}}]] | [[Category:Citation templates|{{PAGENAME}}]] | ||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] | [[Category:Templates using ParserFunctions|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||