Yardım:Taranmış sayfa bağlama: Revizyonlar arasındaki fark

İçerik silindi İçerik eklendi
Justinianus (Tartışma | katkılar)
Justinianus (Tartışma | katkılar)
160. satır:
 
===<nowiki><pages/></nowiki> işlevinin kullanımı===
Most of the time, theÇoğunlukla <nowiki><pages/></nowiki> tagetiketi willbağlama beiçin theen bestiyi method of transcludingyöntemdir. There is only oneBurada requiredgerekli parameter,olan whichtek isparametre '''index=''' parametresidir. ThisBu fieldalan mustmutlaka alwaysdoldurulmalıdır beaksi suppliedtakdirde oretiketin nothingbir happensişlevi kalmayacaktır. TheBunu exactkullanmanın patterntam tobir useörneği is as followsşöyledir: <code><nowiki><pages index="filedosya nameadı.djvu"/></nowiki></code> where the name ''filedosya nameadı.djvu'' isbölümü justtemsili aolup placeholderistinsah forsırasında whateverkullandığınız filedosyanın youadıyla have used when proofreadingdeğiştirilecektir.
 
Whereİstinsah theedilecek pages to be transcluded would need to be placed inside another a tag such as asayfaların <code><nowiki><ref></ref></nowiki></code> pair,çifti gibi başka bir thenetiketin içine yerleştirilmesi gerektiğininde, theyerine [[mw:Help:Magic words/tr|MagicSihirli wordKelimelerden]] <code>#tag:pages</code> shouldkodu beuygunca usedçevrilmiş instead,ilgili withparametrelerle thebirlikte relevantkullanılması parameters translated accordinglygerekir. The parameters themselvesParametrelerin havekendisi theaynı samedeğer valuesve andetkiye effectssahiptir.
 
