TwitterFacebookDiscord

Difference between revisions of "Template:Cite news"

Wikisimpsons - The Simpsons Wiki
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{archiveurl|}}}{{{archivedate|}}}
+
<includeonly>{{#if: {{{title|}}}
|
+
|  
|
 
<div style="border:1px solid red; background-color:#ffdab9; display:table;">
 
You must specify '''archiveurl=''' and '''archivedate=''' when using {{tl|cite news}}. Available parameters:
 
{{Cite news/doc/parameterlist}}
 
</div>
 
 
}}
 
}}
  
{{#if: {{{title|}}}
+
{{#if: {{{author|}}}{{{last|}}}
| {{#if: {{{author|}}}{{{last|}}}
+
| {{#if: {{{authorlink|}}}
  | {{#if: {{{authorlink|}}}
+
  | [[{{{authorlink}}}|{{#if: {{{last|}}}
    | [[{{{authorlink}}}|{{#if: {{{last|}}}
+
    | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
      | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
+
    | {{{author}}}
      | {{{author}}}
+
  }}]]
    }}]]
+
  | {{#if: {{{last|}}}
    | {{#if: {{{last|}}}
+
    | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
      | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
+
    | {{{author}}}
      | {{{author}}}
 
    }}
 
 
   }}
 
   }}
 +
}}
 
}}
 
}}
  
Line 26: Line 20:
 
}}
 
}}
  
{{#if: {{{curly|}}} | “ | " }}
+
{{#if: {{{curly|}}}|“|"}}
  
{{#if: {{{archiveurl|}}}
+
{{#if: {{{url|}}}
| [{{{archiveurl}}} {{{title}}}]
+
| [{{{url}}} {{{title}}}]
| {{#if: {{{url|}}}
+
| {{{title}}}
  | [{{{url}}} {{{title}}}]
 
  | {{{title}}}
 
}}
 
 
}}
 
}}
  
{{#if: {{{curly|}}} | ” | " }}
+
{{#if: {{{curly|}}}|”|"}}
  
 
{{#if: {{{format|}}} | ({{{format}}}) }}
 
{{#if: {{{format|}}} | ({{{format}}}) }}
Line 61: Line 52:
 
{{#if: {{{language|}}}
 
{{#if: {{{language|}}}
 
| <span style="color:#555;">({{{language}}})</span>
 
| <span style="color:#555;">({{{language}}})</span>
}}
 
 
{{#if: {{{archivedate|}}}
 
| Archived from [{{{url}}} the original] on {{{archivedate}}}.
 
 
}}
 
}}
  

Latest revision as of 12:20, April 25, 2026