Difference between revisions of "Template:Sec link/text"

From Recidemia English
Jump to: navigation, search
m (Protected "Template:Sec link/text": can/will be used in system messages ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(remove {{pp-template}} since included in {{documentation}})
Line 18: Line 18:
 
   }}
 
   }}
 
}}<noinclude>
 
}}<noinclude>
 +
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 11:51, 4 October 2010

Main Page

[edit] [history] [purge] Documentation icon 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}}.as:Section link/text uk:Шаблон:Sec link/text ur:سانچہ:Sec link/text