Шаблон:Infobox website — различия между версиями

Материал из Национальной библиотеки им. Н. Э. Баумана
Последнее изменение этой страницы: 14:24, 31 октября 2018.
 
Строка 3: Строка 3:
 
| child = {{lc:{{{embed}}}}}
 
| child = {{lc:{{{embed}}}}}
 
| decat = yes
 
| decat = yes
 
  
 
| titleclass = fn org
 
| titleclass = fn org
| title      = {{{name|{{{company name|{{{company_name|{{{website name|{{{Websitename|{{{Website name|{{{site name|{{{websitename|<includeonly>{{PAGENAME}}</includeonly>}}}}}}}}}}}}}}}}}}}}}}}}
+
| title      = {{if empty|{{{name|}}}|{{{company name|{{{company_name|}}}}}}|{{{website name|{{{Websitename|{{{Website name|{{{site name|{{{websitename|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}}}}}}}}}}}}
  
 
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{company logo|{{{company_logo|{{{logo|{{{websitelogo|{{{Websitelogo|{{{Website logo|{{{website logo|}}}}}}}}}}}}}}}}}}}}}|size={{{logo size|{{{logo_size|}}}}}}|sizedefault=250px|alt={{{logo alt|{{{logo_alt|}}}}}}}}
 
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{company logo|{{{company_logo|{{{logo|{{{websitelogo|{{{Websitelogo|{{{Website logo|{{{website logo|}}}}}}}}}}}}}}}}}}}}}|size={{{logo size|{{{logo_size|}}}}}}|sizedefault=250px|alt={{{logo alt|{{{logo_alt|}}}}}}}}
Строка 19: Строка 18:
  
 
| label2  = {{longitem|Type of site}}
 
| label2  = {{longitem|Type of site}}
| data2    = {{{website type|{{{website_type|{{{type|{{{Type|}}}}}}}}}}}}
+
| data2    = {{if empty|{{{website type|{{{website_type|}}}}}}|{{{type|{{{Type|}}}}}}}}
  
 
| label3  = Available&nbsp;in
 
| label3  = Available&nbsp;in
Строка 40: Строка 39:
 
| data9    = {{{successor|}}}
 
| data9    = {{{successor|}}}
  
