Contents

Template:Infobox website: Difference between revisions

CreatedTemplate:Infobox website
 
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if:{{{screenshot|}}}
|{{#setmainimage:{{{screenshot}}}}}
|{{#if:{{{logo|}}}
  |{{#setmainimage:{{{logo}}}}}
  }}
}}
<table class="infobox" style="width:22em; max-width:100%; border:1px solid #a2a9b1; border-spacing:3px; background:#f8f9fa; color:#202122; margin:0 0 1em 1em; padding:0.2em; float:right; clear:right; font-size:88%; line-height:1.5;">
<table class="infobox" style="width:22em; max-width:100%; border:1px solid #a2a9b1; border-spacing:3px; background:#f8f9fa; color:#202122; margin:0 0 1em 1em; padding:0.2em; float:right; clear:right; font-size:88%; line-height:1.5;">
<tr>
<tr>
Line 10: Line 18:


<tr>
<tr>
<td colspan="2" style="text-align:center; padding:0.6em;">{{{logo}}}</td>
<td colspan="2" style="text-align:center; padding:0.6em;">
[[File:{{{logo}}}|frameless|220px|alt={{{name|{{PAGENAME}}}}} logo]]
</td>
</tr>
</tr>
}}
}}
Line 17: Line 27:


<tr>
<tr>
<td colspan="2" style="text-align:center; padding:0.6em;">{{{screenshot}}}
<td colspan="2" style="text-align:center; padding:0.6em;">
[[File:{{{screenshot}}}|frameless|300px|alt={{{name|{{PAGENAME}}}}} screenshot]]
{{#if:{{{caption|}}}|<div style="font-size:90%; padding-top:0.3em;">{{{caption}}}</div>}}
{{#if:{{{caption|}}}|<div style="font-size:90%; padding-top:0.3em;">{{{caption}}}</div>}}
</td>
</td>
Line 136: Line 147:
{{Infobox website
{{Infobox website
| name            = WikiPartner
| name            = WikiPartner
| logo            =
| logo            = Example-logo.png
| screenshot      =
| screenshot      = Example-screenshot.png
| caption        =
| caption        =  
| type            = Online encyclopedia
| type            = Online encyclopedia
| language        = English
| language        = English
Line 162: Line 173:


; logo
; logo
: Website logo, usually added using MediaWiki file syntax.
: Website logo filename, without <code>[[File:...]]</code> markup. Example: <code>Example-logo.png</code>.


; screenshot
; screenshot
: Screenshot of the website.
: Website screenshot filename, without <code>[[File:...]]</code> markup. Example: <code>Example-screenshot.png</code>.


; caption
; caption

Revision as of 19:07, 30 August 2026

Usage

This infobox is used for websites and online platforms.

{{Infobox website
| name            = WikiPartner
| logo            = Example-logo.png
| screenshot      = Example-screenshot.png
| caption         = 
| type            = Online encyclopedia
| language        = English
| country         =
| owner           =
| founder         =
| author          =
| url             = https://wikipartner.org
| registration    = Required for contributing
| launched        = 2026
| current_status  = Active
| content_license = CC BY-SA 4.0
| commercial      =
}}

Only fields containing information are displayed.

Parameters

name
Name of the website or platform.
logo
Website logo filename, without File:... markup. Example: Example-logo.png.
screenshot
Website screenshot filename, without File:... markup. Example: Example-screenshot.png.
caption
Caption displayed beneath the screenshot.
type
Type of website or online service.
language
Main language.
languages
Use instead of language for multiple languages.
country
Country associated with the website or organization, when relevant.
owner
Owner or operating organization.
founder
Founder or founders.
author
Original creator or developer.
url
Official website address.
registration
Whether registration is required or optional.
launched
Public launch date or year.
current_status
Current operating status.
content_license
License used for website content.
commercial
Whether the website operates commercially.