Template:Infobox: Difference between revisions

From Join the Fediverse
m (Text replacement - "Infobox Platform" to "Infobox platform")
(Marked this version for translation)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<languages/>
<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"
{| 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>
|colspan="2"|<center>
Line 4: Line 6:
</center>
</center>
|-
|-
|colspan="2"|''{{{title}}} logo''
|colspan="2"|''{{{title}}} <translate><!--T:1--> logo</translate>''
|-
|-
!
!
|{{{{{title}}}}}
|{{{{{title}}}}}
|-
|-
!Website
!<translate><!--T:2--> Website</translate>
|[https://{{{website}}} {{{website}}}]
|[https://{{{website}}} {{{website}}}]
|-
|-
!{{#if:{{{website2|}}} | Website 2 | }}
!{{#if:{{{website2|}}} | <translate><!--T:3--> Website 2</translate> | }}
|{{#if:{{{website2|}}} | [https://{{{website2}}} {{{website2}}}] | }}
|{{#if:{{{website2|}}} | [https://{{{website2}}} {{{website2}}}] | }}
|-
|-
!{{#if:{{{instance|}}} | Official instance | }}
!{{#if:{{{instance|}}} | <translate><!--T:4--> Official instance</translate> | }}
|{{#if:{{{instance|}}} | [https://{{{instance}}} {{{instance}}}] | }}
|{{#if:{{{instance|}}} | [https://{{{instance}}} {{{instance}}}] | }}
|-
|-
!{{#if:{{{instance2|}}} | Official instance 2 | }}
!{{#if:{{{instance2|}}} | <translate><!--T:5--> Official instance 2</translate> | }}
|{{#if:{{{instance2|}}} | [https://{{{instance2}}} {{{instance2}}}] | }}
|{{#if:{{{instance2|}}} | [https://{{{instance2}}} {{{instance2}}}] | }}
|-
|-
!List of instances
!<translate><!--T:6--> List of instances</translate>
|[https://{{{title}}}.fediverse.observer/list fediverse.observer]
|[https://{{{title}}}.fediverse.observer/list fediverse.observer]
|-
|-
!{{#if:{{{mastohandle|}}} | Mastodon account | }}
!{{#if:{{{mastohandle|}}} | <translate><!--T:7--> Mastodon account</translate> | }}
|{{#if:{{{mastohandle|}}} | [https://{{{mastoinstance}}}/{{{mastohandle}}} {{{mastohandle}}}] | }}
|{{#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>
<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>
<noinclude>{{category |category=Infobox templates}}<templatedata>
{
{

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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
titletitle name

Title of the project

Example
Mastodon
Stringrequired
websitewebsite

Official website of the project. Don't include https://

Example
joinmastodon.org
Stringsuggested
website2website2

in case the project has a second official website

Stringoptional
instanceinstance

Official instance of the project. Again without https://

Example
mastodon.social
Stringsuggested
instance2instance2

In case the project has a second official instance.

Stringoptional
mastohandlemastohandle

Handle of the official Profile in the Fediverse.

Example
@Mastodon
Stringsuggested
mastoinstancemastoinstance

Home instance of the official profile.

Example
mastodon.social
Stringsuggested
draftdraft

Only add if you are adding this template to a drafted article (This makes sure categories are not added).

Suggested values
yes
Stringoptional