Template:Nlab/doc
This is a documentation subpage for Template:Nlab. It may contain usage information, categories and other content that is not part of the original template page. |
This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
Example usage
* {{nlab|id=simplex+category|title=Simplex category}}
will create the following text:
- Simplex category at the nLab
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Article ID | id | URL component of the article
| String | required |
Displayed title | title | Title of the article as it will appear on the page
| String | suggested |