Template:link-temp-documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
(Created page with "{{documentation subpage}} {{uses lua|Module:links/templates}} Used to link to a Laenktionary entry. There are three similar templates for this function, and their different usage should be noted: * {{temp|l}} should be used for wikilinks in a list. For example, this might be a list of synonyms or derived terms. * {{temp|m}} should be used within free-form text. For example this might be in the middle of a paragraph on usage or as part of an etymology. * {{temp|m+}} sho...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{documentation subpage}}
<includeonly>{{documentation subpage}}
{{uses lua|Module:links/templates}}
{{uses lua|Module:links/templates}}


Line 33: Line 33:


; {{para|nobold|1}}
; {{para|nobold|1}}
: Generally, if a link is on the page it is linked to, it will display as unlinked bold text. This is automatically enabled in certain [[Module:etymology|etymology]] templates. In the case of linking to a homograph in another language's entry on the same page, this parameter is used to re-activate the link.
: Generally, if a link is on the page it is linked to, it will display as unlinked bold text. This is automatically disabled in certain [[Module:etymology|etymology]] templates, however. In the case of linking to a homograph in another language's entry on the same page, this parameter is used to re-activate the link.
:: e.g. {{temp|l|ryn|la}} under the '''Radestrian''' entry on {{m|rad|la}} will not link to the '''Riyan''' entry on the same page. {{temp|l|ryn|la|nobold=1}}, however, will override this.
:: e.g. {{temp|l|ryn|la}} under the '''Radestrian''' entry on {{m|rad|la}} will not link to the '''Riyan''' entry on the same page. {{temp|l|ryn|la|nobold=1}}, however, will override this.


Line 48: Line 48:
==Notes==
==Notes==
* This template can be used with proto-languages, as it automatically handles the insertion of an asterisk (<code>*</code>) to mark reconstruction and linking to the appendix for the language.
* This template can be used with proto-languages, as it automatically handles the insertion of an asterisk (<code>*</code>) to mark reconstruction and linking to the appendix for the language.
*: For example, {{temp|{{BASEPAGENAME}}|lnk-pro|cel-|céltʰes}} produces {{{{BASEPAGENAME}}|lnk-pro|cel-|céltʰes}}.
*: For example, {{temp|{{BASEPAGENAME}}|lnk-pro|cel-|céltʰes}} produces {{{{BASEPAGENAME}}|lnk-pro|cel-|céltʰes}}.</includeonly><noinclude>{{documentation}}[[Category:Template documentation]]</noinclude>

Latest revision as of 02:03, 8 June 2024

TemplateDocumentation.svg Template documentation [view] [edit] [purge]

Provides the documentation for the link templates, {{l}}, {{m}} and {{m+}}.