Jump to content

Please don't skip this 1-minute read. Festipedia is hosted by the FR Heritage Group, a registered charity (No. 1199296). Festipedia is, and always will be, free. But we need your support to keep Festipedia running and to help fund heritage projects. Any donation you can give will be much appreciated, whether it is £2 or £200.

To make a donation, please go to our website, click the Add to Cart button next to General Donation, change the quantity to the amount you want to donate and click the checkout button. Thank you for your support.

Template:Link/doc

From Festipedia, hosted by the FR Heritage Group

Usage

[edit]

This template produces an external link with the URL as its first argument, and the text to be displayed as its second argument. If no first argument is given, the second argument is displayed with no external link.

This template is not safe to use if immediately preceded or followed by one or more apostrophes, and if the display text begins or ends with an apostrophe. To avoid the problem, put "<nowiki></nowiki>" between any immediately-adjacent apostrophes and the "{{link|...}}".

Examples

[edit]
  • {{link|http://example.com|home page}} produces "home page".
  • {{link||home page}} produces "home page".
  • ''{{link||'Ouch' is not 'oof'}}'' is not right, because it produces "Ouch' is not 'oof". Instead, use ''<nowiki></nowiki>{{link||'Ouch' is not 'oof'}}<nowiki></nowiki>'', which produces "'Ouch' is not 'oof'".