Jump to content

模板調用和探索 (Community Wishlist/FA4/zh)

In progress
From Meta, a Wikimedia project coordination wiki
This page is a translated version of the page Community Wishlist/FA4 and the translation is 100% complete.

View all focus areas.

Description

透過模板對話框,貢獻者很難找到並插入模板。

我們將這項工作分為「模板調用」和「模板探索」兩部分,前者幫助新手學習如何使用和尋找模板,後者幫助資深編輯者尋找並插入他們正常使用過的模板。

現階段,我們首先著重於模板調用,其次是模板探索。

自2013年以來,資深志願者要求提供更直觀的模板選擇器,在模板對話框中顯示熱門或最常用的模板。

這與我們的PES 1.3.2 OKR指標息息相關:透過建置改良的模板探索方法,我們將能解決構成本「重點領域」的3個多願望,並能將得出的概念驗證與基金會分享,以規劃年度計畫。

目前的使用者體驗:

當編輯者從wikitext編輯器或視覺化編輯器中點擊「模板」時,模板選擇器為空。這種設計對於想要添加模板的新手,或是必須輸入模板名稱的資深編輯者而言,幫助不大。

一位志願者曾說:

身為初學者,可能需要花半小時才能找到合適的模板;如果模板沒有一個好記的名字(好記是主觀的,不大可能存在人人都容易記住的名字),那麼將來第二次、第三次、第十五次也需要花這半小時。[收藏模板]沒有解決第一次搜尋半小時的問題,但確實能解決往後的問題。

範圍和調查

由於我們希望以迭代方式推出,因此我們限制了這個重點領域的範圍。例如,我們不會考慮全域模板,而是選擇逐步改善模板選擇體驗。

英語維基百科擁有超過60萬個模板,許多維基擁有超過3萬個模板。幫助他人找到正確的模板是一項挑戰。

我們認為下列調用或探索策略可能有用且可行,目前正在考慮中:

  • 建議所在維基中(更好是命名空間中)最熱門/最常使用的模板
  • 顯示您最近使用過的模板
  • 允許使用者「收藏」模板或將模板加入書籤
  • 醒目標示具有描述和良好文件的模板
  • 改進搜尋

我們認為以下「模板調用」或「模板探索」方法可能充滿挑戰,在早期階段不太可行。

  • 依分類篩選模板。英語維基百科上有超過3.3萬個模板分類,而其中包括超過120個「元素同位素」分類。即使是資深編輯者,這些搜尋起來也很麻煩。
  • 各維基的熱門模板。不是每個維基都有相同的「資訊框」或「Sfn」例示。這將很難拓展。
  • 允許本地維基的編輯者配置推薦模板。雖然這符合維基原則,但考慮到模板和模板分類的廣度,要建立可拓展到所有維基的「模板推薦配置」體驗會很麻煩。現階段,我們正在尋求較省力的方案。

社群參與

由於這個重點領域是根據2023年願望清單所建立的,並且在2024年願望清單推出之前就已確定,因此這些願望已經被投票選出,同時我們知道所提出的問題對社群而言十分重要。您可以為這個重點領域投票,也可以留下意見回饋,讓我們知道我們的方向是否正確。

我們目前正處於這項工作的設計階段,我們會在本頁分享最新消息。當然,我們需要並歡迎您提供意見回饋!

設計探索

以下視覺稿展示了如何根據使用者需求來收藏和搜尋模板。這些只是初步探索,我們歡迎任何意見回饋。

設計更新(2025年3月19日)

繼上次的設計更新後,團隊縮小了「模板調用和探索」首發功能的範圍。模板可以直接從兩處——搜尋結果和插入對話框中加入至收藏清單。當模板從收藏清單中移除時,將可從確認訊息框中撤消,以防意外移除。此外,還可在調整模板參數時將模板加入收藏。

以下是一些最新更新設計的視覺稿:

註:UI文案/本地化並非最終版本,發布前可能會有更多變更。

一樣,我們歡迎任何意見回饋。

設計更新(2025年6月17日)

早期的設計探索圍繞著基於分類的模板搜尋。目前搜尋範圍有限,只能在5個子分類深的範圍內搜尋關鍵字。透過指定和選擇相關分類,搜尋將能夠顯示更多結果。

歡迎在這份問卷調查(共4題)分享您對設計的意見回饋。

以下是一些最新設計探索的視覺稿:

Other details
  • Created: 21:02, 4 September 2024
  • Last updated: 17:10, 25 February 2026
Wishes in this focus area
Below is a list of wishes that have informed this focus area. More wishes may be added to this table over time. Voting for the focus area is not a guarantee that each wish will be explicitly delivered; rather, the wishes are suggestive of the problem at large. Once a focus area is adopted, the respective team will work alongside communities to prioritize and deliver on the most impactful solutions.
Teams and affiliates
Owners
Community members
Voting

This focus area currently has 43 supporters. Voting for this focus area is open until it is completed.

Supporters of this area
Support Templates are one of the most challenging areas for our editors to access and edit. Support all improvements here, and even as an advanced editor I frequently have to search documentation, or even the name of a template Shushugah (talk) 12:16, 10 September 2024
Support Elilopes (talk) 16:08, 10 September 2024
Support Femke (talk) 18:31, 11 September 2024
Support HouseBlaster (talk) 21:31, 13 September 2024
Support Renamed user 5cb535d47ac833448f09633576bf74ba (talk) 09:53, 14 September 2024
Support I think allowing communities to de fine a list of most useful templates would be better than automatically generating a list of most-used templates. Escargot bleu (talk) 10:46, 14 September 2024
Support Sjoerddebruin (talk) 16:21, 14 September 2024
Support Mir Novov (talk) 07:51, 15 September 2024
Support Plutus (talk) 09:41, 15 September 2024
Support Rexogamer (talk) 13:16, 15 September 2024
Support from Tech/News/2024/38 ToBeFree (talk) 00:08, 17 September 2024
Support Nux (talk) 00:16, 17 September 2024
Support Goombiis (talk) 09:49, 17 September 2024
Support Nclm (talk) 09:49, 17 September 2024
Support أيوب (talk) 18:43, 17 September 2024
Support DonBarredora (talk) 16:48, 20 September 2024
Support 2NumForIce (talk) 07:26, 21 September 2024
Support Fabius Lector (talk) 09:38, 24 September 2024
Support FifthFive (talk) 13:00, 24 September 2024
Support Swatjester (talk) 00:57, 26 September 2024
Support Hakimi97 (talk) 12:22, 26 September 2024
Support Samoasambia (talk) 12:20, 1 October 2024
Support This is an excellent idea! PhotographerTom (talk) 15:46, 9 October 2024
Support Chinmayee Mishra (talk) 15:12, 31 October 2024
Support Andikan Efiok Eduok (talk) 15:16, 31 October 2024
Support This is a massive problem on Wiktionary, which is a very template-heavy project. What's worse, Wiktionary doesn't use VisualEditor and is still reliant on the 2010 wikitext editor as the default for newcomers. The learning curve is ... not gentle. This, that and the other (talk) 11:35, 9 January 2025
Support James3141592 (talk) 19:21, 27 January 2025
Support Rots61 (talk) 23:42, 30 January 2025
Support Have edited long enough to know the templates I need, mostly, but it would be nice to be able to access "citation needed" (which is probably the most commonly used template) more quickly Mrfoogles (talk) 20:02, 7 February 2025
Support Paloi Sciurala (talk) 01:57, 3 March 2025
Support PexEric (talk) 08:51, 21 March 2025
Support While not an actual "pain point," it would certainly be a quality of life enhancement to reduce the amount of time I spend scratching my head and thinking, "Gee, I know there's a template exactly for this, now if only I could remember its name…" RogueScholar (talk) 21:50, 7 May 2025
Support Mohammed Qays (talk) 22:48, 14 May 2025
Support I think that this is going to be really useful Abo Yemen (talk) 14:17, 25 May 2025
Support Runolist (talk) 13:23, 26 June 2025
Support Tiloudeux (talk) 14:27, 26 June 2025
Support RiadS99 (talk) 17:57, 2 July 2025
Support Support Support De-Invincible (talk) 06:19, 15 July 2025
Support Rasputin 93 (talk) 23:06, 23 July 2025
Support If the display includes popularity stats, please ensure there is an option to turn them off GhostInTheMachine (talk) 07:02, 29 July 2025
Support Red Sneak (talk) 14:03, 18 February 2026
Support I always have problems finding a template let alone how to use them; an index would help Il tulipano grigio (talk) 13:03, 22 May 2026
Support Searching for templates is an advanced memory challenge to remember the exact phrasing used, since synonyms offer no help Superb Owl (talk) 16:18, 29 May 2026