แม่แบบ:ROOTBOOKNAME/doc

จาก วิกิตำรา

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions.

Usage[แก้ไขต้นฉบับ]

When used on category, template, or talk pages, returns the associated book name. Otherwise the full book name is returned.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{ROOTBOOKNAME|Page Name}}

Examples[แก้ไขต้นฉบับ]

Wikijunior:Biologyวิกิเยาวชน:วิกิเยาวชน:Biology

Chess/Puzzles/DirectmatesChess

Wikijunior:Dinosaurs/Apatosaurusวิกิเยาวชน:วิกิเยาวชน:Dinosaurs

Category:Horticulture/Templates/Boxesหมวดหมู่:หมวดหมู่:Horticulture

Wikijunior talk:Bugs/Shield BugWikijunior talk:Bugs

See also[แก้ไขต้นฉบับ]