Template:Infobox platform: Difference between revisions
add three more parameters: screenshot, screenshot_width, screenshot_description
No edit summary |
(add three more parameters: screenshot, screenshot_width, screenshot_description) |
||
Line 15: | Line 15: | ||
|logo_width= | |logo_width= | ||
|color= | |color= | ||
|screenshot= | |||
|screenshot_width= | |||
|screenshot_description= | |||
|website= | |website= | ||
Line 62: | Line 65: | ||
|- | |- | ||
|logo_width= | |logo_width= | ||
| The | | The width of the logo. This field can be left empty, in which case the width is set to 125px. | ||
|{{ic| | |{{ic|75px}} | ||
|- | |- | ||
|color= | |color= | ||
Line 81: | Line 84: | ||
|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 98: | Line 104: | ||
|donation=[https://patreon.com/mastodon Patreon] & [https://sponsor.joinmastodon.org/ sponsor] | |donation=[https://patreon.com/mastodon Patreon] & [https://sponsor.joinmastodon.org/ sponsor] | ||
}}</pre> | }}</pre> | ||
{{Infobox Platform | {{Infobox Platform | ||
Line 108: | Line 112: | ||
|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 136: | Line 145: | ||
! 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> | ! 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}}} | | {{#if:{{{logo|}}} | {{!}} colspan="2" {{!}} [[File:{{{logo}}}{{!}}center{{!}}{{#if:{{{logo_width|}}} | {{{logo_width}}} | 125px}}]] }} | ||
|-style="text-align:center" | |||
{{#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}}} | | {{!}} 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" |