Template:Infobox website: Difference between revisions
Appearance
Computerwhz (talk | contribs) Infobox website |
Computerwhz (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<table class="infobox" style="float:right; clear:right; width:22em; margin:0 0 1em 1em; border:1px solid #a2a9b1; border-spacing:3px; background:#f8f9fa; color:#202122; font-size:88%; line-height:1.5;"> | |||
<tr> | |||
<th colspan="2" style="text-align:center; font-size:125%; font-weight:bold; background:#ccccff;"> | |||
{{#if:{{{logo|}}}| | {{{title|{{PAGENAME}}}}} | ||
|- | </th> | ||
{{#if:{{{ | </tr> | ||
{{#if:{{{type|}}}| | {{#if:{{{logo|}}}| | ||
<tr> | |||
{{#if:{{{owner|}}}| | <td colspan="2" style="text-align:center;">[[File:{{{logo}}}|220px]]</td> | ||
</tr> | |||
{{#if:{{{created|}}}| | }} | ||
{{#if:{{{launched|}}}| | {{#if:{{{caption|}}}| | ||
<tr> | |||
{{#if:{{{active_dates|}}}| | <td colspan="2" style="text-align:center; font-size:90%;">{{{caption}}}</td> | ||
</tr> | |||
{{#if:{{{status|}}}| | }} | ||
{{#if:{{{name|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Name</th> | |||
<td>{{{name}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{url|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">URL</th> | |||
<td>{{{url}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{type|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Type</th> | |||
<td>{{{type}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{owner|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Owner</th> | |||
<td>{{{owner}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{created|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Created</th> | |||
<td>{{{created}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{launched|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Launched</th> | |||
<td>{{{launched}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{active_dates|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Active dates</th> | |||
<td>{{{active_dates}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{status|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Status</th> | |||
<td>{{{status}}}</td> | |||
</tr> | |||
}} | |||
</table> | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
{{Infobox website | {{Infobox website | ||
| title = | |||
| logo = | |||
| caption = | |||
| name = | | name = | ||
| url = | | url = | ||
| type = | | type = | ||
| Line 34: | Line 92: | ||
}} | }} | ||
</pre> | </pre> | ||
<templatedata> | |||
{ | |||
"description": "An infobox for a website, web service, online platform, or web project.", | |||
"params": { | |||
"title": { | |||
"label": "Title", | |||
"description": "The title shown at the top of the infobox.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"logo": { | |||
"label": "Logo", | |||
"description": "Logo filename without the File: prefix.", | |||
"example": "Logo.png", | |||
"type": "wiki-file-name" | |||
}, | |||
"caption": { | |||
"label": "Caption", | |||
"type": "string" | |||
}, | |||
"name": { | |||
"label": "Name", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"url": { | |||
"label": "URL", | |||
"example": "https://example.com", | |||
"type": "url" | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"example": "Wiki", | |||
"type": "string" | |||
}, | |||
"owner": { | |||
"label": "Owner", | |||
"type": "string" | |||
}, | |||
"created": { | |||
"label": "Created", | |||
"type": "string" | |||
}, | |||
"launched": { | |||
"label": "Launched", | |||
"type": "string" | |||
}, | |||
"active_dates": { | |||
"label": "Active dates", | |||
"example": "2026–present", | |||
"type": "string" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"example": "Active", | |||
"type": "string", | |||
"suggested": true | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 14:06, 1 June 2026
Usage
{{Infobox website
| title =
| logo =
| caption =
| name =
| url =
| type =
| owner =
| created =
| launched =
| active_dates =
| status =
}}
An infobox for a website, web service, online platform, or web project.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | The title shown at the top of the infobox. | String | suggested |
| Logo | logo | Logo filename without the File: prefix.
| File | optional |
| Caption | caption | no description | String | optional |
| Name | name | no description | String | suggested |
| URL | url | no description
| URL | optional |
| Type | type | no description
| String | optional |
| Owner | owner | no description | String | optional |
| Created | created | no description | String | optional |
| Launched | launched | no description | String | optional |
| Active dates | active_dates | no description
| String | optional |
| Status | status | no description
| String | suggested |