Templat:Template other: Perbedaan antara revisi
k bot Menambah: lmo:Mudel:Template other, ht:Modèl:Template other |
k Bot: Migrasi 118 pranala interwiki, karena telah disediakan oleh Wikidata pada item d:Q5635843 |
||
Baris 15: | Baris 15: | ||
{{documentation}} |
{{documentation}} |
||
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
||
[[ab:Ашаблон:Template other]] |
|||
[[ace:Pola:Template other]] |
|||
[[af:Sjabloon:Template other]] |
|||
[[ak:Şablon:Template other]] |
|||
[[am:መለጠፊያ:Template other]] |
|||
[[ang:Bysen:Template other]] |
|||
[[ar:قالب:قالب أخرى]] |
|||
[[arc:ܩܠܒܐ:ܩܠܒܐ ܐܚܪܝܢܐ]] |
|||
[[arz:قالب:قالب تانى]] |
|||
[[as:সাঁচ:Template other]] |
|||
[[ba:Ҡалып:Template other]] |
|||
[[bg:Шаблон:Template other]] |
|||
[[bh:टेम्पलेट:Template other]] |
|||
[[bi:Template:Template other]] |
|||
[[bjn:Citakan:Template other]] |
|||
[[bn:টেমপ্লেট:Template other]] |
|||
[[bo:Template:Template other]] |
|||
[[br:Patrom:Template other]] |
|||
[[bug:Templat:Template other]] |
|||
[[bxr:Template:Template other]] |
|||
[[ca:Plantilla:Template other]] |
|||
[[ceb:Plantilya:Template other]] |
|||
[[chy:Template:Template other]] |
|||
[[ckb:داڕێژە:Template other]] |
|||
[[cr:Template:Template other]] |
|||
[[csb:Szablóna:Template other]] |
|||
[[cy:Nodyn:Template other]] |
|||
[[diq:Şablon:Template other]] |
|||
[[dv:ފަންވަތް:Template other]] |
|||
[[el:Πρότυπο:Template other]] |
|||
[[en:Template:Template other]] |
|||
[[eo:Ŝablono:Ĉu ŝablono]] |
|||
[[et:Mall:Template other]] |
|||
[[fa:الگو:Template other]] |
|||
[[fr:Modèle:Template other]] |
|||
[[ga:Teimpléad:Template other]] |
|||
[[gag:Şablon:Template other]] |
|||
[[gd:Teamplaid:Template other]] |
|||
[[gu:ઢાંચો:Template other]] |
|||
[[gv:Clowan:Template other]] |
|||
[[hi:साँचा:Template other]] |
|||
[[hif:Template:Template other]] |
|||
[[ht:Modèl:Template other]] |
|||
[[ie:Avise:Template other]] |
|||
[[ilo:Plantilia:Template other]] |
|||
[[is:Snið:Template other]] |
|||
[[ja:Template:Template other]] |
|||
[[jv:Cithakan:Template other]] |
|||
[[kaa:Shablon:Template other]] |
|||
[[kg:Template:Template other]] |
|||
[[kl:Ilisserut:Template other]] |
|||
[[km:ទំព័រគំរូ:Template other]] |
|||
[[kn:ಟೆಂಪ್ಲೇಟು:Template other]] |
|||
[[ko:틀:틀 기타]] |
|||
[[koi:Шаблон:Template other]] |
|||
[[ks:فرما:Template other]] |
|||
[[ku:Şablon:Template other]] |
|||
[[ky:Калып:Template other]] |
|||
[[la:Formula:Template other]] |
|||
[[lmo:Mudel:Template other]] |
|||
[[lo:ແມ່ແບບ:Template other]] |
|||
[[lt:Šablonas:Template other]] |
|||
[[map-bms:Cithakan:Template other]] |
|||
[[mg:Endrika:Template other]] |
|||
[[mi:Template:Template other]] |
|||
[[min:Templat:Template other]] |
|||
[[mk:Шаблон:Template other]] |
|||
[[ml:ഫലകം:Template other]] |
|||
[[mn:Загвар:Template other]] |
|||
[[mr:साचा:Template other]] |
|||
[[ms:Templat:Template other]] |
|||
[[my:Template:Template other]] |
|||
[[mzn:شابلون:Template other]] |
|||
[[ne:ढाँचा:Template other]] |
|||
[[new:Template:Template other]] |
|||
[[nso:Template:Template other]] |
|||
[[or:ଛାଞ୍ଚ:Template other]] |
|||
[[pa:ਫਰਮਾ:Template other]] |
|||
[[pag:Template:Template other]] |
|||
[[pap:Template:Template other]] |
|||
[[pi:पटिरूप:Template other]] |
|||
[[pnb:Template:Template other]] |
|||
[[pt:Predefinição:Template other]] |
|||
[[ro:Format:Template other]] |
|||
[[ru:Шаблон:Template other]] |
|||
[[rue:Шаблона:Template other]] |
|||
[[sa:फलकम्:Template other]] |
|||
[[sco:Template:Template other]] |
|||
[[sd:سانچو:Template other]] |
|||
[[si:සැකිල්ල:සැකිල්ල වෙනත්]] |
|||
[[simple:Template:Template other]] |
|||
[[sl:Predloga:Template other]] |
|||
[[so:Template:Template other]] |
|||
[[sq:Stampa:Template other]] |
|||
[[sr:Шаблон:Template other]] |
|||
[[srn:Ankra:Lang-fra]] |
|||
[[su:Citakan:Template other]] |
|||
[[sw:Kigezo:Template other]] |
|||
[[ta:வார்ப்புரு:Template other]] |
|||
[[te:మూస:Template other]] |
|||
[[tg:Шаблон:Template other]] |
|||
[[th:แม่แบบ:Template other]] |
|||
[[tl:Padron:Template other]] |
|||
[[tn:Template:Template other]] |
|||
[[tpi:Templet:Template other]] |
|||
[[tr:Şablon:Template other]] |
|||
[[tw:Template:Template other]] |
|||
[[uk:Шаблон:Template other]] |
|||
[[ur:سانچہ:Template other]] |
|||
[[uz:Andoza:Template other]] |
|||
[[vi:Bản mẫu:Template other]] |
|||
[[wa:Modele:Template other]] |
|||
[[war:Batakan:Template other]] |
|||
[[xmf:თარგი:Template other]] |
|||
[[yo:Àdàkọ:Template other]] |
|||
[[zh:Template:Template other]] |
|||
[[zh-yue:Template:Template other]] |
|||
[[zu:Template:Template other]] |
|||
</noinclude> |
</noinclude> |
Revisi per 7 April 2013 18.32
Templat ini digunakan pada 4.380.000+ halaman, atau sekira 112% dari keseluruhan halaman halaman. Untuk mencegah suntingan mengganggu skala besar dan beban peladen, setiap perubahan perlu diuji di subhalaman /bak pasir atau /kasus uji templat, atau subhalaman pengguna Anda. Perubahan yang diuji dapat ditambahkan ke halaman ini dalam satu suntingan. Pertimbangkan untuk mendiskusikan perubahan di halaman pembicaraan sebelum mengimplementasikannya. |
This is a meta-template which helps other templates detect whether they are used in the "Template:" namespace.
Penggunaan
This template usually takes one or two parameters:
{{Template other |[result/action if on a template page] (|[result/action if on another type of page])}}
For example, if {{Template other |On template page |Not on template page}} were on a "Template:" page, it would return:
- On template page
On any other type of page (e.g. "Wikipedia:", "User:") it would return:
- Not on template page
A typical use is to manage the categorization of template pages. Adding {{Template other | |[[Category:[category name]]]}} to a template, for instance, means it would only categorize a page when that page isn't a template page. (The first parameter consists of nothing, so no action taken if/when the template is on a template page.)
Demospace
The parameter demospace can be used to demonstrate or test this template. By default, it is undefined and has no effect on the template's action, but:
- when set as "template" (
|demospace=template
), it prompts the template to return the first result/action above (i.e. to behave as if on a "Template:" page) even if the template is on a different type of page; - when set as "other" (
|demospace=other
), it prompts the template to return the second result/action above (i.e. to behave as if not on a "Template:" page) even if the template is on a "Template:" page.
For example:
{{Template other | demospace = template | Template page text | Other pages text }}
No matter on what kind of page the code above is used, it returns: Template page text
You can make it so your template also understands the demospace parameter. That means you can demonstrate the different appearances of your template in the documentation for your template. Then do like this:
{{template other | Template page text | Other pages text | demospace = {{{demospace|}}} }}
Informasi teknis
This template detects "Template talk:" pages as type other. For more details relevant to this template, see {{Main talk other}}, which works similarly.