Jump to content

User:Wikid77/Embwlink/doc

From Wikipedia, the free encyclopedia

The User:Wikid77/Embwlink formats an external link to an outside webpage, but also allows wikilinking some embedded words in the title to Wikipedia pages.

Usage[edit]

{{embwlink|"Use of |[[Thermodynamics]] |in daily work"|url=http://loc.gov}}

Any parameters with a leading square bracket "[" are treated as local wikilinks, while all other parameters are linked to the specified "url=" webpage address. The optional parameter "exhue=#0000CC" can set the hue (color) of the external-link text (default: #0077EE for light blue).

Note the placement of quotation marks (") at the start/end of the parameters for a page title. For italicized book/film titles, the double-tic marks (' ') go outside the curly brackets.

Examples[edit]

The following are some typical examples:

Note the outside use of double-tic (' ') to denote the italicized words in the whole book title. Otherwise, each phrase can be italicized separately.

Problems[edit]

Messages:

  • "fix url"    – the URL must be specified for the external-link address
  • "fix link"   – parameter 1 is required to start a link

See also[edit]