Difference between revisions of "MediaWiki:Rss-item"

From reSIProcate
Jump to navigation Jump to search
(Undo revision 3796 by Pckizer (talk))
(Test out the "advanced" RSS-item template)
Line 1: Line 1:
{{$1 | title = {{{title}}} | link = {{{link}}} | date = {{{date}}} | author = {{{author}}} | description = {{{description}}} }}
+
<!-- {{$1 | title = {{{title}}} | link = {{{link}}} | date = {{{date}}} | author = {{{author}}} | description = {{{description}}} }} -->
 +
<!-- The second is an improved version which requires Extension:ParserFunctions --> \
 +
; '''<span class='plainlinks'>[{{{link}}} {{{title}}}]</span>''' \
 +
{{#if: {{{description|}}} \
 +
|: {{{description}}}}}{{#if: {{{author|}}} \
 +
| {{#if: {{{date|}}} |: — {{{author}}} {{{date}}}}} \
 +
| {{#if: {{{author|}}}|: — {{{author}}}}} {{#if: {{{date|}}}|:{{{date}}}}}|}}<!-- don't use newline here -->

Revision as of 22:40, 10 November 2019

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