Template:Project small: Difference between revisions

From Join the Fediverse
mNo edit summary
m (Text replacement - "Internal Link" to "Internal link")
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable"
|-
|-
| <onlyinclude>style="background:#{{{hex}}};vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}" class="table-{{{Project}}}" |  
|<onlyinclude>style="background:#{{{hex}}};vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}" class="table-{{{Project}}}"|{{#ifeq:{{{missing}}}|yes|[[File:Fediverse logo missing.svg|20x20px]]|{{#ifeq: {{{color}}}|white|[[File:{{{Project}}} white.svg|20x20px]]|[[File:{{{Project}}}.svg|20x20px]]}}}} {{Internal link |target=What is {{{Project}}}? |link-name=<span style="color:{{{color}}};">{{{Project}}}</span>}}</onlyinclude>
 
|}
 
{{category |category=Templates for templates}}
 
{{#ifeq: {{{color}}} | white |
{{#ifexist: File:{{{Project}}} white.svg| [[File:{{{Project}}} white.svg|20px]] |
{{#ifexist: File:{{{Project}}}.svg| [[File:{{{Project}}}.svg|20px]] | [[File:Fediverse logo missing.svg|20px]]
}} |
{{#ifexist: File:{{{Project}}}.svg| [[File:{{{Project}}}.svg|20px]] | [[File:Fediverse logo missing.svg|20px]]
}}
}}
}}
 
 
[[Special:MyLanguage/What is {{{Project}}}?|<span style="color:{{{color}}};">{{{Project}}}</span>]]}}}</onlyinclude>
 


Example:
{| class="wikitable"
|-
|{{Mastodon}}
|}
|}
[[Category:Template]]

Latest revision as of 20:11, 14 February 2024

style="background:#{{{hex}}};vertical-align:middle;text-align:center;" class="table-{{{Project}}}"|[[File:{{{Project}}}.svg|20x20px]] [[What is {{{Project}}}?|{{{Project}}}]]


Example:

Mastodon