Difference between revisions of "MediaWiki:Rss-item"

From Monoskop
Jump to navigation Jump to search
Line 1: Line 1:
 
<!-- The second is an improved version which requires Extension:ParserFunctions -->  
 
<!-- The second is an improved version which requires Extension:ParserFunctions -->  
 
; '''<span class='plainlinks'>[{{{link}}} {{{title}}}]</span>'''  
 
; '''<span class='plainlinks'>[{{{link}}} {{{title}}}]</span>'''  
{{#if: {{{description|}}} \
+
{{#if: {{{content:encoded|}}} \
|: {{{description}}}}}{{#if: {{{author|}}}  
+
|: {{{content:encoded}}}}}{{#if: {{{author|}}}  
 
| {{#if: {{{date|}}} |: — {{{author}}} {{{date}}}}} \
 
| {{#if: {{{date|}}} |: — {{{author}}} {{{date}}}}} \
 
| {{#if: {{{author|}}}|: — {{{author}}}}} {{#if: {{{date|}}}|:{{{date}}}}}|}}<!-- don't use newline here -->
 
| {{#if: {{{author|}}}|: — {{{author}}}}} {{#if: {{{date|}}}|:{{{date}}}}}|}}<!-- don't use newline here -->

Revision as of 21:18, 22 March 2012

[{{{link}}} {{{title}}}]
{{{content:encoded}}}