Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox website: Difference between revisions

Template page
mh:wikigenius>Parvej Husen Talukder
m 1 revision imported
Created page with "<noinclude> {{Infobox website | name = Example Site | logo = Example_logo.png | logo_caption = Logo of Example Site | screenshot = Example_screenshot.png | screenshot_caption = Screenshot of Example Site | url = https://www.example.com | commercial = Yes | type = Social networking | registration = Required | owner = Example Corp | author = John Doe | launched = January 1, 20..."
Line 1: Line 1:
{{Infobox
<noinclude>
| bodyclass  = vcard
{{Infobox website
| child = {{lc:{{{embed|}}}}}
| name            = Example Site
| decat = yes
| logo            = Example_logo.png
 
| logo_caption    = Logo of Example Site
| titleclass = fn org
| screenshot      = Example_screenshot.png
| title      = {{if empty|{{{name|}}}|{{{company_name|}}}|{{{websitename|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
| screenshot_caption = Screenshot of Example Site
 
| url              = https://www.example.com
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{if empty|{{{company_logo|}}}|{{{logo|}}}|{{{websitelogo|}}}}}|size={{{logo_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{logo_alt|}}}}}
| commercial      = Yes
| caption1 = {{if empty|{{{logo_caption|}}}|{{{logocaption|}}}}}
| type            = Social networking
| image2  = {{#if:{{{collapsible|}}}|{{hidden begin|title={{{collapsetext|Screenshot}}}|titlestyle=background:{{{background|gainsboro}}};text-align:center|contentstyle=text-align:center}}}}
| registration    = Required
{{#invoke:InfoboxImage|InfoboxImage|image={{{screenshot|}}}|size={{{screenshot_size|}}}|sizedefault=300px|alt={{{screenshot_alt|}}}}}
| owner            = Example Corp
| caption2 = {{{caption|}}}{{#if:{{{collapsible|}}}|{{hidden end}}}}
| author          = John Doe
 
| launched        = January 1, 2000
| label1  = {{longitem|Native name}}
| current_status  = Active
|  data1  = {{#if:{{{native_name|}}} | {{#if:{{{native_name_lang|}}} | {{lang|{{{native_name_lang}}}|{{{native_name}}} }} | {{{native_name}}} }} }}
| language        = English, Spanish, French
| label2  = {{longitem|[[Romanization|Romanized]] name}}
| headquarters    = [[San Francisco, California]], [[USA]]
|  data2  = {{{romanized_name|}}}
| revenue          = $1 billion (2023)
| label3  = Formerly
| users            = 500 million (2023)
| class3  = nickname
| website_rank    = Top 100 Global
|  data3  = {{{former_names|{{{former_name|}}}}}}
| license          = Proprietary
 
}} </noinclude>
| label4  = Type of business
<div class="infobox" style="width: 22em; border: 1px solid #aaa; border-collapse: collapse; margin: 10px; float: right; background: #f9f9f9;">
| class4  = category
    <table style="width: 100%; border: none;">
| data4    = {{{company_type|}}}
        <tr>
 
            <th colspan="2" style="background: #e9e9e9; text-align: center;">{{#if: {{{name|}}} | {{{name}}} | "Website Name"}}</th>
| label5  = {{longitem|Type of site}}
        </tr>
| data5    = {{if empty|{{{website_type|}}}|{{{type|}}}}}
        <tr>
 
            <td colspan="2" style="text-align: center;">
| label6  = Available&nbsp;in
                {{#if: {{{logo|}}}
| data6    = {{#if:{{{language_count|}}}
                    | [[File:{{{logo}}}|thumb|200px|center]]                }}
  |{{{language_count}}} languages
            </td>
  |{{{language|}}}
        </tr>
  }}{{{language_footnote|}}}
        {{#if: {{{logo_caption|}}}
| data7    = {{#if:{{both| {{{language_count|}}} | {{{language|}}}}}
            | <tr>
  |{{Begin hidden|titlestyle=background:transparent;color:inherit;|title=List of languages}}{{{language|}}}{{End hidden}}
                <td colspan="2" style="align: center; text-align: center; font-style: italic;">{{{logo_caption}}}</td>
  }}
            </tr>
 
        }}
| label8  = [[Ticker symbol|Traded&nbsp;as]]
        {{#if: {{{screenshot|}}}
| data8    = {{{traded_as|}}}
            | <tr>
 
                <td colspan="2" style="text-align: center;">
| label9  = Founded
                    [[File:{{{screenshot}}}|thumb|200px|center]]
| data9    = {{if empty|{{{founded|}}}|{{{foundation|}}}}}
                </td>
 
            </tr>
| label10  = [[Dissolution (law)|Dissolved]]
        }}
| data10    = {{{dissolved|}}}
        {{#if: {{{screenshot_caption|}}}
 
            | <tr>
| label11  = Predecessor(s)
                <td colspan="2" style="text-align: center; font-style: italic;">{{{screenshot_caption}}}</td>
| data11    = {{{predecessor|}}}
            </tr>
 
        }}
| label12  = Successor(s)
        {{#if: {{{url|}}}
| data12    = {{{successor|}}}
            | <tr>
 
                <th style="text-align: left;">URL</th>
| label13  = Headquarters
                <td>[{{{url}}} {{{url}}}]</td>
| class13  = {{#if:{{{headquarters|}}}{{{location|}}}|label|adr}}
            </tr>
| data13  = {{comma separated entries
        }}
    | 1= {{if empty|{{{headquarters|}}}|{{{location|}}}}}
        {{#if: {{{commercial|}}}
    | 2= {{#if:{{{location_city|}}}|<div style="display:inline;" class="locality">{{{location_city}}}</div>}}
            | <tr>
    | 3= {{#if:{{{country|}}}{{{location_country|}}}|<div style="display:inline;" class="country-name">{{if empty|{{{country|}}}|{{{location_country}}}}}</div>}}
                <th style="text-align: left;">Commercial</th>
    }}
                <td>{{{commercial}}}</td>
 
            </tr>
| label14  = Country of origin
        }}
| data14  = {{{country_of_origin|}}}
        {{#if: {{{type|}}}
 
            | <tr>
| label15  = No.&nbsp;of locations
                <th style="text-align: left;">Type</th>
| data15  = {{{locations|}}}
                <td>{{{type}}}</td>
 
            </tr>
| label16  = Area&nbsp;served
        }}
| data16  = {{{area_served|}}}
        {{#if: {{{registration|}}}
 
            | <tr>
| label17  = Owner{{#if:{{{owners|}}}|s}}
                <th style="text-align: left;">Registration</th>
| data17  = {{if empty|{{{owners|}}}|{{{owner|}}}}}
                <td>{{{registration}}}</td>
 
            </tr>
<!-- Essentially the same, but up to the editor to choose -->
        }}
| label18  = Created&nbsp;by
        {{#if: {{{owner|}}}
| data18  = {{if empty|{{{author|}}}|{{{creator|}}}|{{{authors|}}}|{{{creators|}}}}}
            | <tr>
 
                <th style="text-align: left;">Owner</th>
| label19  = [[Organizational founder|Founder(s)]]
                <td>{{{owner}}}</td>
| data19  = {{{founder|}}}
            </tr>
 
        }}
| label20  = Editor{{#if:{{{editors|}}}|s}}
        {{#if: {{{author|}}}
| data20  = {{if empty|{{{editors|}}}|{{{editor|}}}}}
            | <tr>
 
                <th style="text-align: left;">Author</th>
| label21  = Chairman
                <td>{{{author}}}</td>
| data21  = {{{chairman|}}}
            </tr>
 
        }}
| label22  = Chairperson
        {{#if: {{{launched|}}}
| data22  = {{{chairperson|}}}
            | <tr>
 
                <th style="text-align: left;">Launched</th>
| label23  = President
                <td>{{{launched}}}</td>
| data23  = {{{president|}}}
            </tr>
 
        }}
| label24  = CEO
        {{#if: {{{current_status|}}}
| data24  = {{{CEO|}}}
            | <tr>
 
                <th style="text-align: left;">Current Status</th>
| label25  = [[Chief executive officer|Managing director]]
                <td>{{{current_status}}}</td>
| data25  = {{{MD|}}}
            </tr>
 
        }}
| label26  = General manager
        {{#if: {{{language|}}}
| data26  = {{{GM|}}}
            | <tr>
 
                <th style="text-align: left;">Languages</th>
| label27  = Key&nbsp;people
                <td>{{{language}}}</td>
| data27  = {{{key_people|}}}
            </tr>
 
        }}
| label28  = Industry
        {{#if: {{{headquarters|}}}
| class28  = category
            | <tr>
| data28  = {{{industry|}}}
                <th style="text-align: left;">Headquarters</th>
 
                <td>{{{headquarters}}}</td>
| label29  = [[Product (business)|Products]]
            </tr>
| data29  = {{{products|}}}
        }}
 
        {{#if: {{{revenue|}}}
| label30  = [[Service (economics)|Services]]
            | <tr>
| data30  = {{{services|}}}
                <th style="text-align: left;">Revenue</th>
 
                <td>{{{revenue}}}</td>
| label31  = [[Revenue]]
            </tr>
| data31  = {{if empty|{{{revenue|}}}|{{{rev|}}}}}
        }}
 
        {{#if: {{{users|}}}
| label32  = [[Earnings before interest and taxes|Operating income]]
            | <tr>
| data32  = {{{operating_income|}}}
                <th style="text-align: left;">Users</th>
 
                <td>{{{users}}}</td>
| label33  = {{#ifeq:{{if empty|{{{international|}}}|{{{intl|}}}}}|yes|[[Net income|Profit]]|[[Net income]]}}
            </tr>
| data33  = {{{net_income|}}}
        }}
 
        {{#if: {{{website_rank|}}}
| label34  = [[Asset|Total assets]]
            | <tr>
| data34  = {{{assets|}}}
                <th style="text-align: left;">Website Rank</th>
 
                <td>{{{website_rank}}}</td>
| label35  = [[Equity (finance)|Total equity]]
            </tr>
| data35  = {{{equity|}}}
        }}
 
        {{#if: {{{license|}}}
| label36  = Employees
            | <tr>
| data36  = {{if empty|{{{employees|}}}|{{{num_employees|}}}}}
                <th style="text-align: left;">License</th>
 
                <td>{{{license}}}</td>
| label37  = [[Holding company|Parent]]
            </tr>
| data37  = {{{parent|}}}
        }}
 
    </table>
| label38  = [[Division (business)|Divisions]]
</div>
| data38  = {{{divisions|}}}
 
| label39  = [[Subsidiary|Subsidiaries]]
| data39  = {{if empty|{{{subsidiaries|}}}|{{{subsid|}}}}}
 
| label40  = URL
| class40  = url
| data40  = {{if empty|{{{url|}}}|{{{website|}}}|{{{homepage|}}}}}
 
| label41  = [[IPv6]] support
| data41  = {{{ipv6|}}}
 
| label43  = [[Online advertising|Advertising]]
| data43  = {{{advertising|}}}
 
| label44  = Commercial
| data44  = {{{commercial|}}}
 
| label45  = Registration
| data45  = {{if empty|{{{registration|}}}|{{{reg|}}}}}
 
| label46  = [[Registered user|Users]]
| data46  = {{if empty|{{{users|}}}|{{{num_users|}}}}}
 
| label47  = Launched
| data47  = {{if empty|{{{launched|}}}|{{{launch_date|}}}|{{{date_of_launch|}}}}}
 
| label48  = Current&nbsp;status
| class48  = category
| data48  = {{{current_status|}}}
 
| label49  = [[Computing platform|Native client(s) on]]
| data49  = {{{native_clients|}}}
<!-- Spelled differently; see [[MOS:ENGVAR]] -->
| label50  = {{#if:{{{content_license|}}}{{{license|}}}|{{longitem|Content license}}|{{longitem|Content licence}}}}
| data50  = {{if empty|{{{content_license|}}}|{{{license|}}}|{{{content_licence|}}}|{{{licence|}}}}}
 
| label51  = Written&nbsp;in
| data51  = {{{programming_language|}}}
 
| label52  = [[ISSN]]
| data52  = {{ISSN link|1={{if empty|{{{issn|}}}|{{{ISSN|}}}}}|2={{if empty|{{{eissn|}}}|{{{eISSN|}}}}}}}
 
| label53  = [[OCLC]]&nbsp;number
| data53  = {{#if:{{{oclc|}}}|{{OCLC search link|{{{oclc}}} }} }}
 
| data99  = {{{module|}}}
 
| below    = {{{footnotes|}}}
}}{{#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 | area_served | assets | author | authors | background | caption | CEO | chairman | chairperson | collapsetext | collapsible | commercial | company_logo | company_name | company_type | content_licence | content_license | country | country_of_origin | creator | creators | current_status | date_of_launch | dissolved | divisions | editor | editors | eISSN | eissn | embed | employees | equity | footnotes | former_name | former_names | foundation | founded | founder | GM | headquarters | homepage | industry | international | intl | ipv6 | ISSN | issn | key_people | language | language_count | language_footnote | launched | launch_date | licence | license | location | locations | location_city | location_country | logo | logocaption | logo_alt | logo_caption | logo_size | MD | module | name | native_clients | native_name | native_name_lang | net_income | num_employees | num_users | oclc | operating_income | owner | owners | parent | predecessor | president | products | programming_language | reg | registration | rev | revenue | romanized_name | screenshot | screenshot_alt | screenshot_size | services | subsid | subsidiaries | successor | traded_as | type | url | users | website | websitelogo | websitename | website_type
}}{{#invoke:check for clobbered parameters|check
| template = Infobox website
| cat = {{main other|Category:Pages using infobox website with redundant parameters}}
| name; company_name; websitename
| former_name; former_names
| company_logo; logo; websitelogo
| logo_caption; logocaption
| website_type; type
| founded; foundation
| headquarters; location
| country; location_country
| owners; owner
| author; creator; authors; creators
| editors; editor
| revenue; rev
| international; intl
| employees; num_employees
| subsidiaries; subsid
| url; website; homepage
| registration; reg
| users; num_users
| launched; launch_date; date_of_launch
| content_license; license; content_licence; licence
| issn; ISSN
| eissn; eISSN
}}<noinclude>
{{documentation}}
</noinclude>

Revision as of 20:56, 4 November 2024


Example Site
File:Example logo.png
Logo of Example Site
File:Example screenshot.png
Screenshot of Example Site
URL https://www.example.com
Commercial Yes
Type Social networking
Registration Required
Owner Example Corp
Author John Doe
Launched January 1, 2000
Current Status Active
Languages English, Spanish, French
Headquarters San Francisco, California, USA
Revenue $1 billion (2023)
Users 500 million (2023)
Website Rank Top 100 Global
License Proprietary
"Website Name"