Template:nLab/sandbox
This is the template sandbox page for Template:NLab (diff). See also the companion subpage for test cases. |
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
[edit]* {{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
[edit]TemplateData for NLab
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 |