Template:Website: Difference between revisions
No edit summary |
Redesign: modern infobox style (right side, uniform 22em width); same parameters |
||
| (4 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#invoke:Infobox|infoboxTemplate | ||
| bodyclass = vcard | |||
| bodystyle = width:22em; | |||
| | | abovestyle = background-color:#0074b3; color:#fff; | ||
{{#if:{{{logo|}}}| | | above = {{{name|{{PAGENAME}}}}} | ||
| image = {{#if:{{{logo|}}}|[[File:{{{logo}}}|100x80px]]}} | |||
}} | | image2 = {{#if:{{{image|}}}|[[File:{{{image}}}|250px]]}} | ||
{{#if:{{{image|}}}| | | caption2 = {{{caption|}}} | ||
| label1 = Description | data1 = {{{description|}}} | |||
| label2 = Type | data2 = {{{type|}}} | |||
| label3 = In collaboration with | data3 = {{{collaboration|}}} | |||
{{ | | label4 = Slogan | data4 = {{{slogan|}}} | ||
}} | | label5 = Founded | data5 = {{{founded|}}} | ||
| label6 = Closed | data6 = {{{defunct|}}} | |||
{{ | | label7 = Founders | data7 = {{{founders|}}} | ||
}} | | label8 = CEO | data8 = {{{CEO|}}} | ||
| label9 = Ownership | data9 = {{{owner|}}} | |||
| label10 = Editor | data10 = {{{editor|}}} | |||
{{ | | label11 = Key services | data11 = {{{services|}}} | ||
}} | | label12 = Valuation | data12 = {{{valuation|}}} | ||
| label13 = Revenue | data13 = {{{revenue|}}} | |||
{{ | | label14 = Registration | data14 = {{{registration|}}} | ||
{{ | | label15 = Advertising | data15 = {{{advertising|}}} | ||
}} | | label16 = Programming languages | data16 = {{{programming_languages|}}} | ||
| data20 = {{#if:{{{website|}}}|[{{{website}}} Official website]}} | |||
{{ | }}</includeonly><noinclude> | ||
{{ | This template displays information about websites. | ||
}} | |||
== Usage == | |||
<pre> | |||
{{Website | |||
| name = | |||
{{#if:{{{ | | logo = | ||
{{ | | image = | ||
| caption = | |||
| description = | |||
{{ | | type = | ||
| collaboration = | |||
| slogan = | |||
| founded = | |||
| defunct = | |||
| founders = | |||
| CEO = | |||
| owner = | |||
| editor = | |||
| services = | |||
| valuation = | |||
| revenue = | |||
| registration = | |||
| advertising = | |||
| programming_languages = | |||
| website = | |||
}} | }} | ||
</pre> | |||
<templatedata> | |||
{ | |||
"description": "An infobox for websites.", | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"description": "Name of the website.", | |||
"type": "string" | |||
}, | |||
"logo": { | |||
"label": "Logo", | |||
"description": "Logo filename, without the File: prefix.", | |||
"type": "wiki-file-name" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Screenshot or other image filename.", | |||
"type": "wiki-file-name" | |||
}, | |||
"caption": { | |||
"label": "Caption", | |||
"description": "Caption displayed below the image.", | |||
"type": "string" | |||
}, | |||
"description": { | |||
"label": "Description", | |||
"description": "Short description of the website.", | |||
"type": "string" | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"description": "Type of website.", | |||
"type": "string" | |||
}, | |||
"collaboration": { | |||
"label": "In collaboration with", | |||
"description": "Organizations or entities collaborating on the website.", | |||
"type": "string" | |||
}, | |||
"slogan": { | |||
"label": "Slogan", | |||
"description": "Website slogan.", | |||
"type": "string" | |||
}, | |||
"founded": { | |||
"label": "Founded", | |||
"description": "Date or year the website was launched.", | |||
"type": "string" | |||
}, | |||
"defunct": { | |||
"label": "Closed", | |||
"description": "Date or year the website ceased operating.", | |||
"type": "string" | |||
}, | |||
"founders": { | |||
"label": "Founders", | |||
"description": "Founder or founders.", | |||
"type": "string" | |||
}, | |||
"CEO": { | |||
"label": "CEO", | |||
"description": "Chief executive officer.", | |||
"type": "string" | |||
}, | |||
"owner": { | |||
"label": "Ownership", | |||
"description": "Owner or ownership organization.", | |||
"type": "string" | |||
}, | |||
"editor": { | |||
"label": "Editor", | |||
"description": "Editor or editorial team.", | |||
"type": "string" | |||
}, | |||
"services": { | |||
"label": "Key services", | |||
"description": "Main services provided.", | |||
"type": "string" | |||
}, | |||
"valuation": { | |||
"label": "Valuation", | |||
"description": "Valuation of the website or its company.", | |||
"type": "string" | |||
}, | |||
"revenue": { | |||
"label": "Revenue", | |||
"description": "Revenue.", | |||
"type": "string" | |||
}, | |||
"registration": { | |||
"label": "Registration", | |||
"description": "Registration requirements.", | |||
"type": "string" | |||
}, | |||
"advertising": { | |||
"label": "Advertising", | |||
"description": "Advertising service or model.", | |||
"type": "string" | |||
}, | |||
"programming_languages": { | |||
"label": "Programming languages", | |||
"description": "Programming languages used to build the website.", | |||
"type": "string" | |||
}, | |||
"website": { | |||
"label": "Official website", | |||
"description": "Full URL of the official website.", | |||
"type": "url" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"logo", | |||
"image", | |||
"caption", | |||
"description", | |||
"type", | |||
"collaboration", | |||
"slogan", | |||
"founded", | |||
"defunct", | |||
"founders", | |||
"CEO", | |||
"owner", | |||
"editor", | |||
"services", | |||
"valuation", | |||
"revenue", | |||
"registration", | |||
"advertising", | |||
"programming_languages", | |||
"website" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> | |||
[[Category:Templates]] | |||
</noinclude> | |||
Latest revision as of 12:48, 19 November 2026
This template displays information about websites.
Usage[edit source]
{{Website
| name =
| logo =
| image =
| caption =
| description =
| type =
| collaboration =
| slogan =
| founded =
| defunct =
| founders =
| CEO =
| owner =
| editor =
| services =
| valuation =
| revenue =
| registration =
| advertising =
| programming_languages =
| website =
}}
An infobox for websites.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of the website. | String | optional |
| Logo | logo | Logo filename, without the File: prefix. | File | optional |
| Image | image | Screenshot or other image filename. | File | optional |
| Caption | caption | Caption displayed below the image. | String | optional |
| Description | description | Short description of the website. | String | optional |
| Type | type | Type of website. | String | optional |
| In collaboration with | collaboration | Organizations or entities collaborating on the website. | String | optional |
| Slogan | slogan | Website slogan. | String | optional |
| Founded | founded | Date or year the website was launched. | String | optional |
| Closed | defunct | Date or year the website ceased operating. | String | optional |
| Founders | founders | Founder or founders. | String | optional |
| CEO | CEO | Chief executive officer. | String | optional |
| Ownership | owner | Owner or ownership organization. | String | optional |
| Editor | editor | Editor or editorial team. | String | optional |
| Key services | services | Main services provided. | String | optional |
| Valuation | valuation | Valuation of the website or its company. | String | optional |
| Revenue | revenue | Revenue. | String | optional |
| Registration | registration | Registration requirements. | String | optional |
| Advertising | advertising | Advertising service or model. | String | optional |
| Programming languages | programming_languages | Programming languages used to build the website. | String | optional |
| Official website | website | Full URL of the official website. | URL | optional |