Wikisumber:Bak pasir: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Empat Tilda (bicara | kontrib)
Empat Tilda (bicara | kontrib)
Baris 74:
* [[Bantuan: and endnotes|Footnotes]] Seperti halnya di wikipedia, setiap buku pasti akan memuat catatan kaki. Untuk menuliskannya memerlukan templat <code><nowiki><ref></ref></nowiki></code> dan <code><nowiki><references/></nowiki></code> ( atau {{tl|smallrefs}} ). Untuk templat {{tl|reflist}} hanya tanda bagi penulis dan ruang nama utaman.
 
== ObsoletePenanda markupusang ==
{{shortcut|[[H:OLDMARKUP]]}}
Some markup is obsolete in modern HTML and will eventually be removed from browsers and MediaWiki. This is not a MediaWiki or Wikisource decision: the HTML constructs are deprecated by the official web standards body, the W3C.
 
Beberapa markup sudah usang dalam HTML modern dan pada akhirnya akan dihapus dari browser dan MediaWiki. Ini bukan keputusan MediaWiki atau Wikisource: konstruksi HTML tidak digunakan lagi oleh badan standar web resmi, W3C.
Generally, there are two kinds of deprecation:
* Obsolete tags (tags look like <code><nowiki><this></nowiki></code>) that represent "non-semantic" content and are more correctly done using semantically-meaningful tags and styles via CSS
* Obsolete ''attributes'' on tags (attributes look like <code><nowiki><tag attribute=this orthis></nowiki></code>) which encode stylistic information that is more correctly implemented in CSS
 
Secara umum, ada dua jenis yang dianggap usang dan kemudian di hapus:
In some cases, for example, in EPUB exports, such deprecated HTML can cause client problems and the exporter will attempt to strip the problematic code and replace with a best-effort replacement. This does not always work.
* Tag usang (tag terlihat seperti <code><nowiki><ini></nowiki></code>) yang mewakili konten "non-semantik" dan lebih tepat dilakukan menggunakan tag dan gaya yang bermakna secara semantik melalui CSS
 
Dalam beberapa kasus, misalnya, dalam ekspor EPUB, HTML yang tidak digunakan lagi dapat menyebabkan masalah klien dan eksporter akan mencoba menghapus kode yang bermasalah dan menggantinya dengan upaya pengganti terbaik. Ini tidak selalu berhasil.
Some deprecations that are common, and their resolutions
 
Beberapa penolakan yang umum, dan resolusinya
* Obsolete HTML tags. Use of these tags triggers [[Special:LintErrors/obsolete-tag|linter errors]].
 
** <code><nowiki><center></nowiki></code>: use {{tl|center}}
* Tag HTML usang. Penggunaan pemicu tag ini.
** <code><nowiki><big></nowiki></code>: use {{tl|larger}}
** <code><nowiki><smallcenter></nowiki></code>: usememakai {{tl|smallercenter}}
** <code><nowiki><fontbig></nowiki></code>: use templates likememakai {{tl|blackletterlarger}}, {{tl|red}}, etc., as appropriate
** <code><nowiki><ttsmall></nowiki></code>: usememakai {{tl|monospacesmaller}}
** <code><nowiki><font></nowiki></code>: memakai templat seperti {{tl|blackletter}}, {{tl|red}}, dll, yang paling sesuai
** <code><nowiki><centertt></nowiki></code>: usememakai {{tl|centermonospace}}
 
*The use of the <code>align</code> attribute is also deprecated and should be replaced with CSS: