User:Brainulator9/Sandbox: Difference between revisions

Content deleted Content added
m oops
more testing
Line 2:
 
=[[Template:Active Wikimedia project item]]=
<onlyinclude><span style="white-space:nowrap">[[{{lc:{{{1|}}}}}:{{lc:{{{2|}}}}}:{{{3|}}}|<span title="{{#switch:{{lc:{{{2|}}}}}|ru-sib=Siberian|tlh=Klingon|tokipona=Toki Pona|#default={{#language:{{{2|}}}|en}}}}"><bdi class="autonym" lang="{{BCP47|{{{2|}}}}}">{{#switch:{{lc:{{{2|}}}}}|ru-sib=Siberian|tlh=Klingon|tokipona=Toki Pona|#default={{#language:{{{2|}}}}}}}</bdi></span>]] <small>(<tt>{{lc:{{{2|}}}}}</tt>)</small> '''·'''</span></onlyinclude>
 
=[[Template:Active Wikimedia project item/doc]]=
This template gives a link to a given Wikimedia project in any accepted language. The link's text is the name of the language in that language, while hovering over the link gives the name of the link in English (this may be changed so it matches the page/user's language instead). It is followed by smaller text containing the language's code and then an interpunct to join other entries together.
 
==Parameters==
This template takes in three parameters, all unnamed:
*The first parameter takes in the '''project code'''. See [[Help:Interwiki linking]] for more information. If left blank, the template will not work as intended. '''This may be changed so that it defaults to having no effect, much like how [[w:en:]] and [[en:]] work the same on Meta-Wiki.'''
Line 86 ⟶ 87:
|-
|}
__NOTOC__