Template:Infobox platform: Difference between revisions

m
Text replacement - "Infobox Platform" to "Infobox platform"
(add three more parameters: screenshot, screenshot_width, screenshot_description)
m (Text replacement - "Infobox Platform" to "Infobox platform")
 
(9 intermediate revisions by the same user not shown)
Line 8: Line 8:


<pre>
<pre>
{{Infobox Platform
{{Infobox platform
|name=
|name=
|short_name=
|short_name=
Line 62: 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=
Line 77: 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
Line 105: Line 105:
}}</pre>
}}</pre>


{{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
Line 139: 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"
|-style="text-align:center"
{{#if:{{{logo|}}} | {{!}} colspan="2" {{!}} [[File:{{{logo}}}{{!}}center{{!}}{{#if:{{{logo_width|}}} | {{{logo_width}}} | 125px}}]] }}
{{#if:{{{logo|}}} | {{!}} colspan="2" {{!}} [[File:{{{logo}}}{{!}}center{{!}}{{#if:{{{logo_width|}}} | {{{logo_width}}} | 125px}}]] }}
Line 155: Line 155:
}}
}}
|-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 177: 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 234: 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>