| label10   = Headquarters
+
| label10 = Headquarters
| class10   = adr
+
| class10 = {{#if:{{{headquarters|}}}{{{location|}}}|label|adr}}
| data10   = {{comma separated entries
+
| data10   = {{comma separated entries
| 1= {{#if:{{{location|}}}{{{location city|}}}{{{location_city|}}}|<span class="locality">{{if empty|{{{location|}}}|{{{location city|}}}|{{{location_city}}}}}</span>}}
+
    | 1= {{if empty|{{{headquarters|}}}|{{{location|}}}}}
| 2= {{#if:{{{country|}}}{{{location country|}}}{{{location_country|}}}|<span class="country-name">{{if empty|{{{country|}}}|{{{location country|}}}|{{{location_country}}}}}</span>}}
+
    | 2= {{#if:{{{location city|}}}{{{location_city|}}}|<span class="locality">{{if empty|{{{location city|}}}|{{{location_city}}}}}</span>}}
}}
+
    | 3= {{#if:{{{country|}}}{{{location country|}}}{{{location_country|}}}|<span class="country-name">{{if empty|{{{country|}}}|{{{location country|}}}|{{{location_country}}}}}</span>}}
 +
    }}
  
| label11 = Coordinates
+
| label11 = Coordinates
|  data11 = {{{coordinates|}}}
+
|  data11 = {{{coordinates|}}}
  
| label12   = Country of origin
+
| label12 = Country of origin
| data12   = {{{country of origin|{{{country_of_origin|}}}}}}
+
| data12   = {{{country of origin|{{{country_of_origin|}}}}}}
  
| label13   = No.&nbsp;of locations
+
| label13 = No.&nbsp;of locations
| data13   = {{{locations|}}}
+
| data13   = {{{locations|}}}
  
| label14   = Area&nbsp;served
+
| label14 = Area&nbsp;served
| data14   = {{{area served|{{{area_served|}}}}}}
+
| data14   = {{{area served|{{{area_served|}}}}}}
  
| label15   = Owner{{#if:{{{owners|}}}|s}}
+
| label15 = Owner{{#if:{{{owners|}}}|s}}
|  data15   = {{{owner|{{{owners|}}}}}}
+
|  data15 = {{{owner|{{{owners|}}}}}}
  
 
<!-- Essentially the same, but up to the editor to choose -->
 
<!-- Essentially the same, but up to the editor to choose -->
| label16   = Created&nbsp;by
+
| label16 = Created&nbsp;by
|  data16   = {{{author|{{{creator|{{{authors|{{{creators|}}}}}}}}}}}}
+
|  data16 = {{{author|{{{creator|{{{authors|{{{creators|}}}}}}}}}}}}
  
| label17   = [[Entrepreneurship|Founder(s)]]
+
| label17 = [[Entrepreneurship|Founder(s)]]
| data17   = {{{founder|}}}
+
| data17   = {{{founder|}}}
 
<!-- -->
 
<!-- -->
  
| label18   = Editor{{#if:{{{editors|}}}|s}}
+
| label18 = Editor{{#if:{{{editors|}}}|s}}
|  data18   = {{{editor|{{{editors|}}}}}}
+
|  data18 = {{{editor|{{{editors|}}}}}}
  
| label19   = Chairman
+
| label19 = Chairman
| data19   = {{{chairman|}}}
+
| data19   = {{{chairman|}}}
  
| label20   = Chairperson
+
| label20 = Chairperson
| data20   = {{{chairperson|}}}
+
| data20   = {{{chairperson|}}}
  
| label21   = President
+
| label21 = President
 
| data21  = {{{president|}}}
 
| data21  = {{{president|}}}
  
| label22   = CEO
+
| label22 = CEO
| data22   = {{{CEO|}}}
+
| data22   = {{{CEO|}}}
  
| label23   = [[Chief executive officer|Managing director]]
+
| label23 = [[Chief executive officer|Managing director]]
| data23   = {{{MD|}}}
+
| data23   = {{{MD|}}}
  
| label24   = General manager
+
| label24 = General manager
| data24   = {{{GM|}}}
+
| data24   = {{{GM|}}}
  
| label25   = Key&nbsp;people
+
| label25 = Key&nbsp;people
| data25   = {{{key people|{{{key_people|}}}}}}
+
| data25   = {{{key people|{{{key_people|}}}}}}
  
| label26   = Industry
+
| label26 = Industry
| class26   = category
+
| class26 = category
| data26   = {{{industry|}}}
+
| data26   = {{{industry|}}}
  
| label27   = [[Product (business)|Products]]
+
| label27 = [[Product (business)|Products]]
| data27   = {{{products|}}}
+
| data27   = {{{products|}}}
  
| label28   = [[Service (economics)|Services]]
+
| label28 = [[Service (economics)|Services]]
| data28   = {{{services|}}}
+
| data28   = {{{services|}}}
  
| label29   = [[Revenue]]
+
| label29 = [[Revenue]]
| data29   = {{{revenue|{{{rev|{{{Rev|{{{Revenue|}}}}}}}}}}}}
+
| data29   = {{{revenue|{{{rev|{{{Rev|{{{Revenue|}}}}}}}}}}}}
  
| label30   = [[Earnings before interest and taxes|Operating income]]
+
| label30 = [[Earnings before interest and taxes|Operating income]]
| data30   = {{{operating income|{{{operating_income|}}}}}}
+
| data30   = {{{operating income|{{{operating_income|}}}}}}
  
| label31   = {{#ifeq:{{{international|{{{intl|}}}}}}|yes|[[Net income|Profit]]|[[Net income]]}}
+
| label31 = {{#ifeq:{{{international|{{{intl|}}}}}}|yes|[[Net income|Profit]]|[[Net income]]}}
| data31   = {{{net income|{{{net_income|}}}}}}
+
| data31   = {{{net income|{{{net_income|}}}}}}
  
| label32   = [[Asset|Total assets]]
+
| label32 = [[Asset|Total assets]]
| data32   = {{{assets|}}}
+
| data32   = {{{assets|}}}
  
| label33   = [[Equity (finance)|Total equity]]
+
| label33 = [[Equity (finance)|Total equity]]
| data33   = {{{equity|}}}
+
| data33   = {{{equity|}}}
  
| label35   = Employees
+
| label35 = Employees
| data35   = {{{employees|{{{num employees|{{{num_employees|}}}}}}}}}
+
| data35   = {{{employees|{{{num employees|{{{num_employees|}}}}}}}}}
  
| label36   = [[Holding company|Parent]]
+
| label36 = [[Holding company|Parent]]
| data36   = {{{parent|}}}
+
| data36   = {{{parent|}}}
  
| label37   = [[Division (business)|Divisions]]
+
| label37 = [[Division (business)|Divisions]]
| data37   = {{{divisions|}}}
+
| data37   = {{{divisions|}}}
  
| label38   = Subsidiaries
+
| label38 = Subsidiaries
| data38   = {{{subsidiaries|{{{subsid|}}}}}}
+
| data38   = {{{subsidiaries|{{{subsid|}}}}}}
  
| label39  = [[Slogan|Slogan(s)]]
+
| label40  = Website
| data39    = {{{Slogan|{{{slogan|{{{company slogan|{{{company_slogan|}}}}}}}}}}}}
+
| class40  = url
 +
| data40  = {{{url|{{{website|{{{homepage|}}}}}}}}}
  
| label40  = Website
+
| label42  = [[IPv6]] support
| class40   = url
+
| data42   = {{{ipv6|}}}
| data40    = {{{url|{{{website|{{{homepage|}}}}}}}}}
+
  
| label42  = [[IPv6]] support
+
| label43  = [[Alexa Internet|Alexa]] rank
| data42    = {{{ipv6|}}}
+
| data43  = {{{alexa|}}}
  
| label43  = [[Alexa Internet|Alexa]] rank
+
| label45  = [[Online advertising|Advertising]]
| data43    = {{{alexa|}}}
+
| data45  = {{{advertising|}}}
  
| label45  = [[Online advertising|Advertising]]
+
| label46  = Commercial
| data45    = {{{advertising|}}}
+
| data46  = {{{commercial|{{{Commercial|}}}}}}
  
| label46  = Commercial
+
| label47  = Registration
| data46    = {{{commercial|{{{Commercial|}}}}}}
+
| data47  = {{{registration|{{{reg|}}}}}}
  
| label47  = Registration
+
| label48  = [[Registered user|Users]]
| data47    = {{{registration|{{{reg|}}}}}}
+
| data48  = {{{users|{{{num users|{{{num_users|}}}}}}}}}
  
| label48  = [[Registered user|Users]]
+
| label49  = Launched
| data48    = {{{users|{{{num users|{{{num_users|}}}}}}}}}
+
| data49  = {{{launched|{{{launch date|{{{launch_date|{{{date_of_launch|}}}}}}}}}}}}
  
| label49  = Launched
+
| label50  = Current&nbsp;status
| data49    = {{{launched|{{{launch date|{{{launch_date|{{{date_of_launch|}}}}}}}}}}}}
+
| class50  = category
 +
| data50  = {{{current status|{{{current_status|}}}}}}
  
| label50  = Current&nbsp;status
+
| label51 = [[Computing platform|Native client(s) on]]
| class50  = category
+
| data51   = {{{native clients|{{{native_clients|}}}}}}
| data50    = {{{current status|{{{current_status|}}}}}}
+
 
+
| label51   = [[Computing platform|Native client(s) on]]
+
| data51   = {{{native clients|{{{native_clients|}}}}}}
+
 
<!-- Spelled differently; see [[MOS:ENGVAR]] -->
 
<!-- Spelled differently; see [[MOS:ENGVAR]] -->
| label52   = {{longitem|Content license}}
+
| label52 = {{longitem|Content license}}
|  data52   = {{{content_license|{{{content license|{{{license|{{{License|}}}}}}}}}}}}
+
|  data52 = {{{content_license|{{{content license|{{{license|{{{License|}}}}}}}}}}}}
| label53   = {{longitem|Content licence}}
+
| label53 = {{longitem|Content licence}}
|  data53   = {{{content_licence|{{{content licence|{{{licence|{{{Licence|}}}}}}}}}}}}
+
|  data53 = {{{content_licence|{{{content licence|{{{licence|{{{Licence|}}}}}}}}}}}}
 
<!-- -->
 
<!-- -->
 
| label54  = Written&nbsp;in
 
| label54  = Written&nbsp;in
Строка 178: Строка 175:
  
 
| label58  = [[International Standard Serial Number|ISSN]]
 
| label58  = [[International Standard Serial Number|ISSN]]
|  data58  = {{#if:{{{issn|{{{ISSN|}}}}}}|{{ISSN search link|{{{issn|{{{ISSN}}}}}} }} }}
+
|  data58  = {{ISSN link|1={{{issn|{{{ISSN|}}}}}}|2={{{eissn|{{{eISSN|}}}}}}}}
  
 
| label59  = [[OCLC]]&nbsp;number
 
| label59  = [[OCLC]]&nbsp;number
Строка 184: Строка 181:
  
 
| below    = {{{footnotes|}}}
 
| below    = {{{footnotes|}}}
 +
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox website with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox website]] with unknown parameter "_VALUE_"|ignoreblank=y| advertising | alexa | area served | area_served | assets | author | authors | background | caption | CEO | chairman | chairperson | collapsetext | collapsible | commercial | Commercial | company logo | company name | company type | company_logo | company_name | company_type | content licence | content license | content_licence | content_license | coordinates | country | country of origin | country_of_origin | creator | creators | current status | current_status | date_of_launch | Dissolved | dissolved | divisions | editor | editors | embed | employees | equity | footnotes | foundation | Foundation | founded | Founded | founder | GM | headquarters | homepage | industry | international | intl | ip | ipv6 | issn | ISSN | eissn | eISSN | key people | key_people | language | language count | language footnote | launch date | launch_date | launched | Licence | licence | license | License | location | location city | location country | location_city | location_country | locations | logo | logo alt | logo size | logo_alt | logo_caption | Logo_caption | logo_size | logocaption | Logocaption | MD | name | native clients | native_clients | net income | net_income | num employees | num users | num_employees | num_users | oclc | operating income | operating_income | owner | owners | parent | predecessor | president | products | programming language | programming_language | reg | registration | Rev | rev | Revenue | revenue | screenshot | screenshot alt | screenshot size | screenshot_alt | screenshot_size | services | site name | subsid | subsidiaries | successor | traded as | traded_as | type | Type | url | users | website | Website logo | website logo | Website name | website name | website type | website_type | websitelogo | Websitelogo | Websitename | websitename | company_slogan | slogan
 +
}}{{#if:{{{company_slogan|}}}{{{slogan|}}}|{{main other|1=[[Category:Pages using infobox website with company slogan or slogan]]{{#if:{{REVISIONID}}||<div style="color:red; float:right; clear:right; width:22em;">Warning: {{para|company_slogan}} and {{para|slogan}} are no longer supported by {{tl|infobox website}}</div>}}}}
 +
}}{{#if:{{both|{{{headquarters|}}}|{{{location|}}}}}|[[Category:Pages using infobox website with headquarters and location]]
 +
}}{{#if:{{both|{{{headquarters|}}}|{{{location city|}}}{{{location_city|}}}}}|[[Category:Pages using infobox website with headquarters and location city]]
 +
}}{{#if:{{both|{{{headquarters|}}}|{{{location country|}}}{{{location_country|}}}}}|[[Category:Pages using infobox website with headquarters and location country]]
 +
}}{{#if:{{both|{{{country|}}}|{{{location country|}}}{{{location_country|}}}}}|[[Category:Pages using infobox website with country and location country]]
 +
}}{{#if:{{both|{{{location|}}}|{{{location city|}}}{{{location_city|}}}}}|[[Category:Pages using infobox website with location and location city]]
 +
}}{{#if:{{both|{{{website type|{{{website_type|}}}}}}|{{{type|{{{Type|}}}}}}}}|[[Category:Pages using infobox website with website type and type]]
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Текущая версия на 14:24, 31 октября 2018

Documentation icon Шаблон документации[просмотр] [править] [история] [защитить]
{{{name}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|{{{logo_alt}}}]]
{{{logocaption}}}
Type of site
{{{type}}}
Available in {{{language}}}
Owner {{{owner}}}
Created by {{{author}}}
Editor {{{editor}}}
Industry {{{industry}}}
Services {{{services}}}
Revenue {{{revenue}}}
Website example.com
Alexa rank Negative increase / Steady / 11px ## (US/Global MM/YYYY)
Commercial {{{commercial}}}
Registration {{{registration}}}
Users {{{num_users}}}
Launched
font-size:90%
Current status {{{current_status}}}
Content license
{{{content_license}}}
Written in {{{programming_language}}}
IP address {{{ip}}}
ISSN {{{issn}}} (print)Ошибка скрипта: Нет такого модуля, как «check isxn».
{{{eissn}}} (web)Ошибка скрипта: Нет такого модуля, как «check isxn».
OCLC number Шаблон:OCLC search link
{{{footnotes}}}
{{Infobox website
| name                 = 
| logo                 = 
| logo_size            = 
| logo_alt             = 
| logo_caption         = <!-- or: | logocaption = -->
| screenshot           = 
| collapsible          = <!-- set as "on", "y", etc, otherwise omit/leave blank -->
| collapsetext         = <!-- collapsible area's heading (default "Screenshot"); omit/leave blank if collapsible not set -->
| background           = <!-- for collapsetext heading; default grey (gainsboro) -->
| screenshot_size      = 
| screenshot_alt       = 
| caption              = 
| url                  = <!-- {{URL|example.com}} -->
| areas                = 
| offices              = 
| commercial           = <!-- "Yes", "No" or leave blank -->
| type                 = 
| registration         = 
| language             = 
| num_users            = 
| content_license      = <!-- or: | content_licence = -->
| programming_language = 
| owner                = <!-- or: | owners = -->
| author               = <!-- or: creator / authors / creators -->
| editor               = <!-- or: | editors = -->
| launch_date          = <!-- {{Start date and age|df=yes/no|YYYY|MM|DD}} -->
| revenue              = 
| alexa                = <!-- {{IncreaseNegative}} {{Steady}} {{DecreasePositive}} [https://www.alexa.com/siteinfo/example.com example.com Traffic Statistics] -->
| ip                   = 
| issn                 = <!-- ISSN, e.g. 1085-6706 (automatically linked to https://www.WorldCat.org) -->
| eissn                = <!-- eISSN, e.g. 1085-6706 (automatically linked to https://www.WorldCat.org) -->
| oclc                 = <!-- OCLC number, useful where an ISSN has not been allocated (automatically linked to https://www.WorldCat.org) -->
| current_status       = 
| footnotes            = 
}}

Parameters

All parameters are optional. Avoid linking to an article more than once within the infobox.