پرش به محتوا

الگو:Namespace detect see also: تفاوت میان نسخه‌ها

از ویکی‌هزاره
صفحه‌ای تازه حاوی «Easy to use namespace-detection templates: * {{tl|main other}} – For article templates. * {{tl|talk other}} – For talk page templates. * {{tl|user other}} – For user page templates. * {{tl|wikipedia other}} – For detecting "Wikipedia:" pages. * {{tl|file other}} – For file (image) templates. * {{tl|template other}} – For detecting template pages. * {{tl|help other}} – For help page templates. * {{tl|category other}} –...» ایجاد کرد
 
(بدون تفاوت)

نسخهٔ کنونی تا ‏۲۳ ژانویهٔ ۲۰۲۵، ساعت ۱۸:۲۵

Easy to use namespace-detection templates:

More complex namespace-detection templates:

Pagename-handling and detection templates:

  • {{basepage subpage}} – For detecting if on a basepage, subpage or subsubpage.
  • {{pgn}} – Can take apart and put together pagenames in several ways.
  • {{if pagename}} – For pattern matching on the pagename.
  • {{if pagename multi}} – For pattern matching on the pagename, has input reuse.
  • {{IP-user other}} – For detecting IP-user pages.
  • {{IP-talk}} - Return: 1) IP user talk page 2) registered user talk page 3) not user talk page.

Technical stuff:

mw:Help:Magic words – About {{NAMESPACE}} etc.

توضیحات الگو[ایجاد] [پاکسازی]