Template:Yachtclub/doc

From Project Basis
Jump to navigation Jump to search

This template renders an icon of a yacht club's burgee before the link to the yacht club's article.

A full list of yacht clubs within this template can be seen List of yacht clubs although there are so many sailing/yacht clubs the only sensible way to list all yacht clubs is by categories the template does work with yacht club without a burgee or pages and will automatically update when they are added as illustrated below.

Examples

  • {{yachtclub|Royal Yacht Squadron}} Royal Yacht Squadron
  • {{yachtclub|San Diego Yacht Club}} San Diego Yacht Club

For a Yacht Club without a page

  • {{yachtclub|Austin Yacht Club}} Austin Yacht Club

For a Yacht Club without a Burgee Graphic

  • {{yachtclub|Royal Brighton Yacht Club}} Royal Brighton Yacht Club

For a Yacht Club without a page or Burgee Graphic

  • {{yachtclub|Wikipedia Sailing Club}} Wikipedia Sailing Club

Expensive Parser Function Calls

This template ALWAYS calls {{Link if exists}}, which is an expensive parser function (see WP:EXPENSIVE). If this template is used too many times on a single page it will eventually break (eventually making {{Link if exists}} never link after the first 500 calls). If you're reading this and the template has already broken on the page it's being used on, consider using |link= which, if set to yes or no will force a link (or not).