「ヘルプ:Subpages/ja」を編集中
この編集を取り消せます。
下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 | 編集中の文章 | ||
13行目: | 13行目: | ||
# Redirects from the title with a slash must be created, so that linking and search will work correctly. | # Redirects from the title with a slash must be created, so that linking and search will work correctly. | ||
# Both the [[Special:MyLanguage/Manual:Namespace#Subject-and-talk|subject and talk versions]] of a page (and their corresponding subpages, e.g. discussion archives) need to use the hack, so that moving a page would take all connected pages to the new title (if that setting is selected during the move). For example, subpages are disabled in the main namespace in Wikipedia, so while the talk page would need to use the solidus character to prevent having them marked as subpages, the corresponding page in the main namespace could keep an actual slash, is this goes unnoticed. | # Both the [[Special:MyLanguage/Manual:Namespace#Subject-and-talk|subject and talk versions]] of a page (and their corresponding subpages, e.g. discussion archives) need to use the hack, so that moving a page would take all connected pages to the new title (if that setting is selected during the move). For example, subpages are disabled in the main namespace in Wikipedia, so while the talk page would need to use the solidus character to prevent having them marked as subpages, the corresponding page in the main namespace could keep an actual slash, is this goes unnoticed. | ||
+ | |||
+ | |||
=== 動作の仕組み === | === 動作の仕組み === | ||
− | ページ名にスラッシュ (/) | + | ページ名にスラッシュ (/) を使用することで、ページを親ページとサブページに再帰的に分割できます。例: |
* [[Help:Subpages]] – このページ | * [[Help:Subpages]] – このページ | ||
33行目: | 35行目: | ||
As these automatic breadcrumb links are not in the page content, the breadcrumbs do not place parent pages in the [[Help:What links here|What links here]] and [[Help:Related changes|Related changes]] lists. | As these automatic breadcrumb links are not in the page content, the breadcrumbs do not place parent pages in the [[Help:What links here|What links here]] and [[Help:Related changes|Related changes]] lists. | ||
− | === | + | === サブページの用途 === |
There are various uses for the subpage feature. Some of the typical usages of subpages are: | There are various uses for the subpage feature. Some of the typical usages of subpages are: | ||
42行目: | 44行目: | ||
Subpages are useful for organising information hierarchically. On the other hand, subpages tend to have a long name that is hard to remember, so it may be more user-friendly to use them as little as possible. You can also organize pages with the [[Special:MyLanguage/Help:Category|category]] feature, which is more suitable for creating a hierarchical network of information. | Subpages are useful for organising information hierarchically. On the other hand, subpages tend to have a long name that is hard to remember, so it may be more user-friendly to use them as little as possible. You can also organize pages with the [[Special:MyLanguage/Help:Category|category]] feature, which is more suitable for creating a hierarchical network of information. | ||
− | == | + | == サブページの表示 == |
− | + | 以下のように [[Special:PrefixIndex]] を参照読み込みするだけでサブページを列挙できます: | |
<pre> | <pre> | ||
55行目: | 57行目: | ||
Since the [[Special:MyLanguage/Help:Magic words|magic word]] <nowiki>{{FULLPAGENAME}}</nowiki> outputs the current page, the general wiki markup to show all subpages of the current page is <code><nowiki>{{Special:PrefixIndex/{{FULLPAGENAME}}/}}</nowiki></code>. | Since the [[Special:MyLanguage/Help:Magic words|magic word]] <nowiki>{{FULLPAGENAME}}</nowiki> outputs the current page, the general wiki markup to show all subpages of the current page is <code><nowiki>{{Special:PrefixIndex/{{FULLPAGENAME}}/}}</nowiki></code>. | ||
− | |||
The [[:Category:Subpage extensions|subpage extensions]], such as [[Special:MyLanguage/Extension:SubPageList|Extension:SubPageList]], let you customize the display of subpages. | The [[:Category:Subpage extensions|subpage extensions]], such as [[Special:MyLanguage/Extension:SubPageList|Extension:SubPageList]], let you customize the display of subpages. | ||