Template:Nlab: Difference between revisions
(Created page with "{{#if: {{{title|}}} | [https://ncatlab.org/nlab/show/{{{id}}} {{{title}}}] in ''nLab'' | [https://ncatlab.org/nlab/show/{{{id}}} {{{id}}}] in ''nLab''}}<noinclude>{{Do...") |
m (1 revision imported from alpha:Template:Nlab) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[https://ncatlab.org/nlab/show/{{{id}}} {{{title|{{{id}}}}}}] at the [[nLab|''n''Lab]]<noinclude>{{Documentation}}</noinclude> | |||
[https://ncatlab.org/nlab/show/{{{id}}} {{{title |
Latest revision as of 09:40, 22 December 2022
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
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 |