Difference between revisions of "User:SignpostMarv Martin/Sandbox/Template:RSSfeed"
Jump to navigation
Jump to search
m (wiki-fu) |
m (wiki-fu) |
||
Line 1: | Line 1: | ||
<includeonly>{{#replace:{{{3|{{{icon|[[Image:Feed-icon-14x14.png]]}}}}}}|<nowiki> | <includeonly>{{#replace:{{{3|{{{icon|[[Image:Feed-icon-14x14.png]]}}}}}}|<nowiki> | ||
</nowiki>|}} [{{#replace:{{{1|{{{url| | </nowiki>|}} [{{#replace:{{{1|{{{url|http://wiki.secondlife.com/Template:feed#Usage}}}}}}|<nowiki> | ||
</nowiki>|}} {{#replace:{{{2|{{{text|subscribe to this feed}}}}}}|<nowiki> | </nowiki>|}} {{#replace:{{{2|{{{text|subscribe to this feed}}}}}}|<nowiki> | ||
</nowiki>|}}]</includeonly><noinclude> | </nowiki>|}}]</includeonly><noinclude> | ||
This template provides a basic RSS feed link. | This template provides a basic RSS feed link. | ||
== Usage == | == Usage == |
Revision as of 17:55, 8 August 2008
This template provides a basic RSS feed link.
Usage
Named-parameters
{{feed
|url=<!-- URL to RSS/Atom feed -->
|text=<!-- text for link -->
|icon=<!-- Icon to use next to link -->
}}
Numeric-parameters
{{feed
|1=<!-- URL to RSS/Atom feed -->
|2=<!-- text for link -->
|3=<!-- Icon to use next to link -->
}}
Examples
URL Only
{{feed
|http://blog.secondlife.com/feed/
}}
Error creating thumbnail: convert-im6.q16: delegate failed `'rsvg-convert' -o '%o' '%i'' @ error/delegate.c/InvokeDelegate/1928. convert-im6.q16: unable to open file `/tmp/magick-12788vZ6GclGCYsMX': No such file or directory @ error/constitute.c/ReadImage/600. convert-im6.q16: no images defined `PNG:/tmp/transform_7dbf74d7c26e.png' @ error/convert.c/ConvertImageCommand/3258.
URL + Text
{{feed
|http://blog.secondlife.com/feed/
|Subscribe to the Official Second Life Blog
}}
Error creating thumbnail: convert-im6.q16: delegate failed `'rsvg-convert' -o '%o' '%i'' @ error/delegate.c/InvokeDelegate/1928. convert-im6.q16: unable to open file `/tmp/magick-12793vlLOmuLgcJRW': No such file or directory @ error/constitute.c/ReadImage/600. convert-im6.q16: no images defined `PNG:/tmp/transform_7f610856e39a.png' @ error/convert.c/ConvertImageCommand/3258.
SubscribetotheOfficialSecondLifeBlog
URL + Text + Image
{{feed
|http://blog.secondlife.com/author/torleylinden/feed/
|Subscribe to Torley's posts on the Official Second Life Blog
|[[Image:Torley-favicon.png|14px]]
}}