Editing
Make Link
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== 變數說明 == %text% * 鏈結的情境:鏈結的文字 * 選取文字的情境:選取的文字 * 頁面的情境:網頁的'''標題''' (通常顯示在瀏覽器最上方的標題列: title)。如果網頁是採用頁框結構(frame),將只會取最上層的標題資訊。 %text_n%, %text_br% * 鏈結的情境:鏈結的文字。 同%text% * 選取文字的情境:%text_br% 選取的文字中若有換行符號,則會插入<nowiki><br /></nowiki>符號。 (實際測試時XP, %text_n%並未插入\n) * 頁面的情境:網頁的'''標題'''。 同%text% %url% * 鏈結的情境:鏈結的網址 * 選取文字或頁面的情境:目前瀏覽網頁的網址 %title% * 鏈結的情境:鏈結的提示語。當滑鼠移動到鏈結上方不動時,會顯示的提示語(tool-tip text)。 * 選取文字的情境:目前瀏覽網頁的'''標題''' * 頁面的情境:網頁資訊的描述欄位。網頁標頭的 <META HTTP-EQUIV="Description" CONTENT="描述文字">,不過測試時,無法順利顯示。 %input% * 跳出輸入對話框,手動輸入文字 %imgurl% * 如果你在圖片上方按右鍵,該變數會擷取該圖片的網址。 %tinyurl% ''(實驗性功能)'' * 透過[http://durl.us/ durl.us]或 TinyURL 的縮短網址服務。由於是實驗性功能,所以複製到剪貼本時可能會失敗。建議相隔一秒鐘,來產生網頁的縮短網址。 * 語法支援: {{exclaim}} [https://addons.mozilla.org/en-US/firefox/addon/make-link/ Make Link] for {{Fx}} '''有'''支援該語法,但是 [https://chrome.google.com/extensions/detail/gcmghdmnkfdbncmnmlkkglmnnhagajbm Create Link] for {{Chrome}} '''沒有'''支援 %newline% * 換行符號 (\n) * 語法支援: {{exclaim}} [https://addons.mozilla.org/en-US/firefox/addon/make-link/ Make Link] for {{Fx}} '''沒有'''支援該語法,但是 [https://chrome.google.com/extensions/detail/gcmghdmnkfdbncmnmlkkglmnnhagajbm Create Link] for {{Chrome}} '''有'''支援 %htmlEscapedText% * 編碼網頁 & < > ' " 五種特殊字元。 (1) & → &amp; (2) < → &lt; (3) > → &gt; (4) ' → &apos; (5) " → &quot; * 語法支援: {{exclaim}} [https://addons.mozilla.org/en-US/firefox/addon/make-link/ Make Link] for {{Fx}} '''沒有'''支援該語法,輸入 %text% 但是選項需要勾選「視為 HTML 元素」,則可處理(& < > " 四種字元) 。 [https://chrome.google.com/extensions/detail/gcmghdmnkfdbncmnmlkkglmnnhagajbm Create Link] for {{Chrome}} '''有'''支援該變數語法。
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
Tools
What links here
Related changes
Special pages
Page information