Jump to content

Template:Yachtclub/doc

From Wikipedia, the free encyclopedia

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

[edit]

For a Yacht Club without a page

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

For a Yacht Club without a Burgee Graphic

For a Yacht Club without a page or Burgee Graphic

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

Expensive Parser Function Calls

[edit]

This template ALWAYS calls #ifexist, 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 #ifexist always return false after the first 500 calls). If you're reading this and the template has already broken on the page it's being used on which it already has in List of yacht clubs, you might want to consider removing the #ifexist.