Template:Infobox: Difference between revisions

From Join the Fediverse
mNo edit summary
mNo edit summary
Line 28: Line 28:
<includeonly>{{category |category=What is}}{{category |category=What are Fediverse projects?}}{{category |category=Beginners guide}}{{category |category={{{title}}}}}</includeonly>
<includeonly>{{category |category=What is}}{{category |category=What are Fediverse projects?}}{{category |category=Beginners guide}}{{category |category={{{title}}}}}</includeonly>
|}
|}
<noinclude>{{category |category=Infobox template}}</noinclude>
<noinclude>{{category |category=Infobox template}}<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
}
},
"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>

Revision as of 11:28, 6 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