Template:Infobox platform: Difference between revisions

From Join the Fediverse
No edit summary
m (Text replacement - "Infobox Platform" to "Infobox platform")
 
(10 intermediate revisions by 2 users not shown)
Line 8: Line 8:


<pre>
<pre>
{{Infobox Platform
{{Infobox platform
|name=
|name=
|short_name=
|short_name=
Line 15: Line 15:
|logo_width=
|logo_width=
|color=
|color=
|screenshot=
|screenshot_width=
|screenshot_description=


|website=
|website=
Line 59: Line 62:
|logo=
|logo=
| The filename in this wiki without prefix "{{ic|File:}}" for the logo of the fediverseplatform. This field can be left empty.  
| The filename in this wiki without prefix "{{ic|File:}}" for the logo of the fediverseplatform. This field can be left empty.  
|{{ic|Mastodon logo.png}}
|{{ic|Mastodon logo.svg}}
|-
|-
|logo_width=
|logo_width=
| The name of the fediverse platform. This field can be left empty, in which case the lemma of the user page will be used directly without prefix.
| The width of the logo. This field can be left empty, in which case the width is set to 125px.
|{{ic|mastodon}}
|{{ic|75px}}
|-
|-
|color=
|color=
Line 74: Line 77:


==Ergebnis==
==Ergebnis==
<pre>{{Infobox Platform
<pre>{{Infobox platform
|name=Mastodon
|name=Mastodon
|short_name=mstdn <!-- for testing only -->
|short_name=mstdn <!-- for testing only -->
|abbreviation=mn <!-- for testing only -->
|abbreviation=mn <!-- for testing only -->
|logo=Mastodon logo.png
|logo=Mastodon logo.svg
|logo_width=125px
|logo_width=125px
|color=2791da
|color=2791da
|screenshot=Pleroma FE.png
|screenshot_width=300px
|screenshot_description=Screenshot of Pleroma-FE


|website=[https://joinmastodon.org/ joinmastodon.org]
|website=[https://joinmastodon.org/ joinmastodon.org]
Line 99: Line 105:
}}</pre>
}}</pre>


</noinclude>
{{Infobox platform
 
{{Infobox Platform
|name=Mastodon
|name=Mastodon
|short_name=mstdn <!-- for testing only -->
|short_name=mstdn <!-- for testing only -->
|abbreviation=mn <!-- for testing only -->
|abbreviation=mn <!-- for testing only -->
|logo=Mastodon logo.png
|logo=Mastodon logo.svg
|logo_width=125px
|logo_width=125px
|color=2791da
|color=2791da
|screenshot=Pleroma FE.png
|screenshot_width=300px
|screenshot_description=Screenshot of Pleroma-FE


|website=[https://joinmastodon.org/ joinmastodon.org]
|website=[https://joinmastodon.org/ joinmastodon.org]
Line 125: Line 132:
|donation=[https://patreon.com/mastodon Patreon] & [https://sponsor.joinmastodon.org/ sponsor]
|donation=[https://patreon.com/mastodon Patreon] & [https://sponsor.joinmastodon.org/ sponsor]
}}
}}
</noinclude>




Line 130: Line 139:


<onlyinclude>
<onlyinclude>
{| class="toccolours float-right toptextcells" id="template-infobox-platform" summary="Infobox Platform" style="font-size:90%; margin-top:0; margin-left:10; width:400px; float:right;"
{| class="toccolours float-right toptextcells" id="template-infobox-platform" summary="Infobox platform" style="font-size:90%; margin-top:0; margin-left:10; width:400px; float:right;"
|-
|-
| colspan="2" style="background-color:#{{#if:{{{color|}}}| {{{color}}} | ababab }}" |
| colspan="2" style="background-color:#{{#if:{{{color|}}}| {{{color}}} | ababab }}" |
|-
|-
! colspan="2" style="font-size:140%; border-bottom: solid 2px #{{#if:{{{color|}}}| {{{color}}} | ababab }}" | [[File:Fediverse logo.png|40x50px|link=Category:Fediverse projects|Platforms]]<br> {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }} <br><span style="font-size:70%; line-height: 1.3em;">{{#if: {{{short_name|}}} | {{{short_name}}}&nbsp;&bull;&nbsp;}}{{#if: {{{abbreviation|}}} | {{{abbreviation}}}}}</span>
! colspan="2" style="font-size:140%; border-bottom: solid 2px #{{#if:{{{color|}}}| {{{color}}} | ababab }}" | [[File:Fediverse logo.svg|40x50px|link=Category:Fediverse projects|Platforms]]<br> {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }} <br><span style="font-size:70%; line-height: 1.3em;">{{#if: {{{short_name|}}} | {{{short_name}}}&nbsp;&bull;&nbsp;}}{{#if: {{{abbreviation|}}} | {{{abbreviation}}}}}</span>
|-style="text-align:center"
{{#if:{{{logo|}}} | {{!}} colspan="2" {{!}} [[File:{{{logo}}}{{!}}center{{!}}{{#if:{{{logo_width|}}} | {{{logo_width}}} | 125px}}]] }}
|-style="text-align:center"
|-style="text-align:center"
{{#if:{{{logo|}}} | {{!}} colspan="2" {{!}} [[File:{{{logo}}}{{!}}center{{!}}{{#if:{{{logo_width|}}} | {{{logo_width}}} | 300px}}]] }}
{{#if:{{{screenshot|}}}|
{{!}} colspan="2" style="border-top: solid 2px #{{#if:{{{color|}}}| {{{color}}} | ababab }}" {{!}} <br>[[File:{{{screenshot}}}{{!}}center{{!}}{{#if:{{{screenshot_width|}}} | {{{screenshot_width}}} | 200px}}]] {{#if:{{{screenshot_description|}}}|<br>''{{{screenshot_description}}}''
}} }}
|-style="text-align:center"
|-style="text-align:center"
{{#if:{{{termination|}}}|
{{#if:{{{termination|}}}|
{{!}} colspan="2" style="border-top: solid 2px #{{#if:{{{color|}}}| {{{color}}} | ababab }}; border-bottom: solid 2px #{{#if:{{{color|}}}| {{{color}}} | ababab }}" {{!}} ''Platform no longer exists''
{{!}} colspan="2" style="border-top: solid 2px #{{#if:{{{color|}}}| {{{color}}} | 953c50 }}; border-bottom: solid 2px #{{#if:{{{color|}}}| {{{color}}} | 953c50 }};background-color:#f5b6b6" {{!}} <span style="color:#953c50">'''''Platform no longer exists'''''</span>
}}
}}
|-style="text-align:center"
|-style="text-align:center"
{{#if: {{{author|}}} {{{developer|}}} {{{release|}}} {{termination|}}} | ! colspan="2" {{!}} '''Basic data''' }}
{{#if: {{{author|}}} {{{developer|}}} {{{release|}}} {{{termination|}}} | ! colspan="2" {{!}} '''Basic data''' }}
|-
|-
{{#if:{{{author|}}}|
{{#if:{{{author|}}}|
Line 164: Line 177:
}}
}}
|-style="text-align:center"
|-style="text-align:center"
{{#if:{{{repository|}}} {{{language|}}} {{{license|}}} {{{documentation|}}} {{documentation_api|}}} | ! colspan="2" {{!}} '''Further data''' }}
{{#if:{{{repository|}}} {{{language|}}} {{{license|}}} {{{documentation|}}} {{{documentation_api|}}} | ! colspan="2" {{!}} '''Further data''' }}
|-
|-
{{#if:{{{repository|}}}|
{{#if:{{{repository|}}}|
Line 221: Line 234:
|}
|}
<includeonly>
<includeonly>
{{#if:{{{termination|}}}| {{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Former fediverse projects]]}} | {{#ifeq:{{NAMESPACE}}|{{ns:0}}|
[[Category:Fediverse projects]] }}
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:{{PAGENAME}}]] }}
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:{{PAGENAME}}]] }}
}}</includeonly></onlyinclude>
}}</includeonly></onlyinclude>
 
<noinclude>
[[Category:Template]]
{{category |category=Infobox templates}}
</noinclude>

Latest revision as of 18:20, 14 February 2024

This is a template for platform pages.

Warning: This template does not work yet!

usage

For usage paste following data at the begin of an article:

{{Infobox platform
|name=
|short_name=
|abbreviation=
|logo=
|logo_width=
|color=
|screenshot=
|screenshot_width=
|screenshot_description=

|website=
|author=
|developer=
|release=
|termination=

|repository=
|language=
|license=
|documentation=
|documentation_api=
|instances=
|instances_list=
|forum=
|donation=
}}

Note that not all fields must be filled in, but have a default setting on the part of the template already. The other parameters should only be filled in if other representations are explicitly desired. The article page is automatically categorized in Category:Fediverse projects. A manual categorization must not be made.

Explanation of the parameters

parameter explanation example
display parameters
name The name of the fediverse platform. This field can be left empty, in which case the lemma of the user page will be used directly without prefix. mastodon
short_name= A possible short name of the fediverse platform. This field can be left empty.
abbreviation= A possible abbreviation of the fediverse platform. This field can be left empty.
logo= The filename in this wiki without prefix "File:" for the logo of the fediverseplatform. This field can be left empty. Mastodon logo.svg
logo_width= The width of the logo. This field can be left empty, in which case the width is set to 125px. 75px
color= The color code (hexadecimal color definition) without #. This field can be left empty, in which case #ababab will be used directly without prefix. 2791da
Content parameters

Ergebnis

{{Infobox platform
|name=Mastodon
|short_name=mstdn <!-- for testing only -->
|abbreviation=mn <!-- for testing only -->
|logo=Mastodon logo.svg
|logo_width=125px
|color=2791da
|screenshot=Pleroma FE.png
|screenshot_width=300px
|screenshot_description=Screenshot of Pleroma-FE

|website=[https://joinmastodon.org/ joinmastodon.org]
|author=Eugen Rochko ([https://mastodon.social/@Gargron @Gargron]) 
|developer=Mastodon gGmbH 
|release=16 March 2016 
|termination=30 Febraury 2150 <!-- for testing only -->

|repository=[https://github.com/mastodon/mastodon Github]
|language=Ruby on Rails, JavaScript
|license=AGPLv3
|documentation=[https://docs.joinmastodon.org/ docs.joinmastodon.org]
|documentation_api=[https://docs.joinmastodon.org/client/intro/ docs.joinmastodon.org]
|instances=[https://mastodon.social/ mastodon.social] & [https://mastodon.online/ mastodon.online]
|instances_list=[https://joinmastodon.org/communities list]
|forum=[https://discourse.joinmastodon.org/ Discourse]
|donation=[https://patreon.com/mastodon Patreon] & [https://sponsor.joinmastodon.org/ sponsor]
}}


Platforms
Mastodon
mstdn • mn


Screenshot of Pleroma-FE
Platform no longer exists
Basic data
Original author(s) Eugen Rochko (@Gargron)
Developer(s) Mastodon gGmbH
Initial release) 16 March 2016
Termination 30 Febraury 2150
Further data
Repository Github
Written in Ruby on Rails, JavaScript
Documentation docs.joinmastodon.org
API Documentation docs.joinmastodon.org
Termination 30 Febraury 2150
Get connected
Official instances mastodon.social & mastodon.online
List of known instances look here: list
Forum Discourse
Donate Patreon & sponsor
Website joinmastodon.org


}}



Template

Platforms
Infobox platform