跳转到内容

模板:WebsiteInfoBox:修订间差异

删除515字节 、​ 2022年4月12日 (星期二)
又加了一个参数
(网站模板v1,先写出来方便之后编写wiki)
 
(又加了一个参数)
标签2017年版源代码编辑
(未显示同一用户的7个中间版本)
第1行: 第1行:
<includeonly>{{Infobox
<includeonly>{{Infobox
|name={{{name|Unnamed}}}
|name=WebsiteInfoBox
|title={{{websitename|}}}
|title={{{websitename|}}}
|image={{{image|}}}
|image={{{image|}}}
第8行: 第8行:
|label2=网站类型
|label2=网站类型
|data2={{{type}}}
|data2={{{type}}}
|label3=网站持有者
|label3=网站所有者
|data3={{{owner|}}}
|data3={{{owner|}}}
|label4=推出时间
|label4=预计开始运营时间
|data4={{{opendate|}}}
|data4={{{estimateopendate|}}}
|label5=运营状态
|label5=开始运营时间
|data5={{{state}}}
|data5={{{opendate|}}}
|label6=结束运营时间
|data6={{{enddate|}}}
|label7=运营状态
|data7={{{state|未知}}}
}}</includeonly>
}}</includeonly>
<noinclude>{{WebsiteInfoBox
<noinclude>{{Documentation}}</noinclude>
|name=Sample
|websitename=WebsiteName
|image=Place Your Image Here
|caption=Caption,按需添加
|address=[https://www.azurezeng.com/ Address]
|type=主页/博客/论坛/后台/其他类型
|owner=Owner
|opendate=2020/1/1
|state=运营中
}}
用于显示一个网站的基本信息的InfoBox。
 
下面是模板代码。
<syntaxhighlight lang="wiki" line>
{{WebsiteInfoBox
|name=Sample
|websitename=WebsiteName
|image=Place Your Image Here
|caption=Caption,按需添加
|address=[https://www.azurezeng.com/ Address]
|type=主页/博客/论坛/后台/其他类型
|owner=Owner
|opendate=2020/1/1
|state=运营中
}}
</syntaxhighlight></noinclude>