Template:Feed

From Second Life Wiki
Revision as of 18:58, 8 August 2008 by SignpostMarv Martin (talk | contribs) (wiki-fu. making template more fool-proof)
Jump to navigation Jump to search

This template provides a basic RSS feed link.

Usage

  • url is required, all others are optional.
  • Default text is "subscribe to this feed"
  • Default icon is Feed-icon-14x14.png

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

Missing URL

{{feed
|text=This text will not be displayed because the URL is missing
}}

Feed-icon-14x14.png <strongstyle="color:red;">NoURLhasbeenspecified.


URL Only

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

Feed-icon-14x14.png subscribetothisfeed

URL + Text

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

Feed-icon-14x14.png 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]]
}}

Torley-favicon.png SubscribetoTorley'spostsontheOfficialSecondLifeBlog