Cithakan:Plain sister: Béda antarané révisi

75 bèt wis ditambahake ,  8 taun kepungkur
add option for a wikidata search (and remove redundant "only create box if parameters are called" element)
(Lua migration of links to sister projects with fallback to Wikidata for all projects supported yet. See Module:Plain sister)
(add option for a wikidata search (and remove redundant "only create box if parameters are called" element))
--><ul id="plainSister" style="display:inline-block; font-size:90%; list-style-type:none; list-style-image:none; list-style-position:outside; border:1px #aaa solid; float:right; clear:right; margin:0.0ex 0.0ex 0.5ex 0.5ex; padding:0.0ex 0.0ex 0.0ex 0.0ex; background:#fff; background-color:#fff;"><!--
<!--
 
--><!--
 
Only show the box if at least one parameter is called
-->{{#if:<!--
-->{{{disambiguation|}}}<!--
-->{{{edition|}}}<!--
-->{{{portal|}}}<!--
-->{{{related_author|}}}<!--
-->{{{wikipedia|}}}<!--
-->{{{commons|}}}<!--
-->{{{commonscat|}}}<!--
-->{{{wikiquote|}}}<!--
-->{{{wikinews|}}}<!--
-->{{{wiktionary|}}}<!--
-->{{{wikibooks|}}}<!--
-->{{{wikiversity|}}}<!--
-->{{{wikispecies|}}}<!--
-->{{{wikivoyage|}}}<!--
-->{{{wikidata|}}}<!--
-->{{{wikilivres|}}}<!--
-->{{{meta|}}}<!--
 
-->|<!--
 
--><!--
 
--><ul id="plainSister" style="display:inline-block; font-size:90%; list-style-type:none; list-style-image:none; list-style-position:outside; border:1px #aaa solid; float:right; clear:right; margin:0.0ex 0.0ex 0.5ex 0.5ex; padding:0.0ex 0.0ex 0.0ex 0.0ex; background:#fff; background-color:#fff;"><!--
 
Only show disambiguation text if the disambiguation parameter is called
-->{{#invoke:Plain sister|interprojetPart}}<!--
 
Only show wikidatasearch if the wikidataswitch parameter is called (ie. if the switch is "turned on")
--></ul><!--
-->{{#if:{{{wikidataswitch|}}}<!--
 
-->|<!--
 
Only show wikidata search if not connected to that project already
-->{{#ifeq:{{#invoke:Wikibase|id}}|(no item connected)<!--
 
-->|<!--
 
Begin wikidata search content
--><li class="sisitem"><span class="sisicon" style="padding-right:1ex;">[[File:Wikidata-logo.svg|frameless|17px|link=Wikisource:Wikidata|alt=Wikidata.]]</span>[[Wikidata:Special:Search/{{PAGENAME}}|Search Wikidata]].</li><!--
 
End of wikidata search #ifeq
-->{{{edition|}}}<!--
 
End of wikidata switch
-->{{#if:}}<!--
 
-->}}</ul><noinclude>{{documentation}}
End of overall #if
-->}}<noinclude>{{documentation}}
</noinclude>
0

besutan