模板:Company:修订间差异
(创建页面,内容为“<noinclude>这个模板用来构建结构化数据。当插入到页面中时,它会创建一个装饰性的表格,其中包含很多有用的信息。它还会对给定的数据进行语义标注,这样用户就可以在其他文章中轻松找到或查询这些数据。不要试图阅读这个页面的源代码来学习表格语法 - 在MediaWiki中创建表格有更简单的方法。 要使用这个模板,请在您的用户页面的开头插入以下…”) |
无编辑摘要 |
||
第3行: | 第3行: | ||
<pre>{{Company | <pre>{{Company | ||
| p_zhName=中文名称 | | p_zhName=中文名称 | ||
| p_enName=英文名称 | |||
| p_description=简介 | |||
| p_alias=别名 | |||
| p_definition=义项 | |||
| p_image=图片 | |||
| p_itemEmail=电子邮件 | | p_itemEmail=电子邮件 | ||
| p_telephone=电话号码 | | p_telephone=电话号码 | ||
第16行: | 第21行: | ||
| p_operationalStatus=运营状态 | | p_operationalStatus=运营状态 | ||
| p_registeredCapital=注册资本 | | p_registeredCapital=注册资本 | ||
| | | r_collaborationOrganization=合作机构 | ||
| | | p_organizationStructure=组织架构 | ||
}}</pre> | }}</pre> | ||
字段的顺序不重要。模板应该是页面上的第一个内容。 | 字段的顺序不重要。模板应该是页面上的第一个内容。 | ||
第26行: | 第31行: | ||
{{#ifeq:{{{p_definition|}}}|||{{Tablelongrow|Value={{{p_definition}}}}}}} | {{#ifeq:{{{p_definition|}}}|||{{Tablelongrow|Value={{{p_definition}}}}}}} | ||
|- | |- | ||
<!-- *** | <!-- *** 实体元数据 *** --> | ||
|- | |- | ||
{{#ifeq:{{{p_zhName}}}|||{{Tablesection|Label= | {{#ifeq:{{{p_zhName|}}}{{{p_enName|}}}{{{p_alias|}}}{{{p_image|}}}|||{{Tablesection|Label=实体元数据|Color=#ADD8E6|Textcolor=#fff}}}} | ||
|- | |- | ||
{{#ifeq:{{{p_zhName|}}}| | |{{Tablerow|Label=中文名称:|Value=[[p_zhName::{{{p_zhName}}}]]}} }} | {{#ifeq:{{{p_zhName|}}}| | |{{Tablerow|Label=中文名称:|Value=[[p_zhName::{{{p_zhName}}}]]}} }} | ||
|- | |- | ||
{{#ifeq | {{#ifeq:{{{p_enName|}}}| | |{{Tablerow|Label=英文名称:|Value=[[p_enName::{{{p_enName}}}]]}} }} | ||
|- | |- | ||
{{#ifeq:{{#arraymap:{{{ | {{#ifeq:{{#arraymap:{{{p_alias|}}}|,|var|[[p_alias::var]]}}|||{{Tablerow|Label=别名:|Value={{#arraymap:{{{p_alias}}}|;|var|[[p_alias::var|var]]}} }} }} | ||
|- | |- | ||
{{#ifeq | {{#ifeq:{{{p_image|}}}| | |{{Tablerow|Label=图片:|Value=[[p_image::{{{p_image}}}]]}} }} | ||
|- | |- | ||
{{#ifeq:{{{ | <!-- *** 业务信息 *** --> | ||
|- | |||
{{#ifeq:{{{p_makesOffer|}}}{{{r_makesProduct|}}}{{{p_operationalStatus|}}}{{{p_registeredCapital|}}}{{{r_collaborationOrganization|}}}|||{{Tablesection|Label=业务信息|Color=#ADD8E6|Textcolor=#fff}}}} | |||
|- | |||
{{#ifeq:{{#arraymap:{{{p_makesOffer|}}}|,|var|[[p_makesOffer::var]]}}|||{{Tablerow|Label=服务对象/客户:|Value={{#arraymap:{{{p_makesOffer}}}|;|var|[[p_makesOffer::var|var]]}} }} }} | |||
|- | |||
{{#ifeq:{{#arraymap:{{{r_makesProduct|}}}|,|var|[[r_makesProduct::var]]}}|||{{Tablerow|Label=开发产品:|Value={{#arraymap:{{{r_makesProduct}}}|;|var|[[r_makesProduct::var|var]]}} }} }} | |||
|- | |||
{{#ifeq:{{{p_operationalStatus|}}}| | |{{Tablerow|Label=运营状态:|Value=[[p_operationalStatus::{{{p_operationalStatus}}}]]}} }} | |||
|- | |||
{{#ifeq:{{{p_registeredCapital|}}}| | |{{Tablerow|Label=注册资本:|Value=[[p_registeredCapital::{{{p_registeredCapital}}}]]}} }} | |||
|- | |||
{{#ifeq:{{#arraymap:{{{r_collaborationOrganization|}}}|,|var|[[r_collaborationOrganization::var]]}}|||{{Tablerow|Label=合作机构:|Value={{#arraymap:{{{r_collaborationOrganization}}}|;|var|[[r_collaborationOrganization::var|var]]}} }} }} | |||
|- | |||
<!-- *** 机构信息 *** --> | |||
|- | |||
{{#ifeq:{{{r_hasFounders|}}}{{{p_foundingDate|}}}{{{p_address|}}}{{{p_taxID|}}}{{{p_isicV4|}}}|||{{Tablesection|Label=机构信息|Color=#ADD8E6|Textcolor=#fff}}}} | |||
|- | |- | ||
{{#ifeq:{{#arraymap:{{{r_hasFounders|}}}|,|var|[[r_hasFounders::var]]}}|||{{Tablerow|Label=创始人:|Value={{#arraymap:{{{r_hasFounders}}}| | {{#ifeq:{{#arraymap:{{{r_hasFounders|}}}|,|var|[[r_hasFounders::var]]}}|||{{Tablerow|Label=创始人:|Value={{#arraymap:{{{r_hasFounders}}}|;|var|[[r_hasFounders::var|var]]}} }} }} | ||
|- | |- | ||
{{#ifeq:{{{p_foundingDate|}}}| | |{{Tablerow|Label=成立日期:|Value=[[p_foundingDate::{{{p_foundingDate}}}]]}} }} | {{#ifeq:{{{p_foundingDate|}}}| | |{{Tablerow|Label=成立日期:|Value=[[p_foundingDate::{{{p_foundingDate}}}]]}} }} | ||
|- | |- | ||
{{#ifeq:{{#arraymap:{{{p_address|}}}|,|var|[[p_address::var]]}}|||{{Tablerow|Label=地址:|Value={{#arraymap:{{{p_address}}}| | {{#ifeq:{{#arraymap:{{{p_address|}}}|,|var|[[p_address::var]]}}|||{{Tablerow|Label=地址:|Value={{#arraymap:{{{p_address}}}|;|var|[[p_address::var|var]]}} }} }} | ||
|- | |- | ||
{{#ifeq:{{{p_taxID|}}}| | |{{Tablerow|Label=税号:|Value=[[p_taxID::{{{p_taxID}}}]]}} }} | {{#ifeq:{{{p_taxID|}}}| | |{{Tablerow|Label=税号:|Value=[[p_taxID::{{{p_taxID}}}]]}} }} | ||
|- | |- | ||
{{#ifeq:{{#arraymap:{{{p_isicV4|}}}|,|var|[[p_isicV4::var]]}}|||{{Tablerow|Label=国际标准产业分类:|Value={{#arraymap:{{{p_isicV4}}}| | {{#ifeq:{{#arraymap:{{{p_isicV4|}}}|,|var|[[p_isicV4::var]]}}|||{{Tablerow|Label=国际标准产业分类:|Value={{#arraymap:{{{p_isicV4}}}|;|var|[[p_isicV4::var|var]]}} }} }} | ||
|- | |- | ||
<!-- *** 联系方式 *** --> | |||
|- | |- | ||
{{#ifeq:{{ | {{#ifeq:{{{p_itemEmail|}}}{{{p_telephone|}}}{{{p_faxNumber|}}}{{{p_mainEntityOfPage|}}}|||{{Tablesection|Label=联系方式|Color=#ADD8E6|Textcolor=#fff}}}} | ||
|- | |- | ||
{{#ifeq:{{{ | {{#ifeq:{{#arraymap:{{{p_itemEmail|}}}|,|var|[[p_itemEmail::var]]}}|||{{Tablerow|Label=电子邮件:|Value={{#arraymap:{{{p_itemEmail}}}|;|var|[[p_itemEmail::var|var]]}} }} }} | ||
|- | |||
{{#ifeq:{{#arraymap:{{{p_telephone|}}}|,|var|[[p_telephone::var]]}}|||{{Tablerow|Label=电话号码:|Value={{#arraymap:{{{p_telephone}}}|;|var|[[p_telephone::var|var]]}} }} }} | |||
|- | |- | ||
{{#ifeq:{{{ | {{#ifeq:{{#arraymap:{{{p_faxNumber|}}}|,|var|[[p_faxNumber::var]]}}|||{{Tablerow|Label=传真号码:|Value={{#arraymap:{{{p_faxNumber}}}|;|var|[[p_faxNumber::var|var]]}} }} }} | ||
|- | |- | ||
{{#ifeq | {{#ifeq:{{{p_mainEntityOfPage|}}}| | |{{Tablerow|Label=网站主页:|Value=[[p_mainEntityOfPage::{{{p_mainEntityOfPage}}}|链接]]}} }} | ||
|- | |- | ||
<!-- *** 编辑元数据 *** --> | <!-- *** 编辑元数据 *** --> | ||
第71行: | 第93行: | ||
| '''实体编辑者''' || {{#show:{{FULLPAGENAME}}|?Page author}} | | '''实体编辑者''' || {{#show:{{FULLPAGENAME}}|?Page author}} | ||
|- | |- | ||
| '''最近编辑日期''' || {{#show:{{FULLPAGENAME}}|?Modification date#LOCL}} | |||
|- | |- | ||
|} | |} | ||
<!-- | <!-- | ||
--><includeonly>{{#arraymap:{{{p_image|}}}| | --><includeonly>{{#arraymap:{{{p_image|}}}|;|var|[[Image:var|center|frameless|640px]]|,}}{{#ifeq:{{{p_description|}}}|||<h2> 简介</h2> }}{{#ifeq:{{{p_description|}}}| |暂无信息|[[p_description::{{{p_description}}}]] }}{{#ifeq:{{{p_organizationStructure|}}}|||<h2> 组织架构</h2> }}{{#ifeq:{{{p_organizationStructure|}}}| |暂无信息|[[p_organizationStructure::{{{p_organizationStructure}}}]] }} | ||
{{#ifeq:{{{ | |||
{{#default_form:Company}} | {{#default_form:Company}} | ||
[[Category:公司]] | [[Category:公司]] | ||
<h2> 全文 </h2> | |||
</includeonly> | </includeonly> |
2024年6月29日 (六) 00:20的最新版本
这个模板用来构建结构化数据。当插入到页面中时,它会创建一个装饰性的表格,其中包含很多有用的信息。它还会对给定的数据进行语义标注,这样用户就可以在其他文章中轻松找到或查询这些数据。不要试图阅读这个页面的源代码来学习表格语法 - 在MediaWiki中创建表格有更简单的方法。 要使用这个模板,请在您的用户页面的开头插入以下内容。所有字段都是严格意义上可选的,如果没有给出数据,则应省略。
{{Company | p_zhName=中文名称 | p_enName=英文名称 | p_description=简介 | p_alias=别名 | p_definition=义项 | p_image=图片 | p_itemEmail=电子邮件 | p_telephone=电话号码 | p_faxNumber=传真号码 | p_mainEntityOfPage=网站主页 | r_hasFounders=创始人 | p_foundingDate=成立日期 | p_address=地址 | p_taxID=税号 | p_isicV4=国际标准产业分类 | p_makesOffer=服务对象/客户 | r_makesProduct=开发产品 | p_operationalStatus=运营状态 | p_registeredCapital=注册资本 | r_collaborationOrganization=合作机构 | p_organizationStructure=组织架构 }}
字段的顺序不重要。模板应该是页面上的第一个内容。
Company | |
---|---|
编辑元数据 | |
实体ID | |
实体创建者 | |
实体编辑者 | |
最近编辑日期 |