Jump to content

Template:Sec link/text/doc

From Wikibooks, open books for an open world

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}}.