Template:LinkLexicon

From LifeWiki
Jump to: navigation, search

This is a template for including links to the Life Lexicon in the "External Links" section of an article. It can take three parameters:

  • filename, which specifies the HTML file (including anchor) that will be linked to on the Life Lexicon;
  • patternname (alternatively: name), which specifies the name of the pattern as it will appear in the link text (default: name of the current article for style=listitem, or filename for style=raw);
  • style, which specifies how to format the link (style=listitem or style=raw; default: listitem)

Here is a simple example of its usage:

You type:

{{LinkLexicon|filename=lex_1.htm#a1234|patternname=1-2-3-4}}

You see:

You type:

{{LinkLexicon|filename=lex_1.htm#a1234|patternname=1-2-3-4|style=raw}}

You see:

1-2-3-4

See also

External link templates