Difference between revisions of "User:SignpostMarv Martin/Sandbox/Template:RSSfeed"

From Second Life Wiki
Jump to navigation Jump to search
m (wiki-fu)
m (wiki-fu)
Line 1: Line 1:
<includeonly>{{{3|{{{icon|[[Image:Feed-icon-14x14.png]]}}}}}} [{{{1|{{{url}}}}}} {{{2|{{{text|subscribe to this feed}}}}}}]</includeonly><noinclude>
<includeonly>{{{3|{{{icon|[[Image:Feed-icon-14x14.png]]}}}}}} [{{#replace|{{{1|{{{url}}}}}}|
|}} {{#replace|{{{2|{{{text|subscribe to this feed}}}}}}|
|}}]</includeonly><noinclude>
This template provides a basic RSS feed link.
This template provides a basic RSS feed link.


Line 43: Line 45:
|http://blog.secondlife.com/feed/
|http://blog.secondlife.com/feed/
|Subscribe to the Official Second Life Blog
|Subscribe to the Official Second Life Blog
|[[Image:Torley-favicon.png|14px]]
|[[Image:Torley-favicon.png|14px]]}}
}}
</noinclude>
</noinclude>

Revision as of 18:36, 8 August 2008

This template provides a basic RSS feed link.


Usage

{{RSSfeed
 |url=
 |text=
 |icon=
}}

url is required.
Default text is subscribe to this feed
Default icon is Feed-icon-14x14.png

Examples

URL Only

{{RSSfeed
|http://blog.secondlife.com/feed/
}}

Feed-icon-14x14.png [{{#replace|http://blog.secondlife.com/feed/ | |}} {{#replace|subscribe to this feed| |}}]

URL + Text

{{RSSfeed
|http://blog.secondlife.com/feed/
|Subscribe to the Official Second Life Blog
}}

Feed-icon-14x14.png [{{#replace|http://blog.secondlife.com/feed/ | |}} {{#replace|Subscribe to the Official Second Life Blog | |}}]

URL + Text + Image

{{RSSfeed
|http://blog.secondlife.com/feed/
|Subscribe to the Official Second Life Blog
}}

Torley-favicon.png [{{#replace|http://blog.secondlife.com/feed/ | |}} {{#replace|Subscribe to the Official Second Life Blog | |}}]