テンプレート:Page/Root/doc

提供: wiki
移動先: 案内検索

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