Try it out with a real file name: Copy
<blockquote><code><nowiki><pages index="Wind in the Willows (1913).djvu"/></nowiki></code></blockquote>
into [https://en.wikisource.org/w/index.php?title=Help:Transclusion/Sandbox&action=edit here] and save. There is one other way to type this and have the same result. Try out <code><nowiki><pages index=Wind_in_the_Willows_(1913).djvu/></nowiki></code>. This works just the same. The important thing to know is that <code><nowiki><pages index=Wind in the Willows (1913).djvu/></nowiki></code> will not work. If you use any spaces in the field, then you must also surround the field with quotation marks ("), or it will not work.
 
Bunu gerçek bir dosya adıyla deneyin: <blockquote><code><nowiki><pages index="Wind in the Willows (1913).djvu"/></nowiki></code></blockquote> kodunu [https://tr.wikisource.org/w/index.php?title=Yard%C4%B1m:Taranm%C4%B1%C5%9F_sayfa_ba%C4%9Flama/Deneme&action=edit buraya] kopyalayıp kaydedin. Bunun bir diğer yolu da bu kodu aynen yazmaktır. <code><nowiki><pages index=Wind_in_the_Willows_(1913).djvu/></nowiki></code> kodunu deneyebilirsiniz. Bu da aynı şekilde çalışmaktadır. Bilinmesi gereken şey <code><nowiki><pages index=Wind in the Willows (1913).djvu/></nowiki></code> kodunun çalışmayacağıdır. İlgili alanda bir tane bile boşluk kullanırsanız, o alanın başına ve sonuna tırnak işareti (") koymalısınız, aksi takdirde kod çalışmaz.
While you always must supply the '''index=''' field, if you do not add any other parameters this syntax will only transclude the index of the file. Whenever you also supply some of the optional parameters, the index will be superseded by your other commands. Some of these optional parameters must be paired together in order to work. The numbers used in these fields are the titular number after the / in the ''Page:'' namespace. The optional parameters are as follows:
 
'''index=''' kısmını doldurmanız gerekmekle birlikte, başka bir parametre eklemezseniz bu sözdizimi yalnızca dosyanın dizinini bağlar. Ayrıca bazı ihtiyari parametreleri doldurmanız halinde, dizin diğer komutlarınız tarafından ortadan kaldırılacaktır. Bu bazı ihtiyari parametrelerin çalışması için eşiyle birlikte kullanılması gerekir. Bu alanlarda kullanılan sayılar ''Sayfa:'' ad alanındaki / ad alanından sonraki itibari sayılardır. İhtiyari parametreler aşağıdaki gibidir.
* '''include=''' to supply the numbers of the page(s) to be transcluded
 
*'''from=''' (''paired with '''to=''''') to supply the number of the first page to be transcluded
* '''include=''' bağlanacak sayfa sayısı
*'''to=''' (''paired with '''from=''''') to supply the number of the last page to be transcluded
*'''from=''' ('''''to=''' ile birlikte kullanılmalıdır'') bağlanacak ilk sayfa
*'''fromsection=''' (''paired with '''from='''/'''to=''' or '''include=''' or '''exclude=''' '') to supply the initial anchor on the first page of the section
*'''tosectionto=''' (''paired with '''from='''/'''to=''' orile '''include=''' orbirlikte '''exclude='''kullanılmalıdır'') to supply the final anchor on the last page ofbağlanacak theson sectionsayfa
*'''onlysectionfromsection=''' (''paired with '''from='''/'''to=''' orveya '''include=''' orya da '''exclude=''' ile birlikte kullanılmalıdır'') to supply the anchor used to mark offbölümün ailk sectionsayfasındaki forilk transclusionçengel
* '''steptosection=''' (''paired with '''from='''/'''to=''' orveya '''include=''' orya da '''exclude=''' ile birlikte kullanılmalıdır'') to supply a incremental number where every xbölümün pageson willsayfasındaki beson transcluded.çengel
*'''onlysection=''' ('''''from='''/'''to=''' veya '''include=''' ya da '''exclude=''' ile birlikte kullanılmalıdır'') bağlama için bir bölümü işaretlemek için kullanılan çengel
:Transclude every other page by increments of n. By example : <nowiki><pages from=1 to=10 step="2" /></nowiki> show the 1st, 3rd, 5th, 7th and 9th pages.
* '''step=''' ('''''from='''/'''to=''' veya '''include=''' ya da '''exclude=''' ile birlikte kullanılmalıdır'') bağlanacak her x sayfa için artan sayı
:TranscludeHer everybir otherdiğer pagesayfayı byn incrementsartışla of nbağla. By example Örneğin: <nowiki><pages from=1 to=10 step="2" /></nowiki>; show1. the3. 1st,5. 3rd,7. 5th,ve 7th9. andsayfaları 9th pagesgösterir.
* '''include'''
:Includeİlgili followingsayfaları pagesdahil et. ThisBu allowsdaha aesnek morebir flexibleliste list.oluşturulmasına Forimkan exampleverir. Örneğin: <nowiki><pages include="2-5,9" /></nowiki>; show2. the3. 2nd,4. 3rd,5. 4th,ve 5th9. andsayfaları 9th pagesgösterir.
* '''exclude'''
:Don'tİlgili includesayfaları followingdahil pagesetme. By example Örneğin: <nowiki><pages from=1 to=10 exclude="2-5,9" /></nowiki> show1. the6. 1st,7. 6th,8. 7th,ve 8th10. andsayfaları 10th pagesgösterir.
 
We canElbette, of course, use all the attributesbütün onparametreleri theaynı sameanda tagkullanabiliriz. By exampleMesela <nowiki><pages from=1 to=10 include="31" exclude="2-4" step="2" /></nowiki> will1. show5. 1st,7. 5th,9. 7th,31. 9thsayfaları and 31st pagesgösterir.
 
'''Not''': Doğru uygulamalar &lt;pages> etiketi barındıran parametrelerin tırnak içine alınması gerektiğini göstermektedir. Etiketlerin içerisinde tırnak içine alınmamış boş parametreler {{Kısa-büyük harfler|bulundurmamak}} önemlidir, bu yüzden lütfen ya boş parametreleri tırnak içine alın ya da gereksiz ihtiyari parametreleri silin.
'''Note''': Good practice says that attributes within the &lt;pages> tag should be quoted. It is important to {{sc|not}} have unquoted empty attributes within tags, so please either quote empty attributes, or remove the unneeded optional attributes.
 
=== Bağlanan içeriğin değerlendirilmesi ===