Template:Website: Difference between revisions
m Menachem Mendel.K moved page User:Menachem Mendel.K/Template:Website to Template:Template:Website |
Redesign: modern infobox style (right side, uniform 22em width); same parameters |
||
| (15 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:Infobox|infoboxTemplate | |||
<includeonly> | | bodyclass = vcard | ||
| bodystyle = width:22em; | |||
| abovestyle = background-color:#0074b3; color:#fff; | |||
| | | above = {{{name|{{PAGENAME}}}}} | ||
{{#if:{{{logo|}}}| | | image = {{#if:{{{logo|}}}|[[File:{{{logo}}}|100x80px]]}} | ||
| image2 = {{#if:{{{image|}}}|[[File:{{{image}}}|250px]]}} | |||
}} | | caption2 = {{{caption|}}} | ||
{{#if:{{{image|}}}| | | 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> | |||
{{#if:{{{website|}}}| | |||
}} | |||
</includeonly><noinclude> | |||
This template displays information about websites. | This template displays information about websites. | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
{{Website | {{Website | ||
| name = | | name = | ||
| logo = | | logo = | ||
| Line 110: | Line 54: | ||
</pre> | </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]] | [[Category:Templates]] | ||
</noinclude> | </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 |