Template:Infobox: Difference between revisions
(Created page with "<infobox> <title>{{{title}}}</title> </infobox>") |
(Marked this version for translation) |
||
(58 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<infobox> | <languages/> | ||
<title>{{{title}}}</title> | <onlyinclude> | ||
</ | {| id="template-infobox-platform" summary="Infobox platform" style="font-size:90%; margin-top:0; margin-left:10; width:300px; float:right; border-style: solid; border-width: 5px" | ||
|colspan="2"|<center> | |||
{{#ifexist: File:{{{title}}} full logo.svg | [[File:{{{title}}} full logo.svg|250x250px]] |{{#ifexist: File:{{{title}}} full logo.png | [[File:{{{title}}} full logo.png|250x250px]] |{{#ifexist: File:{{{title}}} logo.svg | [[File:{{{title}}} logo.svg|250x250px]] | [[File:{{{title}}}.svg|250x250px]] }} }} }} | |||
</center> | |||
|- | |||
|colspan="2"|''{{{title}}} <translate><!--T:1--> logo</translate>'' | |||
|- | |||
! | |||
|{{{{{title}}}}} | |||
|- | |||
!<translate><!--T:2--> Website</translate> | |||
|[https://{{{website}}} {{{website}}}] | |||
|- | |||
!{{#if:{{{website2|}}} | <translate><!--T:3--> Website 2</translate> | }} | |||
|{{#if:{{{website2|}}} | [https://{{{website2}}} {{{website2}}}] | }} | |||
|- | |||
!{{#if:{{{instance|}}} | <translate><!--T:4--> Official instance</translate> | }} | |||
|{{#if:{{{instance|}}} | [https://{{{instance}}} {{{instance}}}] | }} | |||
|- | |||
!{{#if:{{{instance2|}}} | <translate><!--T:5--> Official instance 2</translate> | }} | |||
|{{#if:{{{instance2|}}} | [https://{{{instance2}}} {{{instance2}}}] | }} | |||
|- | |||
!<translate><!--T:6--> List of instances</translate> | |||
|[https://{{{title}}}.fediverse.observer/list fediverse.observer] | |||
|- | |||
!{{#if:{{{mastohandle|}}} | <translate><!--T:7--> Mastodon account</translate> | }} | |||
|{{#if:{{{mastohandle|}}} | [https://{{{mastoinstance}}}/{{{mastohandle}}} {{{mastohandle}}}] | }} | |||
<includeonly>{{#if:{{{draft|}}}||{{category |category=What are Fediverse projects?}}{{category |category=Beginners guides}}{{category |category=What is}}{{category |category={{{title}}}}}}}</includeonly> | |||
|} | |||
</onlyinclude> | |||
<noinclude>{{category |category=Infobox templates}}<templatedata> | |||
{ | |||
"params": { | |||
"title": { | |||
"aliases": [ | |||
"name" | |||
], | |||
"description": "Title of the project", | |||
"example": "Mastodon", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"website": { | |||
"description": "Official website of the project. Don't include https://", | |||
"example": "joinmastodon.org", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"website2": { | |||
"description": "in case the project has a second official website", | |||
"type": "string" | |||
}, | |||
"instance": { | |||
"description": "Official instance of the project. Again without https://", | |||
"example": "mastodon.social", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"instance2": { | |||
"description": "In case the project has a second official instance.", | |||
"type": "string" | |||
}, | |||
"mastohandle": { | |||
"description": "Handle of the official Profile in the Fediverse.", | |||
"example": "@Mastodon", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"mastoinstance": { | |||
"description": "Home instance of the official profile.", | |||
"example": "mastodon.social", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"draft": { | |||
"description": "Only add if you are adding this template to a drafted article (This makes sure categories are not added).", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"yes" | |||
] | |||
} | |||
}, | |||
"description": "This is the template for infoboxes displayed in Category:What is articles.\nIf the project is no longer active use Template:Infobox defunct instead.", | |||
"format": "inline" | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 07:01, 15 February 2024
[[File:{{{title}}}.svg|250x250px]] | |
{{{title}}} logo | |
{{{{{title}}}}} | |
Website | {{{website}}} |
List of instances | fediverse.observer |
This is the template for infoboxes displayed in Category:What is articles. If the project is no longer active use Template:Infobox defunct instead.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title name | Title of the project
| String | required |
website | website | Official website of the project. Don't include https://
| String | suggested |
website2 | website2 | in case the project has a second official website | String | optional |
instance | instance | Official instance of the project. Again without https://
| String | suggested |
instance2 | instance2 | In case the project has a second official instance. | String | optional |
mastohandle | mastohandle | Handle of the official Profile in the Fediverse.
| String | suggested |
mastoinstance | mastoinstance | Home instance of the official profile.
| String | suggested |
draft | draft | Only add if you are adding this template to a drafted article (This makes sure categories are not added).
| String | optional |