Template:Nlab/doc

From Vigyanwiki
< Template:Nlab

Example usage

* {{nlab|id=simplex+category|title=Simplex category}}

will create the following text:

The id= element is meant to hold the URL component name, while the title= element is meant to be used for the words appearing in the WP article. These are different because spaces in the URL will break the template and nLab titles by default are lowercase; the title element may be left out in the rare case where neither of these apply. For example:

* {{nlab|id=Set}}

will create the following text:

(In the nLab, "set" is the article on sets, while "Set" is the article on the category of sets.)

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Nlab

[[Category:TemplateData documentation{{#translation:}}]]

This templates creates an external link to an article in the nLab wiki.

Template parameters

ParameterDescriptionTypeStatus
Article IDid

URL component of the article

Example
simplex+category
Stringrequired
Displayed titletitle

Title of the article as it will appear on the page

Example
Simplex category
Stringsuggested