Difference between revisions of "MediaWiki:Rss-feed"

From reSIProcate
Jump to navigation Jump to search
(new template for rss-feed)
(update to what mediawiki.org has)
 
Line 1: Line 1:
<!-- The second is an improved version which requires Extension:ParserFunctions --> \
+
<!-- the following are two alternative templates. The first is the basic default template for feeds -->; '''<span class='plainlinks'>[{{{link}}} {{{title}}}]</span>'''
; '''<span class='plainlinks'>[{{{link}}} {{{title}}}]</span>''' \
+
: {{{description}}}
{{#if: {{{description|}}} \
+
: {{{author}}} {{{date}}}<!-- don't use newline here --><!-- The second is an improved version which requires Extension:ParserFunctions --><!-- ; '''<span class='plainlinks'>[{{{link}}} {{{title}}}]</span>'''{{#if: {{{description|}}}|: {{{description}}}}}{{#if: {{{author|}}} | {{#if: {{{date|}}} |: &mdash; {{{author}}} {{{date}}}}} | {{#if: {{{author|}}}|: &mdash; {{{author}}}}} {{#if: {{{date|}}}|:{{{date}}}}}|}} -->
|: {{{description}}}}}{{#if: {{{author|}}} \
 
| {{#if: {{{date|}}} |: {{{author}}} {{{date}}}}} \
 
| {{#if: {{{author|}}}|: {{{author}}}}} {{#if: {{{date|}}}|:{{{date}}}}}|}}<!-- don't use newline here -->
 

Latest revision as of 19:16, 23 March 2018

[{{{link}}} {{{title}}}]
{{{description}}}
{{{author}}} {{{date}}}