Template:Unknown parameters category
用法
[編輯]This template is a page header for a category page that is populated by Module:Check for unknown parameters.
To use it, add the following to the category page:
- Template:Tlxi
- where
TEMPLATE_NAME
is the name of the template the category is tracking.
The header displays message boxes, a table of contents, and will add the category page to Category:Unknown parameters.
When the first word of TEMPLATE_NAME
is Infobox, the template also adds the category page to Category:Infoboxes with unknown parameters.
- Full syntax
{{Unknown parameters category|1= |catsort= |is_infobox= |infobox_sort= }}
- Parameter options
- |1= first parameter is the TEMPLATE_NAME.
- |catsort= sets how the category-page is sorted in Cat:Unknown parameters. Default sorting is by template name (|1=). Example: Category:Pages using Belgium data templates ... has |catsort=Belgium (not by template name {{Metadata Population BE}}).
- |is_infobox=yes lists the category page in Cat:Infoboxes with unknown parameters. Default listing occurs when template name starts with
Infobox
. Example: {{Chembox}}. - |infobox_sort= sets category sorting in Cat:Infoboxes with unknown parameters. Default sorting is by template name. Example: {{routemap-Infobox}}
例
[編輯]{{Unknown parameters category|Infobox writer}}
(see Category:Pages using Infobox writer with unknown parameters):
就算吉咗都唔好刪呢個分類! 呢個分類有時可能係吉嘅。 |
呢個係用來做維基百科計劃嘅維修分類。用嚟維修個維基百科計劃,唔屬於百科全書嘅一部份。裏面裝住嘅版唔係文章,或者按狀態嘅文章表,而無一啲內容。唔好包含呢個類響內容分類度。 呢個係一個隱藏類。佢唔會響佢嘅仔頁度顯示出嚟,除非相應嘅用戶喜好設定『顯示隱藏類』已經設定好咗。 呢個係一個追蹤類。佢起同埋主要維修佢自己嘅一覽表。用模嚟將啲版加入去追蹤類度。 |
呢個分類底下嘅頁面用咗Template:Infobox writer (talk)當中唔存在嘅參數。
喺分類頁上面,啲文會以未知參數嘅字母順序排列,例如,如果個未知參數係|foo=,嗰版會排係「F」。參數同名嘅時候,唔同嘅文會以文章名排列。
個模用咗Module:Check for unknown parameters嚟檢查有無用緊未知參數。為咗展示上述嘅資訊,開版新嘅追蹤分類嗰時,請喺分類頁入面擺{{Unknown parameters category}}。
(This example would also add the category page to Category:Unknown parameters and Category:Infoboxes with unknown parameters).
睇埋
[編輯]- Category:Unknown parameters (0)
- Category:Infoboxes with unknown parameters (0)
- Module:Check for unknown parameters
上面嘅解係穿透包含咗自Template:Unknown parameters category/doc。 (改 | 史) 編者可以響呢個模嘅沙盤 (開 | 鏡)同埋試例 (開)版度試驗佢。 請加個類到個/doc嘅細版度。 呢個模嘅細版。 |