For faster navigation, this Iframe is preloading the Wikiwand page for Template talk:維基數據人物明細.

Template talk:維基數據人物明細

表達錯: 未預料嘅 < 運算符歲[編輯]

孔子这页出错呀喂。--⼥⼉ (傾偈) 2019年10月15號 (二) 00:33 (UTC)[回覆]

我想問下nickname嘅維基數據人物明細係咩野呢? 210.6.254.71(討論) 2020年4月30號 (四) 11:07 (UTC)[回覆]

d:Property:P1449Shinjiman 2020年5月1號 (五) 00:43 (UTC)[回覆]

顯示一張相就夠[編輯]

唔知技術上可唔可行,如果d:Property:P18有多過一個數值,最好限制住只係用第一個,唔使用晒全部。--Kowlooner (傾偈) 2020年7月19號 (日) 15:19 (UTC)[回覆]

@Kowlooner唔肯定。但係我建議嘅做法係用 Wikidata 裏面 rank 嗰個功能處理,因爲唔用 rank 嘅話,如果 P18 有多過一張相,冇資訊俾個模決定揀邊張。而如果得一張有 preferred rank 嘅話,就只會出嗰一張。翹仔 (傾偈) 2020年7月20號 (一) 20:56 (UTC)[回覆]
P18多過一張相嘅情況,好多時都無填 rank ,如果要睇 rank 先至識揀相,都幾濕滯。--Kowlooner (傾偈) 2020年7月26號 (日) 13:21 (UTC)[回覆]
但係冇 rank 就冇「揀一張相」嘅功能。因爲啲 value 攞出嚟嘅時候理論上係一個 unordered list。Wikidata 介面上面有排序係 Wikidata 網頁版嘅功能,唔係 Wikidata 本身啲數據入面儲存嘅。翹仔 (傾偈) 2020年7月26號 (日) 17:24 (UTC)[回覆]

@KowloonerDeryck Chan留意到無論係英維嘅Template:Infobox person/Wikidata,定係Commons嘅Template:Wikidata Infobox,都做到(P18 有多過一張相情況下)只顯示一幅。不過我頭先照搬英維有關image段碼試,係失敗嘅。對呢方面比較熟嘅朋友不妨研究一下。--Kwgulden (傾偈) 2021年2月20號 (六) 16:10 (UTC)[回覆]

@Kwgulden你用邊篇文嚟試?我想搵個 test case。翹仔 (傾偈) 2021年2月20號 (六) 19:09 (UTC)[回覆]
而家喺Template:維基數據人物明細/sandbox嗰個版本應該做到你想要嘅效果,你試下。翹仔 (傾偈) 2021年2月20號 (六) 23:18 (UTC)收返。翹仔 (傾偈) 2021年2月20號 (六) 23:20 (UTC)又好似成功。翹仔 (傾偈) 2021年2月20號 (六) 23:28 (UTC)[回覆]
多謝兩位。我用愛因斯坦Special:邊度鏈去呢版/Template:維基數據人物明細第一篇文)試預覽,真係由兩張相變返一張相,暫時睇唔到有其他問題。--Kowlooner (傾偈) 2021年2月21號 (日) 11:37 (UTC)[回覆]
{{bottomLinkPreText}} {{bottomLinkText}}
Template talk:維基數據人物明細
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?