Template:Infobox: Difference between revisions

Marked this version for translation
mNo edit summary
(Marked this version for translation)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| 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"
<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"
|colspan="2"|<center>
|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]] }} }} }}  
{{#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>
</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 guide}}{{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>
|}
|}
<noinclude>{{category |category=Infobox template}}<templatedata>
</onlyinclude>
<noinclude>{{category |category=Infobox templates}}<templatedata>
{
{
"params": {
"params": {
Line 71: Line 74:
"type": "string",
"type": "string",
"suggested": true
"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"
]
}
}
},
},