This shows you the differences between two versions of the page.
— |
nlp-private:instructions-for-using-the-bibliography-template [2015/04/22 14:46] (current) ryancha created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | Templates are invoked in mediawiki using <nowiki>{{<name of template>}}</nowiki>. Parameters are named and are separated using the pipe character (|) like so: <nowiki>"|<parameter_name>=<parameter>"</nowiki>. Note that usually a pipe immediately follows the template name and each parameter will start on a newline (the pipe comes first). The template we are using is called "Bibliography Entry" and the parameters specific to the bibiliography page are: | ||
+ | * papername: the title of the "pdf" as specified when uploaded | ||
+ | * annotations: the text you want to include (you can use wiki markup) | ||
+ | * bibtexentry: the bibliography entry | ||
+ | |||
+ | For example: | ||
+ | <pre> | ||
+ | {{Bibliography Entry| | ||
+ | |||
+ | |papername=Non-existent paper | ||
+ | |||
+ | |annotations= | ||
+ | *Here is some sample annotation | ||
+ | *<math>f(x)=x^2</math> | ||
+ | |||
+ | |bibtexentry= | ||
+ | @inproceedings={my proceedings, | ||
+ | title="Yet another title", | ||
+ | author="Me" | ||
+ | } | ||
+ | |||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | which would look like this: | ||
+ | |||
+ | {{Bibliography Entry| | ||
+ | |||
+ | |papername=Non-existent paper | ||
+ | |||
+ | |annotations= | ||
+ | *Here is some sample annotation | ||
+ | *<math>f(x)=x^2</math> | ||
+ | |||
+ | |bibtexentry= | ||
+ | @inproceedings={my proceedings, | ||
+ | title="Yet another title", | ||
+ | author="Me" | ||
+ | } | ||
+ | |||
+ | }} | ||
+ | |||
+ | For a working example see [[Classifier Combination for Improved Lexical Disambiguation]]. | ||