Template:link-temp-documentation: Difference between revisions
Jump to navigation
Jump to search
TheNightAvl (talk | contribs) (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...") |
TheNightAvl (talk | contribs) 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 | : 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> |