「ヘルプ:Subpages/ja」を編集中

移動先: 案内検索

警告: ログインしていません。編集を行うと、あなたの IP アドレスが公開されます。ログインまたはアカウントを作成すれば、あなたの編集はその利用者名とともに表示されるほか、その他の利点もあります。

この編集を取り消せます。 下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 編集中の文章
1行目: 1行目:
<languages/>
+
{{PD Help Page/ja}}
{{TNT|PD Help Page}}
+
'''サブページ'''を使うと、ウィキページに一定の階層を作ることができます。階層の段階はスラッシュ(<code>/</code>)で区切って指定します。
'''下位ページ''' ('''サブページ''') はウィキページに階層的な構造をもたらします。階層の各段階はスラッシュ(<code>/</code>)で区切られます。
 
  
=== 動作する場所 ===
+
=== 有効な場所 ===
 +
MediaWikiサブページ機能のデフォルト設定は、標準名前空間では'''無効'''、[[Help:Talk pages/ja|会話用ページ]]や[[Help:User page/ja|利用者ページ]]では有効です。詳しくは[[Help:Namespaces/ja]]をご覧ください。サブページ機能が無効にしてある名前空間では、ページ名に含まれる(/)は単にページ名の一部で特別なことは何も起きません。
  
By default, MediaWiki's subpage feature is turned off in the main namespace, but can be used on [[Special:MyLanguage/Help:Talk pages|talk pages]] and [[Special:MyLanguage/Help:User page|user pages]]. See [[Special:MyLanguage/Help:Namespaces|Help:Namespaces]] for description of namespaces and [[Special:MyLanguage/Manual:$wgNamespacesWithSubpages#Enabling-for-a-namespace|$wgNamespacesWithSubpages]] to learn how to modify this default behavior. In namespaces where the feature is switched off, any forward slashes (<code>/</code>) within a page name are simply part of the page name and do nothing special.
+
=== 機能 ===
 +
ページ名中のスラッシュ(<code>/</code>)は、そのページを親ページとサブページの関係に再帰的に構成します。例えば以下の通りです。
  
When subpages are enabled in a namespace, a forward slash in the title of a page always causes the page to be a subpage, even when this is not intentional or desirable.
+
* [[Help:Subpages]] - このページの親ページ(英語版)
 +
* [[Help:Subpages/ja]] - このページ
 +
* [[Help:Subpages/ja/subpage]] - このページの子ページ、[[Help:Subpages]]の孫ページ
  
As a consequence of the forward slash being a reserved character when subpages are enabled, an alternative character might be needed.  Back slashes (<code>\</code>) are treated as normal characters in subpage naming and can be used in place of forward slashes. Additionally, as a crude hack, a character similar to the forward slash can be used instead, such as the "[[wikt:⧸|big solidus]]" (U+29F8), which results in Foo⧸bar (cf. a real slash: Foo/bar), or the [[wikt:⁄|solidus]] (U+2044), which results in Foo⁄bar. Three possible technical disadvantages (apart from the visual difference from a real slash) arise from this hack:
+
ページ名のスラッシュ後の部分は、冒頭の一文字を含めて大文字小文字を区別しますので注意してください。
# People without the necessary fonts won’t be able to view the character properly;
 
# 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.
 
=== 動作の仕組み ===
 
  
ページ名にスラッシュ (/) を使用することで、ページを親ページと下位ページに再帰的に分割できます。例:
+
サブページには、祖先ページに戻るリンクが自動的にトップに現れます。ただし、親ページがまだ作成されていない場合これらのリンクは現れません。
  
* [[Help:Subpages]] – このページ
+
=== サブページの使用目的 ===
* [[Help:Subpages/subpage]] – 子ページ
+
サブページはいろいろな使い方ができます。一般的な使い方には次のようなものがあります。
* [[Help:Subpages/subpage/sub-subpage]] – 孫ページ
+
* [[Help:Talk pages/ja|会話用ページ]]の下に過去の議論の過去ログを作る
* [[Help:Subpages/subpage/sub-subpage/sub-sub-subpage]] – 曾孫ページ
+
* [[Help:User page/ja|利用者ページ]]の下に草稿用の編集領域を作る
* [[Help:Subpages/subpage/sub-subpage/sub-sub-subpage/sub-sub-sub-subpage]] – 玄孫ページ
+
* 多言語ウィキにおいて文書の他言語版を作る
  
