14,982
edits
m (→使用情境) |
|||
| Line 55: | Line 55: | ||
* 語法支援: {{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}} '''有'''支援該變數語法。 | * 語法支援: {{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}} '''有'''支援該變數語法。 | ||
== Make Link Options == | == Make Link Options / Create Link Formats == | ||
=== | === Plain Text syntax === | ||
<pre> | |||
(default settings) %text% <%url%> | |||
(my modification) %text% %url% | |||
</pre> | </pre> | ||
=== | === HTML syntax === | ||
* [https://addons.mozilla.org/en-US/firefox/addon/make-link/ Make Link] for {{Fx}}: 選項需要勾選「視為 HTML 元素」 | |||
<pre> | |||
(default settings) <a href="%url%">%text%</a> | |||
(open link in the new window or tab) <a href="%url%" title="%text%" target="_blank" rel="nofollow">%text%</a> | |||
(open link in the same window or tab) <a href="%url%" title="%text%" rel="nofollow">%text%</a> | |||
</pre> | |||
* [https://chrome.google.com/extensions/detail/gcmghdmnkfdbncmnmlkkglmnnhagajbm Create Link] for {{Chrome}}: | |||
<pre> | |||
(default settings) <a href="%url%">%htmlEscapedText%</a> | |||
(open link in the new window or tab) <a href="%url%" title="%text%" target="_blank" rel="nofollow">%htmlEscapedText%</a> | |||
(open link in the same window or tab) <a href="%url%" title="%text%" rel="nofollow">%htmlEscapedText%</a> | |||
</pre> | |||
參考資料: | |||
* HTML (Use HTML Entities) ([http://www.w3.org/TR/html401/struct/links.html HTML 4.01], XHTML 1.0 transitional): | |||
* [http://www.w3.org/TR/xhtml1/ XHTML 1.0] strict [http://www.sitepoint.com/article/standards-compliant-world] | |||
=== MarkDown syntax === | |||
* MarkDown links[http://markdown.tw/]: | |||
<pre> | |||
[%text%](%url%) | |||
</pre> | |||
=== Forum syntax === | |||
* Forum Code ([http://www.phpbb.com/community/faq.php?mode=bbcode#f40 BBCode guide]): | |||
<pre> | |||
[url=%url%]%text%[/url] | |||
</pre> | |||
=== Wiki syntax === | |||
* Wiki Syntax of Wikipedia or mediawiki sites([http://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style_%28links%29#External_links Manual]): <pre>[%url% %text%]</pre> | * Wiki Syntax of Wikipedia or mediawiki sites([http://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style_%28links%29#External_links Manual]): <pre>[%url% %text%]</pre> | ||
* [[DokuWiki]] Wiki Syntax ([http://www.wikicreole.org/wiki/Creole0.6#section-Creole0.6-LinksInternalAndExternal Creole 0.6 compatible]): <pre>[[%url% | %text%]]</pre> | * [[DokuWiki]] Wiki Syntax ([http://www.wikicreole.org/wiki/Creole0.6#section-Creole0.6-LinksInternalAndExternal Creole 0.6 compatible]): <pre>[[%url% | %text%]]</pre> | ||
| Line 77: | Line 105: | ||
** with published date -- <pre>Author (Year). %text%. Retrieved from %url%</pre> | ** with published date -- <pre>Author (Year). %text%. Retrieved from %url%</pre> | ||
** without published date --<pre>Author (n.d.). %text%. Retrieved from %url%</pre> | ** without published date --<pre>Author (n.d.). %text%. Retrieved from %url%</pre> | ||
=== Excel link syntax === | |||
* 在 [https://www.google.com.tw/intl/zh-TW/sheets/about/ Google 試算表] ([https://support.google.com/docs/answer/3093313?hl=zh-Hant&rd=1 HYPERLINK]) 或 Microsoft Excel 的儲存格內建立超連結 ([https://support.office.com/zh-tw/article/HYPERLINK-%E5%87%BD%E6%95%B8-333c7ce6-c5ae-4164-9c47-7de9b76f577f HYPERLINK 函數]): | |||
<pre> | |||
=HYPERLINK("%url%", "%text%") | |||
</pre> | |||
=== other syntax === | === other syntax === | ||
* [http://www.plurk.com/ Plurk][http://s8726319.pixnet.net/blog/post/18592491 語法]: <pre>%url% (%text%)</pre> | * [http://www.plurk.com/ Plurk][http://s8726319.pixnet.net/blog/post/18592491 語法]: <pre>%url% (%text%)</pre> | ||