Template:Sec link/text/doc
Appearance
This is a documentation subpage for Template:Sec link/text. It may contain usage information, categories and other content that is not part of the original template page. |
This is the {{sec link/text}} sub-template.
Do not use this template directly, use {{sec link}} or {{sec link auto}} and their sister templates instead.
This template is called from the {{sec link}} family of templates.
Technical details
[edit source]This sub-template returns the text (caption) for a link. It expects these parameters:
{{sec link/text | project = | pagename = | text = | lang = | query = | anchor = }}
If "text" is fed it simply returns that, otherwise it builds the proper default text by using the other parameters.
For more documentation see {{sec link}}.