模板:Protected
出自 Caseru Social Work Encyclopedia
使用方法
{{protected|保护类型|time=期限时间}}
保護類型參數
保護用途 | 類型參數 | 代碼 | 效果 |
---|---|---|---|
一般保護 | 空參數 n N normal Normal |
{{Protected}} {{Protected|n}} {{Protected|N}} {{Protected|normal }} {{Protected|Normal}} |
模板:Protected/normal
|
半保護 | s S semi Semi 半 |
{{Protected|s}} {{Protected|S}} {{Protected|semi}} {{Protected|Semi}} {{Protected|半}} |
模板:Protected/semi
|
移動保護 | m M move Move -{移動}- -{移动}- |
{{Protected|m}} {{Protected|M}} {{Protected|move}} {{Protected|Move}} {{Protected|-{移動}-}} {{Protected|-{移动}-}} |
模板:Protected/move
|
移動保護+半保護 | ms MS |
{{Protected|ms}} {{Protected|MS}} |
模板:Protected/ms
|
首頁內的保護 | main Main -{首頁}- -{首页}- |
{{Protected|main}} {{Protected|Main}} {{Protected|-{首頁}-}} {{Protected|-{首页}-}} |
模板:Protected/main
|
首頁圖像的保護 | mi MI -{首頁圖像}- -{首页图像}- |
{{Protected|mi}} {{Protected|MI}} {{Protected|-{首頁圖像}-}} {{Protected|-{首页图像}-}} |
模板:Protected/mi
|
模板的保護 | t T template Template 模板 |
{{Protected|t}} {{Protected|T}} {{Protected|template}} {{Protected|Template}} {{Protected|模板}} |
模板:Protected/template
|
被破壞頁面的保護 | v V vandalism Vandalism -{破壞}- -{破坏}- |
{{Protected|v}} {{Protected|V}} {{Protected|vandalism}} {{Protected|Vandalism}} {{Protected|-{破壞}-}} {{Protected|-{破坏}-}} |
模板:Protected/vandalism
|
time參數
time參數表示在多少时间后解除,time參數的格式請參閱Help:模板扩展语法#time,要求必须是绝对时间。例子:
{{protected|time=2024-5-11 07:16}}
模板:Tls和模板:Tls使用的time参数可以更加灵活,相对时间亦可使用。例子:
{{subst:protected/auto|保护类型|time=+7 days}}
{{subst:定時消失/保護|保护类型|time=+3 hours}}
这表示在挂上模板7天后,模板会自行消失。相应的关键字还可见此页说明。