Template:Infobox website: Difference between revisions

From WIDEVERSE Wiki
Jump to navigation Jump to search
(Change span class=xxx to div to fix Linter div-span-flip error.)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
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|}}}|{{{company name|{{{company_name|}}}}}}|{{{website name|{{{Websitename|{{{Website name|{{{site name|{{{websitename|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}}}}}}}}}}}}
| 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={{{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={{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 = {{{logo_caption|{{{logocaption|{{{Logo_caption|{{{Logocaption|}}}}}}}}}}}}
-->{{#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={{{screenshot size|{{{screenshot_size|}}}}}}|sizedefault=300px|alt={{{screenshot alt|{{{screenshot_alt|}}}}}}}}
{{#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    = {{{company type|{{{company_type|}}}}}}
| data1    = {{if empty|{{{company_type|}}}|{{{company type|}}}}}


| label2  = {{longitem|Type of site}}
| label2  = {{longitem|Type of site}}
| data2    = {{if empty|{{{website type|{{{website_type|}}}}}}|{{{type|{{{Type|}}}}}}}}
| 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&nbsp;in
| label3  = Available&nbsp;in
| data3   = {{#if:{{{language count|}}} |{{{language count}}} languages |{{{language|}}}<!--end #if:-->}}{{{language footnote|}}}
| data3   = {{#if:{{{language_count|}}}{{{language count|}}} |{{if empty|{{{language_count|}}}|{{{language count|}}}}} languages |{{{language|}}}<!--end #if:-->}}{{{language_footnote|}}}{{{language footnote|}}}
| data4   = {{#if:{{{language count|}}} |{{#if:{{{language|}}} |{{Begin hidden|titlestyle=background:transparent;|title=List of languages}}{{{language|}}}{{End hidden}} }} }}
| data4   = {{#if:{{{language_count|}}}{{{language count|}}} |{{#if:{{{language|}}} |{{Begin hidden|titlestyle=background:transparent;|title=List of languages}}{{{language|}}}{{End hidden}} }} }}


| label5  = [[Ticker symbol|Traded&nbsp;as]]
| label5  = [[Ticker symbol|Traded&nbsp;as]]
| data5    = {{{traded as|{{{traded_as|}}}}}}
| data5    = {{if empty|{{{traded_as|}}}|{{{traded as|}}}}}


| label6  = Founded
| label6  = Founded
| data6    = {{{founded|{{{foundation|{{{Founded|{{{Foundation|}}}}}}}}}}}}
| 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|{{{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">{{ifempty|{{{location city|}}}|{{{location_city}}}}}</div>}}
-->{{#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">{{ifempty|{{{country|}}}|{{{location country|}}}|{{{location_country}}}}}</div>}}
     | 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|}}}
| data11   = {{{coordinates|}}}


| label12  = Country of origin
| label12  = Country of origin
| data12  = {{{country of origin|{{{country_of_origin|}}}}}}
| data12  = {{if empty|{{{country_of_origin|}}}|{{{country of origin|}}}}}


| label13  = No.&nbsp;of locations
| label13  = No.&nbsp;of locations
Line 57: Line 64:


| label14  = Area&nbsp;served
| label14  = Area&nbsp;served
| data14  = {{{area served|{{{area_served|}}}}}}
| data14  = {{if empty|{{{area_served|}}}|{{{area served|}}}}}


| label15  = Owner{{#if:{{{owners|}}}|s}}
| label15  = Owner{{#if:{{{owners|}}}|s}}
| data15 = {{{owner|{{{owners|}}}}}}
| 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&nbsp;by
| label16  = Created&nbsp;by
| data16 = {{{author|{{{creator|{{{authors|{{{creators|}}}}}}}}}}}}
| 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 = {{{editor|{{{editors|}}}}}}
| 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&nbsp;people
| label25  = Key&nbsp;people
| data25  = {{{key people|{{{key_people|}}}}}}
| data25  = {{if empty|{{{key_people|}}}|{{{key people|}}}}}


| label26  = Industry
| label26  = Industry
Line 105: Line 114:


| label29  = [[Revenue]]
| label29  = [[Revenue]]
| data29  = {{{revenue|{{{rev|{{{Rev|{{{Revenue|}}}}}}}}}}}}
| 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  = {{{operating income|{{{operating_income|}}}}}}
| data30  = {{if empty|{{{operating_income|}}}|{{{operating income|}}}}}


| label31  = {{#ifeq:{{{international|{{{intl|}}}}}}|yes|[[Net income|Profit]]|[[Net income]]}}
| label31  = {{#ifeq:{{if empty|{{{international|}}}|{{{intl|}}}}}|yes|[[Net income|Profit]]|[[Net income]]}}
| data31  = {{{net income|{{{net_income|}}}}}}
| data31  = {{if empty|{{{net_income|}}}|{{{net income|}}}}}


| label32  = [[Asset|Total assets]]
| label32  = [[Asset|Total assets]]
Line 119: Line 129:
| data33  = {{{equity|}}}
| data33  = {{{equity|}}}


| label35 = Employees
| label34 = Employees
| data35   = {{{employees|{{{num employees|{{{num_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]]}}


| label36 = [[Holding company|Parent]]
| label35 = [[Holding company|Parent]]
| data36   = {{{parent|}}}
| data35   = {{{parent|}}}


| label37 = [[Division (business)|Divisions]]
| label36 = [[Division (business)|Divisions]]
| data37   = {{{divisions|}}}
| data36   = {{{divisions|}}}


| label38 = Subsidiaries
| label37 = Subsidiaries
| data38   = {{{subsidiaries|{{{subsid|}}}}}}
| data37   = {{if empty|{{{subsidiaries|}}}|{{{subsid|}}}}}<!--
-->{{#ifexpr:{{#invoke:ParameterCount|main|subsidiaries|subsid}}>1|[[Category:Pages using infobox website with redundant parameters|SUBSIDIARIES]]}}


| label40 = Website
| label38 = Website
| class40 = url
| class38 = url
| data40   = {{{url|{{{website|{{{homepage|}}}}}}}}}
| data38   = {{if empty|{{{url|}}}|{{{website|}}}|{{{homepage|}}}}}<!--
-->{{#ifexpr:{{#invoke:ParameterCount|main|website|url|homepage}}>1|[[Category:Pages using infobox website with redundant parameters|WEBSITE]]}}


| label42 = [[IPv6]] support
| label39 = [[IPv6]] support
| data42   = {{{ipv6|}}}
| data39   = {{{ipv6|}}}


| label43 = [[Alexa Internet|Alexa]] rank
| label40 = [[Alexa Internet|Alexa]] rank
| data43   = {{{alexa|}}}
| data40   = {{{alexa|}}}


| label45 = [[Online advertising|Advertising]]
| label41 = [[Online advertising|Advertising]]
| data45   = {{{advertising|}}}
| data41   = {{{advertising|}}}


| label46 = Commercial
| label42 = Commercial
| data46   = {{{commercial|{{{Commercial|}}}}}}
| data42   = {{{commercial|}}}


| label47 = Registration
| label43 = Registration
| data47   = {{{registration|{{{reg|}}}}}}
| data43   = {{if empty|{{{registration|}}}|{{{reg|}}}}}<!--
-->{{#ifexpr:{{#invoke:ParameterCount|main|registration|reg}}>1|[[Category:Pages using infobox website with redundant parameters|REGISTRATION]]}}


| label48 = [[Registered user|Users]]
| label44 = [[Registered user|Users]]
| data48   = {{{users|{{{num users|{{{num_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]]}}


| label49 = Launched
| label45 = Launched
| data49   = {{{launched|{{{launch date|{{{launch_date|{{{date_of_launch|}}}}}}}}}}}}
| 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]]}}


| label50 = Current&nbsp;status
| label46 = Current&nbsp;status
| class50 = category
| class46 = category
| data50   = {{{current status|{{{current_status|}}}}}}
| data46   = {{if empty|{{{current_status|}}}|{{{current status|}}}}}


| label51 = [[Computing platform|Native client(s) on]]
| label47 = [[Computing platform|Native client(s) on]]
| data51   = {{{native clients|{{{native_clients|}}}}}}
| data47   = {{if empty|{{{native_clients|}}}|{{{native clients|}}}}}
<!-- Spelled differently; see [[MOS:ENGVAR]] -->
<!-- Spelled differently; see [[MOS:ENGVAR]] -->
| label52 = {{longitem|Content license}}
| label48 = {{#if:{{{content_license|}}}{{{content license|}}}{{{license|}}}|{{longitem|Content license}}|{{longitem|Content licence}}}}
|  data52  = {{{content_license|{{{content license|{{{license|{{{License|}}}}}}}}}}}}
| data48  = {{if empty|{{{content_license|}}}|{{{content license|}}}|{{{license|}}}|{{{content_licence|}}}|{{{content licence|}}}|{{{licence|}}}}}<!--
| label53  = {{longitem|Content 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]]}}
| data53  = {{{content_licence|{{{content licence|{{{licence|{{{Licence|}}}}}}}}}}}}
<!-- -->
| label54  = Written&nbsp;in
|  data54  = {{{programming language|{{{programming_language|}}}}}}


| label56 = [[IP address|IP&nbsp;address]]
| label49 = Written&nbsp;in
| data56  = {{{ip|}}}
| data49  = {{if empty|{{{programming_language|}}}|{{{programming language|}}}}}


| label58 = [[International Standard Serial Number|ISSN]]
| label50 = [[International Standard Serial Number|ISSN]]
| data58  = {{ISSN link|1={{{issn|{{{ISSN|}}}}}}|2={{{eissn|{{{eISSN|}}}}}}}}
| 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]]}}


| label59 = [[OCLC]]&nbsp;number
| label51 = [[OCLC]]&nbsp;number
| data59  = {{#if:{{{oclc|}}}|{{OCLC search link|{{{oclc}}} }} }}
| data51  = {{#if:{{{oclc|}}}|{{OCLC search link|{{{oclc}}} }} }}


| 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
}}{{#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}}]]}}
}}{{#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>}}}}
}}{{#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  
}}{{#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>

Latest revision as of 19:28, 19 November 2019