模板:WebsiteInfoBox/doc:修订间差异

(修正一个模板错误)
标签2017年版源代码编辑
(修改说明)
标签2017年版源代码编辑
第6行: 第6行:
|type=主页/博客/论坛/后台/其他类型
|type=主页/博客/论坛/后台/其他类型
|owner=Owner
|owner=Owner
|opendate=2020/1/1
|estimateopendate={{Launch date and age|2022|5|1|p=yes}}
|opendate={{Launch date and age|2022|5|2|p=yes}}
|enddate={{End date and age|2025|4|8|p=yes}}
|state=运营中
|state=运营中
}}
}}
第12行: 第14行:


下面是模板代码。
下面是模板代码。
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">{{WebsiteInfoBox
{{WebsiteInfoBox
|websitename=WebsiteName
|websitename=WebsiteName
|image=Place Your Image Here
|image=Place Your Image Here
第20行: 第21行:
|type=主页/博客/论坛/后台/其他类型
|type=主页/博客/论坛/后台/其他类型
|owner=Owner
|owner=Owner
|opendate=2020/1/1
|estimateopendate={{Launch date and age|2022|5|1|p=yes}}
|opendate={{Launch date and age|2022|5|2|p=yes}}
|enddate={{End date and age|2025|4|8|p=yes}}
|state=运营中
|state=运营中
}}
}}</syntaxhighlight>
</syntaxhighlight>
 
==模板数据==
<templatedata>
{
"params": {
"websitename": {
"description": "网站名称",
"type": "string"
},
"image": {
"description": "网站的图像,可以是截图也可以是Logo",
"type": "unknown"
},
"caption": {
"description": "图像下面的标题",
"type": "string"
},
"address": {
"description": "网站地址",
"type": "string"
},
"type": {
"description": "网站类型",
"type": "string"
},
"owner": {
"description": "网站所有者",
"type": "string"
},
"opendate": {
"description": "网站开始运营时间,推荐使用Launch date and age模板",
"type": "date"
},
"enddate": {
"description": "网站结束运营时间(如果已经结束运营),推荐使用End date and age模板",
"type": "date"
},
"state": {
"description": "网站运营状态",
"type": "string",
"default": "运营中"
},
"estimateopendate": {
"description": "预计开始运营时间(如果有),推荐使用Launch date and age模板",
"type": "date"
}
}
}
</templatedata>

2022年4月12日 (二) 01:03的版本

WebsiteName
Place Your Image Here
Caption,按需添加
网址Address
网站类型主页/博客/论坛/后台/其他类型
网站所有者Owner
预计开始运营时间2022年5月1日​ (23个月前)​(2022-05-01
开始运营时间2022年5月2日​ (23个月前)​(2022-05-02
结束运营时间2025年4月8日​ (11个月)​(2025-04-08
运营状态运营中

用于显示一个网站的基本信息的InfoBox。

下面是模板代码。

{{WebsiteInfoBox
|websitename=WebsiteName
|image=Place Your Image Here
|caption=Caption,按需添加
|address=[https://www.azurezeng.com/ Address]
|type=主页/博客/论坛/后台/其他类型
|owner=Owner
|estimateopendate={{Launch date and age|2022|5|1|p=yes}}
|opendate={{Launch date and age|2022|5|2|p=yes}}
|enddate={{End date and age|2025|4|8|p=yes}}
|state=运营中
}}

模板数据

无描述。

模板参数

参数描述类型状态
websitenamewebsitename

网站名称

字符串可选
imageimage

网站的图像,可以是截图也可以是Logo

未知可选
captioncaption

图像下面的标题

字符串可选
addressaddress

网站地址

字符串可选
typetype

网站类型

字符串可选
ownerowner

网站所有者

字符串可选
opendateopendate

网站开始运营时间,推荐使用Launch date and age模板

日期可选
enddateenddate

网站结束运营时间(如果已经结束运营),推荐使用End date and age模板

日期可选
statestate

网站运营状态

默认值
运营中
字符串可选
estimateopendateestimateopendate

预计开始运营时间(如果有),推荐使用Launch date and age模板

日期可选