模板:Subjects/leaf
外觀
本模板已應用於over 2,500頁面。 為避免大規模的破壞及不必要的服務器負荷,任何改動均應先在模板的沙盒、測試樣例頁面或您自己的用戶頁測試,經過測試後即可一次性改動本模板。為尊重其他用戶,任何改動在生效前都應先在討論頁討論。 |
This template adds the current page (presumed to be the main page of a book) to a specified subject category, and tries to add it to the allbooks categories of that subject and all that subject's ancestors.
使用
[編輯]本模板用兩個參數,一個是必需參數,一個是可選參數。
1
— 必需。Names the subject to add the book to.diagnose
— 可選。If blank, error conditions result only in addition of the book to hidden Category:Attention needed (allbooks). If non-blank, diagnostic messages are also generated, with suggested remedies and buttons for effecting them.
Only addition to the named subject, Category:{{{1}}}
, is done within this template; population of allbooks categories is delegated to {{Subjects/0}}.
上述文檔嵌入自Template:Subjects/leaf/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (創建 | 鏡像)和測試樣例 (創建)頁面進行實驗。 請在/doc子頁面中添加分類。 本模板的子頁面。 |