Template:Feed

From Second Life Wiki
Jump to: navigation, 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.svg

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.svg No URL has been specified.


URL Only

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

Feed-icon.svg subscribe to this feed

URL + Text

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

Feed-icon.svg Subscribe to the Official Second Life Blog

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 Subscribe to Torley's posts on the Official Second Life Blog