Template:Sec link/text

From Wikibooks, open books for an open world
Jump to: navigation, search

Main Page

[edit] [history] [purge] Template documentation

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

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