「ヘルプ:トランスクルージョン」の版間の差分

削除された内容 追加された内容
Sat.d.h. (トーク | 投稿記録)
編集の要約なし
Sat.d.h. (トーク | 投稿記録)
13行目:
このヘルプページではもっとも一般的なトランスクルージョンの方法を検討します。これだけで初めての文章を扱う際に十分役立ちます。Next the page discusses more advanced and uncommon uses for transclusion which can stretch the digital text beyond familiar boundaries.そして最後に、2つのトランスクルージョンの方法の全機能を検討します。それでもなお、未解決の疑問やトランスクルージョンによる問題があれば、[[Wikisource:井戸端]]に質問してください。だれかが最善を尽くしてくれます!
 
== 全ページをトランスクルージョンする方法 ==
==How to transclude full pages==
''Page:''名前空間からウィキの標準プレゼンテーション空間へ多くのページをまとめてトランスクルージョンするのがほとんどたいていでしょう――[[:en:The Wind in the Willows (1913)/Chapter 1]]で見たように。全ページをトランスクルージョンできる方法が2つあります。<nowiki><pages/></nowiki>機能と、より古い{{tl|Page}}テンプレートです。ほとんどの場合<nowiki><pages/></nowiki>タグが最善のトランスクルージョン方法になりますが、今でもなお既存の文章を編集するときに古くなったテンプレートに遭遇するかもしれません。
You will most often be transcluding many pages together from the ''Page:'' namespace into the main presentation space of the wiki—as you saw at [[The Wind in the Willows (1913)/Chapter 1]]. There are two methods which can perform full-page transclusion. The <nowiki><pages/></nowiki> function, and the older {{tl|Page}} template. Most of the time, the <nowiki><pages/></nowiki> tag will be the best method of transcluding, but you may still run across the older template method when editing existing texts.
 
The syntax for <nowiki><pages/></nowiki> is as follows:の構文は以下のとおりです:
 
<pre><pages index="file name.djvu" from=x to=y/></pre>
:* "file name.djvu" is replaced with the exact name of the を作業するIndex you are working with.の実際名に置き換えます。
:* トランスクルージョンしたい最初のページが"x"です。
:*The number after the slash (/) following the file name of the first page you wish to transclude is "x".
:* トランスクルージョンしたい最後のページが"y"です。
:*The number after the slash (/) following the file name of the final page you wish to transclude is "y".
To display what is transcluded at [[:en:The Wind in the Willows (1913)/Chapter 5]] you would type:においてトランスクルージョンしたものを表示するためには、以下のように入力します:
 
<pre><pages index="Wind in the Willows (1913).djvu" from=133 to=161 /></pre>
 
=== 有効だが非推奨 ===
===Working, though deprecated===
The syntax for {{tl|Page}} is as follows: