Template:Back: Difference between revisions
Jump to navigation
Jump to search
m (Added support to use categories in links, added optional link renaming) |
(There was the issue that using this template followed by another would keep the indent of this one. Fixed by replacing <br> with a newline.) |
||
Line 1: | Line 1: | ||
<includeonly>:← <small>{{#if: {{{2|}}} | [[:{{{1}}} | {{{2}}}]] | [[:{{{1}}}]] }}</small>< | <onlyinclude><includeonly>:← <small>{{#if: {{{2|}}} | [[:{{{1}}} | {{{2}}}]] | [[:{{{1}}}]] }}</small> | ||
<!-- we do want a line break here to end the indent--></includeonly></onlyinclude> | |||
This is navigation template. An optional linkname can be added if the pagename is undesirable. | This is navigation template. An optional linkname can be added if the pagename is undesirable. | ||
Line 8: | Line 10: | ||
[[Category:Navigation templates|{{PAGENAME}}]] | [[Category:Navigation templates|{{PAGENAME}}]] | ||
Revision as of 10:27, 3 September 2021
This is navigation template. An optional linkname can be added if the pagename is undesirable.
Usage: {{Back|Pagename|Linkname}}
Example 1:
Example 2 (Category):