Difference between revisions of "Template:Cite news"

From Timelines
Jump to: navigation, search
(Added period at end of author(s). Moving space to end of author(s), since we know there must be a title, but author(s) are optional)
m (Changed protection level of Template:Cite news: when I changed this to add template editors, I didn't realize it had cascding protection—so all my change did was make it appear as if it could be edited by them ([Edit=Allow only administrators] (indef...)
 
(83 intermediate revisions by 39 users not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{title|}}}
+
<includeonly>{{#invoke:citation/CS1|citation
  |{{#if: {{{author|}}}{{{last|}}}
+
|CitationClass=news
    | {{#if: {{{authorlink|}}}
+
}}</includeonly><noinclude>
      | [[{{{authorlink}}}|{{#if: {{{last|}}}
+
{{documentation}}
        | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
 
        | {{{author}}}
 
      }}]]
 
      | {{#if: {{{last|}}}
 
        | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
 
        | {{{author}}}
 
      }}
 
    }}
 
  }}{{#if: {{{author|}}}{{{last|}}}
 
    | {{#if: {{{coauthors|}}}| ,&#32;{{{coauthors}}} }}.&#32;
 
    | .&#32;
 
  }}{{#if: {{{curly|}}}|“|"}}{{#if: {{{url|}}}
 
  | [{{{url}}} {{{title}}}]
 
  | {{{title}}}
 
  }}{{#if: {{{curly|}}}|”|"}}{{#if: {{{format|}}} | &#32;({{{format}}})
 
    }}{{#if: {{{work|}}}
 
    | , ''{{{work}}}''}}{{#if: {{{publisher|}}}
 
    | , ''{{{publisher}}}''
 
  }}{{#if: {{{date|}}}
 
    | , {{{date}}}
 
  }}{{#if: {{{pages|}}}
 
    | , pp.&nbsp;{{{pages}}}
 
    |{{#if: {{{page|}}}
 
      | , p.&nbsp;{{{page}}}
 
    }}
 
  }}{{#if: {{{accessdate|}}} 
 
  | .&#32;Retrieved on [[{{{accessdate}}}]]
 
  }}.{{#if: {{{language|}}}
 
  | &#32;(in {{{language|}}})
 
  }}|Template error: argument '''title''' is required.}}</includeonly><noinclude>
 
{{/doc}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 18:17, 12 November 2015

Template documentation[create]