Difference between revisions of "MediaWiki:Rss-feed"

From BTGuard Wiki
Jump to: navigation, search
Line 1: Line 1:
<!--  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|}}} \
: {{{date}}} --><!-- don't use newline here {{{author}}}  --><!-- The second is an improved version which requires Extension:ParserFunctions -->
+
|: {{{description}}}}}{{#if: {{{author|}}} \
; '''<span class='plainlinks'>[{{{link}}} {{{title}}}]</span>'''{{#if: {{{description|}}}|: {{{description}}}}}{{#if: {{{author|}}} | {{#if: {{{date|}}} |: &mdash; {{{author}}} {{{date}}}}} | {{#if: {{{author|}}}|: &mdash; {{{author}}}}} {{#if: {{{date|}}}|:{{{date}}}}}|}}
+
| {{#if: {{{date|}}} |: {{{author}}} {{{date}}}}} \
 +
| {{#if: {{{author|}}}|: {{{author}}}}} {{#if: {{{date|}}}|:{{{date}}}}}|}}

Revision as of 14:53, 11 June 2013

[{{{link}}} {{{title}}}] \
{{{description}}}\