Template:rl/doc
This is one of templates used to make links.
Absolute links:
{{ltt|path|title (optional)}} - link to a page using absolute path. The default title is only the last part of the path. Link font is teletype
.
{{ltf|path|title (optional)}} - link to a page using absolute path. The default title is only the last part of the path. Link font is teletype
. Parentheses indicating function are appended.
{{cpp/ltf|path|title (optional)}} - link to a page using absolute path. The default title is only the last part of the path. Link font is teletype
. Parentheses indicating function are appended. std::
indicating std namespace is prepended.
{{l2tt|page|title1 (optional)| title2 (optional)}} - makes a link to a page using absolute path. The title is formed from the last but one and the last parts of the path. ::
is inserted between them. Each of these parts can be overridden by title1 and title2. Link font is teletype
.
{{l2mtt|page|title1 (optional)| title2 (optional)}} - makes a composite link. The title is formed from the last but one and the last parts of the path. ::
is inserted between them. Each of these parts can be overridden by title1 and title2. Link font is teletype
.
Relative links:
{{rl|page|title (optional)}} - makes a link to a page relative to this page. The link appears in normal font.
{{rlp|page|title (optional)}} - makes a link to a page relative to the parent page. The link appears in normal font.
{{rlt|page|title (optional)}} - makes a link to a page relative to this page. The link appears in teletype font.
{{rlpt|page|title (optional)}} - makes a link to a page relative to the parent page. The link appears in teletype font.
{{rlf|page|title (optional)}} - makes a link to a page relative to this page. The link appears in teletype font and parentheses indicating a function are appended.
{{rlpf|page|title (optional)}} - makes a link to a page relative to the parent page. The link appears in teletype font and parentheses indicating a function are appended.