Template:Infobox website: Difference between revisions
empty, removing tracking
m (1 revision imported) |
(empty, removing tracking) |
||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| bodyclass = vcard | | bodyclass = vcard | ||
| child = {{lc:{{{embed}}}}} | | child = {{lc:{{{embed|}}}}} | ||
| decat = yes | | decat = yes | ||
| titleclass = fn org | | titleclass = fn org | ||
| title = {{if empty|{{{name|}}} | | title = {{if empty|{{{name|}}}|{{{company_name|}}}|{{{company name|}}}|{{{website name|}}}|{{{websitename|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}<!-- | ||
-->{{#ifexpr:{{#invoke:ParameterCount|main|name|company_name|company name|website name|website_name|websitename}}>1|[[Category:Pages using infobox website with redundant parameters|NAME]]}} | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{ | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{if empty|{{{company_logo|}}}|{{{company logo|}}}|{{{logo|}}}|{{{websitelogo|}}}|{{{website logo|}}}}}|size={{if empty|{{{logo_size|}}}|{{{logo size|}}}}}|sizedefault=250px|alt={{if empty|{{{logo_alt|}}}|{{{logo alt|}}}}}}}<!-- | ||
| caption1 = {{ | -->{{#ifexpr:{{#invoke:ParameterCount|main|company_logo|company logo|logo|websitelogo|website logo|website_logo}}>1|[[Category:Pages using infobox website with redundant parameters|LOGO]]}} | ||
| caption1 = {{if empty|{{{logo_caption|}}}|{{{logocaption|}}}}}<!-- | |||
-->{{#ifexpr:{{#invoke:ParameterCount|main|logo_caption|logocaption}}>1|[[Category:Pages using infobox website with redundant parameters|LOGOCAPTION]]}} | |||
| image2 = {{#if:{{{collapsible|}}}|{{hidden begin|title={{{collapsetext|Screenshot}}}|titlestyle=background:{{{background|gainsboro}}};text-align:center|contentstyle=text-align:center}}}} | | image2 = {{#if:{{{collapsible|}}}|{{hidden begin|title={{{collapsetext|Screenshot}}}|titlestyle=background:{{{background|gainsboro}}};text-align:center|contentstyle=text-align:center}}}} | ||
{{#invoke:InfoboxImage|InfoboxImage|image={{{screenshot|}}}|size={{ | {{#invoke:InfoboxImage|InfoboxImage|image={{{screenshot|}}}|size={{if empty|{{{screenshot_size|}}}|{{{screenshot size|}}}}}|sizedefault=300px|alt={{if empty|{{{screenshot_alt|}}}|{{{screenshot alt|}}}}}}} | ||
| caption2 = {{{caption|}}}{{#if:{{{collapsible|}}}|{{hidden end}}}} | | caption2 = {{{caption|}}}{{#if:{{{collapsible|}}}|{{hidden end}}}} | ||
| label1 = [[Types of business entity|Type of business]] | | label1 = [[Types of business entity|Type of business]] | ||
| class1 = category | | class1 = category | ||
| data1 = {{ | | data1 = {{if empty|{{{company_type|}}}|{{{company type|}}}}} | ||
| label2 = {{longitem|Type of site}} | | label2 = {{longitem|Type of site}} | ||
| data2 = {{if empty | | data2 = {{if empty|{{{website_type|}}}|{{{website type|}}}|{{{type|}}}}}<!-- | ||
-->{{#ifexpr:{{#invoke:ParameterCount|main|website_type|website type|type}}>1|[[Category:Pages using infobox website with redundant parameters|TYPE]]}} | |||
| label3 = Available in | | label3 = Available in | ||
| | | data3 = {{#if:{{{language_count|}}}{{{language count|}}} |{{if empty|{{{language_count|}}}|{{{language count|}}}}} languages |{{{language|}}}<!--end #if:-->}}{{{language_footnote|}}}{{{language footnote|}}} | ||
| | | data4 = {{#if:{{{language_count|}}}{{{language count|}}} |{{#if:{{{language|}}} |{{Begin hidden|titlestyle=background:transparent;|title=List of languages}}{{{language|}}}{{End hidden}} }} }} | ||
| label5 = [[Ticker symbol|Traded as]] | | label5 = [[Ticker symbol|Traded as]] | ||
| data5 = {{ | | data5 = {{if empty|{{{traded_as|}}}|{{{traded as|}}}}} | ||
| label6 = Founded | | label6 = Founded | ||
| data6 = {{ | | data6 = {{if empty|{{{founded|}}}|{{{foundation|}}}}}<!-- | ||
-->{{#ifexpr:{{#invoke:ParameterCount|main|founded|foundation}}>1|[[Category:Pages using infobox website with redundant parameters|FOUNDED]]}} | |||
| label7 = [[Dissolution (law)|Dissolved]] | | label7 = [[Dissolution (law)|Dissolved]] | ||
| data7 = {{{dissolved| | | data7 = {{{dissolved|}}} | ||
| label8 = Predecessor(s) | | label8 = Predecessor(s) | ||
Line 42: | Line 47: | ||
| class10 = {{#if:{{{headquarters|}}}{{{location|}}}|label|adr}} | | class10 = {{#if:{{{headquarters|}}}{{{location|}}}|label|adr}} | ||
| data10 = {{comma separated entries | | data10 = {{comma separated entries | ||
| 1= {{if empty|{{{headquarters|}}}|{{{location|}}}}} | | 1= {{if empty|{{{headquarters|}}}|{{{location|}}}}}<!-- | ||
| 2= {{#if:{{{location city|}}}{{{location_city|}}}|<div style="display:inline;" class="locality">{{ | -->{{#ifexpr:{{#invoke:ParameterCount|main|headquarters|location}}>1|[[Category:Pages using infobox website with redundant parameters|HEADQUARTERS]]}} | ||
| 3= {{#if:{{{country|}}}{{{location country|}}}{{{location_country|}}}|<div style="display:inline;" class="country-name">{{ | | 2= {{#if:{{{location city|}}}{{{location_city|}}}|<div style="display:inline;" class="locality">{{if empty|{{{location city|}}}|{{{location_city}}}}}</div>}} | ||
| 3= {{#if:{{{country|}}}{{{location country|}}}{{{location_country|}}}|<div style="display:inline;" class="country-name">{{if empty|{{{country|}}}|{{{location country|}}}|{{{location_country}}}}}</div>}}<!-- | |||
-->{{#ifexpr:{{#invoke:ParameterCount|main|country|location_country|location country}}>1|[[Category:Pages using infobox website with redundant parameters|COUNTRY]]}} | |||
}} | }} | ||
| label11 = Coordinates | | label11 = Coordinates | ||
| | | data11 = {{{coordinates|}}} | ||
| label12 = Country of origin | | label12 = Country of origin | ||
| data12 = {{ | | data12 = {{if empty|{{{country_of_origin|}}}|{{{country of origin|}}}}} | ||
| label13 = No. of locations | | label13 = No. of locations | ||
Line 57: | Line 64: | ||
| label14 = Area served | | label14 = Area served | ||
| data14 = {{ | | data14 = {{if empty|{{{area_served|}}}|{{{area served|}}}}} | ||
| label15 = Owner{{#if:{{{owners|}}}|s}} | | label15 = Owner{{#if:{{{owners|}}}|s}} | ||
| | | data15 = {{if empty|{{{owners|}}}|{{{owner|}}}}}<!-- | ||
-->{{#ifexpr:{{#invoke:ParameterCount|main|owners|owner}}>1|[[Category:Pages using infobox website with redundant parameters|OWNER]]}} | |||
<!-- Essentially the same, but up to the editor to choose --> | <!-- Essentially the same, but up to the editor to choose --> | ||
| label16 = Created by | | label16 = Created by | ||
| | | data16 = {{if empty|{{{author|}}}|{{{creator|}}}|{{{authors|}}}|{{{creators|}}}}}<!-- | ||
-->{{#ifexpr:{{#invoke:ParameterCount|main|author|creator|authors|creators}}>1|[[Category:Pages using infobox website with redundant parameters|CREATED]]}} | |||
| label17 = [[Entrepreneurship|Founder(s)]] | | label17 = [[Entrepreneurship|Founder(s)]] | ||
| data17 = {{{founder|}}} | | data17 = {{{founder|}}} | ||
| label18 = Editor{{#if:{{{editors|}}}|s}} | | label18 = Editor{{#if:{{{editors|}}}|s}} | ||
| | | data18 = {{if empty|{{{editors|}}}|{{{editor|}}}}}<!-- | ||
-->{{#ifexpr:{{#invoke:ParameterCount|main|editor|editors}}>1|[[Category:Pages using infobox website with redundant parameters|CREATED]]}} | |||
| label19 = Chairman | | label19 = Chairman | ||
Line 92: | Line 101: | ||
| label25 = Key people | | label25 = Key people | ||
| data25 = {{ | | data25 = {{if empty|{{{key_people|}}}|{{{key people|}}}}} | ||
| label26 = Industry | | label26 = Industry | ||
Line 105: | Line 114: | ||
| label29 = [[Revenue]] | | label29 = [[Revenue]] | ||
| data29 = {{ | | data29 = {{if empty|{{{revenue|}}}|{{{rev|}}}}}<!-- | ||
-->{{#ifexpr:{{#invoke:ParameterCount|main|revenue|rev}}>1|[[Category:Pages using infobox website with redundant parameters|REVENUE]]}} | |||
| label30 = [[Earnings before interest and taxes|Operating income]] | | label30 = [[Earnings before interest and taxes|Operating income]] | ||
| data30 = {{ | | data30 = {{if empty|{{{operating_income|}}}|{{{operating income|}}}}} | ||
| label31 = {{#ifeq:{{{international|{{{intl| | | label31 = {{#ifeq:{{if empty|{{{international|}}}|{{{intl|}}}}}|yes|[[Net income|Profit]]|[[Net income]]}} | ||
| data31 = {{ | | data31 = {{if empty|{{{net_income|}}}|{{{net income|}}}}} | ||
| label32 = [[Asset|Total assets]] | | label32 = [[Asset|Total assets]] | ||
Line 119: | Line 129: | ||
| data33 = {{{equity|}}} | | data33 = {{{equity|}}} | ||
| | | label34 = Employees | ||
| | | data34 = {{if empty|{{{employees|}}}|{{{num_employees|}}}|{{{num employees|}}}}}<!-- | ||
-->{{#ifexpr:{{#invoke:ParameterCount|main|employees|num_employees|num employees}}>1|[[Category:Pages using infobox website with redundant parameters|EMPLOYEES]]}} | |||
| | | label35 = [[Holding company|Parent]] | ||
| | | data35 = {{{parent|}}} | ||
| | | label36 = [[Division (business)|Divisions]] | ||
| | | data36 = {{{divisions|}}} | ||
| | | label37 = Subsidiaries | ||
| | | data37 = {{if empty|{{{subsidiaries|}}}|{{{subsid|}}}}}<!-- | ||
-->{{#ifexpr:{{#invoke:ParameterCount|main|subsidiaries|subsid}}>1|[[Category:Pages using infobox website with redundant parameters|SUBSIDIARIES]]}} | |||
| | | label38 = Website | ||
| | | class38 = url | ||
| | | data38 = {{if empty|{{{url|}}}|{{{website|}}}|{{{homepage|}}}}}<!-- | ||
-->{{#ifexpr:{{#invoke:ParameterCount|main|website|url|homepage}}>1|[[Category:Pages using infobox website with redundant parameters|WEBSITE]]}} | |||
| | | label39 = [[IPv6]] support | ||
| | | data39 = {{{ipv6|}}} | ||
| | | label40 = [[Alexa Internet|Alexa]] rank | ||
| | | data40 = {{{alexa|}}} | ||
| | | label41 = [[Online advertising|Advertising]] | ||
| | | data41 = {{{advertising|}}} | ||
| | | label42 = Commercial | ||
| | | data42 = {{{commercial|}}} | ||
| | | label43 = Registration | ||
| | | data43 = {{if empty|{{{registration|}}}|{{{reg|}}}}}<!-- | ||
-->{{#ifexpr:{{#invoke:ParameterCount|main|registration|reg}}>1|[[Category:Pages using infobox website with redundant parameters|REGISTRATION]]}} | |||
| | | label44 = [[Registered user|Users]] | ||
| | | data44 = {{if empty|{{{users|}}}|{{{num_users|}}}|{{{num users|}}}}}<!-- | ||
-->{{#ifexpr:{{#invoke:ParameterCount|main|users|num_users|num users}}>1|[[Category:Pages using infobox website with redundant parameters|USERS]]}} | |||
| | | label45 = Launched | ||
| | | data45 = {{if empty|{{{launched|}}}|{{{launch_date|}}}|{{{launch date|}}}|{{{date_of_launch|}}}}}<!-- | ||
-->{{#ifexpr:{{#invoke:ParameterCount|main|launched|launch_date|launch date|date_of_launch|date of launch}}>1|[[Category:Pages using infobox website with redundant parameters|LAUNCHED]]}} | |||
| | | label46 = Current status | ||
| | | class46 = category | ||
| | | data46 = {{if empty|{{{current_status|}}}|{{{current status|}}}}} | ||
| | | label47 = [[Computing platform|Native client(s) on]] | ||
| | | data47 = {{if empty|{{{native_clients|}}}|{{{native clients|}}}}} | ||
<!-- Spelled differently; see [[MOS:ENGVAR]] --> | <!-- Spelled differently; see [[MOS:ENGVAR]] --> | ||
| | | label48 = {{#if:{{{content_license|}}}{{{content license|}}}{{{license|}}}|{{longitem|Content license}}|{{longitem|Content licence}}}} | ||
| data48 = {{if empty|{{{content_license|}}}|{{{content license|}}}|{{{license|}}}|{{{content_licence|}}}|{{{content licence|}}}|{{{licence|}}}}}<!-- | |||
| | -->{{#ifexpr:{{#invoke:ParameterCount|main|content_license|content_licence|content license|content licence|license|licence}}>1|[[Category:Pages using infobox website with redundant parameters|LICENSE]]}} | ||
| | |||
<!-- --> | |||
| | | label49 = Written in | ||
| | | data49 = {{if empty|{{{programming_language|}}}|{{{programming language|}}}}} | ||
| | | label50 = [[International Standard Serial Number|ISSN]] | ||
| | | data50 = {{ISSN link|1={{if empty|{{{issn|}}}|{{{ISSN|}}}}}|2={{if empty|{{{eissn|}}}|{{{eISSN|}}}}}}}<!-- | ||
-->{{#ifexpr:{{#invoke:ParameterCount|main|issn|ISSN}}>1|[[Category:Pages using infobox website with redundant parameters|ISSN]]}}<!-- | |||
-->{{#ifexpr:{{#invoke:ParameterCount|main|eissn|eISSN}}>1|[[Category:Pages using infobox website with redundant parameters|eISSN]]}} | |||
| | | label51 = [[OCLC]] number | ||
| | | data51 = {{#if:{{{oclc|}}}|{{OCLC search link|{{{oclc}}} }} }} | ||
| below = {{{footnotes|}}} | | below = {{{footnotes|}}} | ||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other| | }}{{#ifeq:{{{company_slogan|§}}}{{{slogan|§}}}|§§||{{main other|[[Category:Pages using infobox website with company slogan or slogan|{{#if:{{{company_slogan|}}}{{{slogan|}}}|{{PAGENAME}}|β}}]]|[[Category:Non-articles using infobox website with unknown parameters|β{{PAGENAME}}]]}} | ||
}}{{#invoke:Check for unknown parameters|check|unknown=[[Category:{{main other|Pages using infobox website with unknown parameters|Non-articles using infobox website with unknown parameters}}|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Infobox website]] with unknown parameter "_VALUE_"|ignoreblank=y| advertising | alexa | area_served | assets | author | authors | background | caption | CEO | chairman | chairperson | collapsetext | collapsible | commercial | company_logo | company_name | company_type | content_licence | content_license | coordinates | country | country_of_origin | creator | creators | current_status | date_of_launch | dissolved | divisions | editor | editors | embed | employees | equity | footnotes | foundation | founded | founder | GM | headquarters | homepage | industry | international | intl | ipv6 | issn | ISSN | eissn | eISSN | key_people | language | language_count | language_footnote | launch_date | launched | licence | license | location | location_city | location_country | locations | logo | logo_alt | logo_caption | logo_size | logocaption | MD | name | native_clients | net_income | num_employees | num_users | oclc | operating_income | owner | owners | parent | predecessor | president | products | programming_language | reg | registration | rev | revenue | screenshot | screenshot_alt | screenshot_size | services | subsid | subsidiaries | successor | traded_as | type | url | users | website | website_type | websitelogo | websitename | |||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |