词条 | Module:Sandbox/Was a bee/getLinkedName/doc |
释义 |
Retrieving text from Wikidata and formatting it in wiki-linked style. Algorithm of this module is as follows.
Usage{{#invoke:Sandbox/Was a bee/getLinkedName|getLinkedName|QID}} ExamplesCase 1: Sitelink exists
{{#invoke:Sandbox/Was a bee/getLinkedName|getLinkedName|Q42}}
Case 2: Sitelink exists but which has disambiguation brackets
{{#invoke:Sandbox/Was a bee/getLinkedName|getLinkedName|Q6258348}}
Case 3: Sitelink doesn't exist but label exists
{{#invoke:Sandbox/Was a bee/getLinkedName|getLinkedName|Q23366230}}
Case 4: Both sitelink and label doesn't exist
{{#invoke:Sandbox/Was a bee/getLinkedName|getLinkedName|Q11485627}}
Parametersalias{{Para|alias}} parameter specifies text shown as alias without changing the link target.
{{#invoke:Sandbox/Was a bee/getLinkedName|getLinkedName|Q30}} {{#invoke:Sandbox/Was a bee/getLinkedName|getLinkedName|Q30|alias=US}}
}} |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。