Template:NYT link/genat/doc
From Wikisource
< Template:NYT link | genat
| This is a documentation subpage for Template:NYT link/genat. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
This subtemplate of {{NYT link}} is used to format the text following the link. When the parameters it takes are undefined or empty in the calling template errors are passed (generated by {{#expr:+}}) as sentinel values so that {{#iferror... functions here can handle them appropriately. (Perhaps there is some more elegant way to do this, but {{#ifeq... comparing the values to an empty string weren't working for some reason.)