lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

I am very new to lua programming but I'd like to write citation modules on my Wiki (e.g., see http://health-and-medicine.wikia.com/wiki/Module:Citation/CS1 which I copy-pasted from the English Wikipedia but is giving script errors) and I'd like to know if yas know any free introductions to lua programming for Wikia sites. It would also help if someone could write me a simple lua module that could be rendered as (where each variable appears as it is entered into the module.):

last1, first1; last2, first2; last3, first3; ...; last(n), first(n) (date). "title". journal. volume (issue): pages. doi:doi. PMC pmc. PMID pmid.

Where underlined fields are the identifier in question hyperlinked to their respective website (for doi it is http://dx.doi.org/doi, e.g., http://dx.doi.org/10.1093/humupd/dmr022 for doi = 10.1093/humupd/dmr022. For PMID it is http://www.ncbi.nlm.nih.gov/pubmed/pmid. For PMC it is http://http://www.ncbi.nlm.nih.gov/pmc/articles/PMCpmc).

I find examples like this allow me far more than introductory texts like the one I'm asking for, so thanks in advance.

Thanks for your time,
Brenton