Difference between revisions of "Template:Citation/lua"
Jump to navigation
Jump to search
Template documentation
imported>Salix alba (copy over from http://test2.wikipedia.org/wiki/Template:Citation) |
imported>Mr. Stradivarius (add {{lua}}) |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | <includeonly>{{ |
#if: {{{inventor-surname|{{{inventor1-surname|{{{inventor-last|{{{inventor1-last|{{{inventor|{{{invent1|{{{invent-1|{{{country-code|{{{3|}}}}}}}}}}}}}}}}}}}}}}}}}}} | #if: {{{inventor-surname|{{{inventor1-surname|{{{inventor-last|{{{inventor1-last|{{{inventor|{{{invent1|{{{invent-1|{{{country-code|{{{3|}}}}}}}}}}}}}}}}}}}}}}}}}}} | ||
<!-- | <!-- | ||
| Line 35: | Line 35: | ||
CITATIONS FOR THINGS LIKE BOOKS AND PERIODICALS | CITATIONS FOR THINGS LIKE BOOKS AND PERIODICALS | ||
--> | --> | ||
| − | |{{#invoke:citation|citation | + | |{{#invoke:citation/CS1|citation |
| − | | | + | |CitationClass=citation |
| + | |separator=, | ||
| + | |ref=harv | ||
| + | |postscript= | ||
}} | }} | ||
| − | }}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}<noinclude> | + | }}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly><noinclude> |
| − | {{ | + | {{documentation|content= |
| + | {{lua|Module:Citation/CS1}} | ||
| + | |||
| + | The '''Template:Citation/lua''' uses the [[Lua script]] interface with [[Module:Citation/CS1]] to format cites using the [[wp:CS1|Citation Style 1]] for cite parameters. | ||
| + | }} | ||
| + | |||
| + | [[Category:Lua-based templates]] | ||
| + | |||
</noinclude> | </noinclude> | ||
Latest revision as of 05:19, 3 June 2014
| This template uses Lua: |
The Template:Citation/lua uses the Lua script interface with Module:Citation/CS1 to format cites using the Citation Style 1 for cite parameters.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |