
內容簡介
Wikilookup 允許您輕鬆地添加來自維基百科(和其他維基)的彈出窗口和信息卡到您的文章中。
功能
輕鬆標記帖子中的單詞和術語,以從維基百科文章中彈出信息
輕鬆在您的帖子和頁面中添加一個樣式化的卡片,顯示維基百科文章中的信息
從多種語言的維基百科中選取,並指定博客內容的默認語言
輕鬆從其他維基中提取信息,例如專門的維基和遊戲維基
強大的設置允許您控制彈出窗口和卡片的文本和一般行為
支持顯示從右到左的語言內容
用法
該插件提供了兩個部分:一個彈出窗口和一個“卡片”或靜態海報,來自MediaWiki軟件的維基百科或其他維基。
添加彈出窗口
要添加彈出窗口,在編輯帖子時,用 [wikipopup] 短碼將文本包圍起來。如果您已經設置了其他來源,則可以引用語言或不同的源。
例如:
– [wikipopup]WordPress[/wikipopup] – 顯示關於文章“WordPress”的英文維基百科彈出窗口。
– [wikipopup title="WordPress"]This is some text[/wikipopup] – 顯示關於文章“WordPress”的英文維基百科彈出窗口,而觸發文本是“This is some text”。
– [wikipopup title="WordPress" source="ext"]This is some text[/wikipopup] – 顯示來自您已定義為“ext”的外部來源的“WordPress”文章的維基百科彈出窗口,而觸發文本為“This is some text”。
您可以在“設置 -> Wikilookup -> 外部維基”中定義來源。
添加卡片
在編輯帖子時,要添加卡片,請添加帶有 [wikicard title="term"] 的行。如果您已經設置了其他來源,則可以引用語言或不同的源。
例如:
– [wikicard title="WordPress"] – 顯示來自英文維基百科的有關文章“WordPress”的靜態卡片。
– [wikicard title="WordPress" lang="es"] – 顯示來自西班牙文維基百科的有關文章“WordPress”的靜態卡片。
– [wikicard title="WordPress" source="ext"] – 顯示來自您已經定義為“ext”的外部來源的“WordPress”文章的靜態卡片。
您可以在“設置 -> Wikilookup -> 外部維基”中定義來源。
設置
您可以在儀表板 -> Wikilookup 中找到設置頁面。
語言
此插件提供英文
此插件提供希伯來文版本
翻譯此插件
此插件由社區翻譯。請幫助翻譯!
基本的翻譯文件為languages/wikilookup.pot,文本域為wikilookup。
開發
此插件的代碼可在GitHub上進行開發。歡迎參與!
外掛標籤
開發者團隊
原文外掛簡介
Wikilookup allows you to easily add popups and info cards from Wikipedia (and other wikis) to your posts.
Features
Easily mark words and terms in your posts to pop information from Wikipedia articles
Easily add a stylized card in your post and pages that displays information from Wikipedia article
Pull from multiple language Wikipedias and dictate the default language for your blog content
Pull information from other wikis easily, like specialized wikis and game wikis
Robust settings allowing you to control the text and general behavior of the popups and cards
Support displaying content in Right to Left languages
Usage
This plugin offers two pieces: a popup, and a ‘card’, or a static poster, from Wikipedia or other wikis that operate on MediaWiki software.
Adding popups
To add a popup, while editing a post, surround your text with [wikipopup] shortcode. You can reference a language or a different source, if you’ve set one up.
For example:
– [wikipopup]WordPress[/wikipopup] – Displays a popup from English Wikipedia about the article “WordPress”
– [wikipopup title="WordPress"]This is some text[/wikipopup] – Displays a popup from English Wikipedia about the article “WordPress”, while the trigger text is ‘This is some text’
– [wikipopup title="WordPress" source="ext"]This is some text[/wikipopup] – Displays a popup from the external source you’ve defined as “ext”, about the article “WordPress”, while the trigger text is ‘This is some text’
You can define sources in “Settings -> Wikilookup -> External wikis”.
Adding cards
To add a card, while editing a post, add a line with [wikicard title="term"]. You can reference a language or a different source, if you’ve set one up.
For example:
– [wikicard title="WordPress"] – Displays a static card from English Wikipedia about the article “WordPress”.
– [wikicard title="WordPress" lang="es"] – Displays a static card from Spanish Wikipedia about the article “WordPress”.
– [wikicard title="WordPress" source="ext"] – Displays a static card from the external source you’ve defined as “ext”, about the article “WordPress”.
You can define sources in “Settings -> Wikilookup -> External wikis”.
Settings
You can find the settings page in your Dashboard -> Wikilookup.
Languages
This plugin is available in English
התוסף זמין בשפה העברית
Translate this plugin
This plugin is community translated. Please help translate it!
The base translation file is languages/wikilookup.pot and the textdomain is wikilookup.
Development
The code for this plugin is available on github for development. Please feel free to participate!
