Template:Infobox platform: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 35: | Line 35: | ||
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. | 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: | The article page is automatically categorized in Category:Fediverse projects. A manual categorization must ''not'' be made. | ||
== Explanation of the parameters == | == Explanation of the parameters == | ||
Line 74: | Line 74: | ||
==Ergebnis== | ==Ergebnis== | ||
<pre></pre> | <pre>{{Infobox Platform | ||
|name=Mastodon | |||
|short_name=mstdn <!-- for testing only --> | |||
|abbreviation=mn <!-- for testing only --> | |||
|logo=Mastodon logo.png | |||
|logo_width=125px | |||
|color=2791da | |||
|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] | |||
}}</pre> | |||
</noinclude> | </noinclude> | ||
{{Infobox Platform | |||
|name=Mastodon | |||
|short_name=mstdn <!-- for testing only --> | |||
|abbreviation=mn <!-- for testing only --> | |||
|logo=Mastodon logo.png | |||
|logo_width=125px | |||
|color=2791da | |||
|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] | |||
}} | |||
Line 84: | Line 132: | ||
{| 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="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}}} • }}{{{abbreviation}}}</span> | | 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}}} • }}{{#if: {{{abbreviation|}}} | {{{abbreviation}}}}}</span> | |||
|-style="text-align:center" | |-style="text-align:center" | ||
{{#if:{{{logo|}}} | {{!}} colspan="2" {{!}} [[File:{{{logo}}}{{!}}center{{!}}{{#if:{{{logo_width|}}} | {{{logo_width}}} | 300px}}]] }} | {{#if:{{{logo|}}} | {{!}} colspan="2" {{!}} [[File:{{{logo}}}{{!}}center{{!}}{{#if:{{{logo_width|}}} | {{{logo_width}}} | 300px}}]] }} | ||
|- style="text-align:center" | |-style="text-align:center" | ||
{{#if:{{{termination|}}}| | {{#if:{{{termination|}}}| | ||
{{!}} colspan="2" style="border-top: solid 2px #{{#if:{{{color|}}}| {{{color}}} | ababab }}" {{!}} ''Platform no longer exists'' | {{!}} colspan="2" style="border-top: solid 2px #{{#if:{{{color|}}}| {{{color}}} | ababab }}; border-bottom: solid 2px #{{#if:{{{color|}}}| {{{color}}} | ababab }}" {{!}} ''Platform no longer exists'' | ||
}} | }} | ||
|-style="text-align:center" | |-style="text-align:center" | ||
Line 171: | Line 221: | ||
|} | |} | ||
<includeonly> | <includeonly> | ||
{{#if:{{{termination|}}}| {{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Former | {{#if:{{{termination|}}}| {{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Former fediverse projects]]}} | {{#ifeq:{{NAMESPACE}}|{{ns:0}}| | ||
[[Category: | [[Category:Fediverse projects]] }} | ||
}}</includeonly></onlyinclude> | }}</includeonly></onlyinclude> | ||
[[Category:Template]] | [[Category:Template]] |
Revision as of 15:21, 6 January 2022
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= |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.png
|
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. | mastodon
|
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.png |logo_width=125px |color=2791da |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] }}
Template
Platforms Infobox platform | |
---|---|
Basic data | |
Further data | |