You can link directly to any page’s subpage using the normal ''double square brackets'' notation, by providing the full name – including the slash(es) and the individual subpage name(s).  You can also link from one page to one of ''its own'' subpages using certain shortcuts, which are covered at [[Special:MyLanguage/Help:Links#Internal|Help:Links]].
+
サブページは情報を階層的に構成するのに便利です。一方で、サブページのページ名は長くなりがちであり、覚えにくくなりがちです。ウィキ利用者が使いやすいように、サブページの使用はなるべく少なくするほうがよいでしょう。ページの整理は[[Help:Categories/ja|カテゴリ]]機能を使ってもできますし、このほうがページを階層的なネットワークに構成できます。
  
There are [[Help:Magic words#Page names|Magic words]] to split the name of a subpage, such as <code><nowiki>{{BASEPAGENAME}}</nowiki></code> and <code><nowiki>{{SUBPAGENAME}}</nowiki></code>, and the parser function <code><nowiki>{{</nowiki>[[Special:MyLanguage/Help:Extension:ParserFunctions#.23titleparts|#titleparts:]]<nowiki>}}</nowiki></code> for finer control.
+
{{Admin tip/ja|tip={{mediawiki|Manual:$wgNamespacesWithSubpages/ja|$wgNamespacesWithSubpages}} を設定することでサブページ機能を有効にする名前空間を変更できます。}}
  
ページ名のスラッシュ以降の部分では、'''先頭の文字も含め'''、大文字・小文字が区別されることにご注意ください。
+
==関連項目==
 +
* [[Meta:ヘルプ:リンク#サブページ機能]]
 +
* [[Help:Variables/ja#ページ名]]
  
[[w:Breadcrumb links|Breadcrumb links]] will appear automatically at the top of the subpage, linking to each parent page that exists. These links do not appear, however, if the parent pages have not yet been created or if the subpage feature is turned off.
+
{{languages}}
  
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.
+
[[Category:Help/ja|{{PAGENAME}}]]
 
+
[[Category:Subpage/ja|{{PAGENAME}}]]
=== 下位ページの使用 ===
 
 
 
There are various uses for the subpage feature. Some of the typical usages of subpages are:
 
* to create archives of old discussions under a [[Special:MyLanguage/Help:Talk pages|talk page]],
 
* to create scratchpad editing spaces under a [[Special:MyLanguage/Help:User page|user page]],
 
* to create other language versions of a document in multilingual wikis.
 
 
 
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>
 
{{Special:PrefixIndex/Help:Subpages/}}
 
</pre>
 
 
 
結果は以下のようになります:
 
 
 
{{Special:PrefixIndex/Help:Subpages/}}
 
 
 
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>.
 
You can pass parameters to this, e.g. <nowiki>{{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}}</nowiki>
 
The [[:Category:Subpage extensions|subpage extensions]], such as [[Special:MyLanguage/Extension:SubPageList|Extension:SubPageList]], let you customize the display of subpages.
 
 
 
== 関連項目 ==
 
 
 
* [[Special:MyLanguage/Manual:$wgNamespacesWithSubpages|Manual:$wgNamespacesWithSubpages]]
 
* [[Meta:Help:Link#Subpage feature|Meta:Help:Link#Subpage feature]]
 
* [[Special:MyLanguage/Help:Variables#Page-names|Help:Variables#Page names]]
 
* [[Special:PrefixIndex]] — Provides a list of subpages.
 
* [[Special:MyLanguage/:Category:Subpage_extensions|Subpage related extensions]]
 
* {{Wikipedia|Subpages}}
 
 
 
[[Category:Help{{translation}}|{{PAGENAME}}]]
 
[[Category:Subpage{{translation}}|{{PAGENAME}}]]
 

ひつじ小屋別館2代目への投稿はすべて、他の投稿者によって編集、変更、除去される場合があります。 自分が書いたものが他の人に容赦なく編集されるのを望まない場合は、ここに投稿しないでください。
また、投稿するのは、自分で書いたものか、パブリック ドメインまたはそれに類するフリーな資料からの複製であることを約束してください(詳細はひつじ小屋別館2代目:著作権を参照)。 著作権保護されている作品は、許諾なしに投稿しないでください!

このページを編集するには、下記の確認用の質問に回答してください (詳細):

取り消し | 編集の仕方 (新しいウィンドウで開きます)