Template:Book/Link
From open-support.info
(Difference between revisions)
m |
m |
||
Line 1: | Line 1: | ||
- | + | {{#if:{{{1|}}} | |
- | #if:{{{1|}}} | + | |
|{{Book/Link/core | |{{Book/Link/core | ||
|{{#switch:{{#show:{{FULLPAGENAME}}|?docinfo main#}} | |{{#switch:{{#show:{{FULLPAGENAME}}|?docinfo main#}} | ||
Line 9: | Line 8: | ||
|{{{2|}}} | |{{{2|}}} | ||
}} | }} | ||
- | }}< | + | }}<noinclude> |
- | + | {{documentation onlyinclude}} | |
- | + | {{docinfo | |
- | + | |author = Dick6809 | |
- | + | |desc = produce a link with a respectable page title from relative path. | |
- | + | }} | |
- | + | {{documentation}} | |
- | + | </noinclude> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </ | + | |
- | + | ||
- | + | ||
- | + |
Revision as of 08:10, 15 April 2011
Template:Documentation onlyinclude
[edit] [ ] Template documentation
Template:Book/Link – produce a link with a respectable page title from relative path.
Syntax
{{Book/Link [|['path'][|['text']]]}}
- path - Relative or absolute path list to destination page from the current page. The page language sufix will be supplied automatically if it is required.
- text - Alternative text which will be shown instead of page title.
Please see below how to describe path in this page:
If you are in Type Destination page name is Note -------------------------- ------------ ---------------------------- ---------------- Sample Book/Chapter 1/3/de .. Sample Book/Chapter 1/de Parent page ../4 Sample Book/Chapter 1/4/de Sibling page /1 Sample Book/Chapter 1/3/1/de Child page :Foo/Bar/Buz Foo/Bar/Buz/de Absolute path
Related pages
The above documentation is transcluded from Template:Book/Link/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |