內容簡介
這個外掛可以讓你在文章中添加參考資料和引用。這只是測試版本,如果你發現任何問題或認為缺少某些功能,請聯繫我。
要使用它,只需使用一個短代碼(默認為“jref”)和一些屬性添加參考資料,屬性一律使用小寫:
標題(必填)
作者
日期
網址
編輯
頁數
語言
閱讀時間
這些屬性內容沒有特定的控制,你可以添加任何文本。只有“標題”是必填的。所有屬性的作用都很容易理解;“頁數”是為書籍(但也可以用於任何內容),而“閱讀時間”是你最後一次查閱參考資料的日期。
在這個版本中,屬性內容並沒有觸發特定的控制或操作(例如驗證格式或連接至存檔網站)。也許在未來的版本中會有更改...
所有參考資料的列表將添加在文章的末尾。
以下是一些範例:
[jref]url=http://geba.fr|date=janv 2017|title=The Title.|author=Janiko|lang=FR|editor=geba.fr|page=p.5[/jref]
[jref name='numref']url=http://geba.fr|date=janv 2017|title=The Title.|author=Janiko|lang=FR|editor=geba.fr|page=p.5[/jref]
[jref name='numref' /]
你可以選擇性地為引用添加一個名稱,以便在文章中重複使用。重要提示:顯示的屬性將是具有相同名稱的第一個引用的屬性。其他屬性將被忽略。
外掛標籤
開發者團隊
原文外掛簡介
This plugin allows references and citations in your posts. It’s only a beta version, so if you find issues or if you think it lacks some features, please contact me.
To use it, simply add your reference using a shortcode you can choose (‘jref’ by default), and a few attributes (always use lowercase):
title (mandatory)
author
date
url
editor
page
lang
readon
There are no specific controls on the content of those attributes, you may add any text you want. Only ‘title’ is mandatory. All attributes roles are easy to understand; ‘page’ is for a book (but can be used for any content), ‘readon’ is the date you last consult the reference.
Again, in this first release, there’s no specific control or action triggered by attribute’s content (like verifying the format, or linking to an archive site). Maybe in a future release…
A list of all references will be added at the end of the post.
Here are some examples:
[jref]url=http://geba.fr|date=janv 2017|title=The Title.|author=Janiko|lang=FR|editor=geba.fr|page=p.5[/jref]
[jref name=’numref’]url=http://geba.fr|date=janv 2017|title=The Title.|author=Janiko|lang=FR|editor=geba.fr|page=p.5[/jref]
[jref name=’numref’ /]
You can optionnaly add a name to the citation, so you can reuse it in your post. Important note: the displayed attributes will be the attributes of the FIRST reference with that name. Any other attribute will be ignored.
