「テンプレート:Page/Root」の版間の差分
細 (added/updated from newiki) |
細 (1版 をインポートしました) |
(相違点なし)
| |
2018年6月29日 (金) 04:46時点における最新版
Gives the root page of:
- the page where you put this template in, or
- the page you provide as first argument
Examples
| Put this in | You type | You get |
|---|---|---|
| Doc:Manual/Foo/Bar | {{Page/Root}} | Doc:Manual |
| Doc:2.4/Manual/Foo/Bar | {{Page/Root}} | Doc:2.4 |
| Doc:BR/Manual/Foo/Bar | {{Page/Root}} | Doc:BR |
| Doc:BR/2.4/Manual/Foo/Bar | {{Page/Root}} | Doc:BR |
| wherever | {{Page/Root|Doc:Manual/Foo/Bar}} | Doc:Manual |
| wherever | {{Page/Root|Doc:2.4/Manual/Foo/Bar}} | Doc:2.4 |
| wherever | {{Page/Root|Doc:BR/Manual/Foo/Bar}} | Doc:BR |
| wherever | {{Page/Root|Doc:BR/2.4/Manual/Foo/Bar}} | Doc:BR |