Difference between revisions of "Template:Citation/lua"

From blackwiki
Jump to navigation Jump to search
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
|fullpagename={{FULLPAGENAME}}
+
|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}}
+
{{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

Template documentation

The Template:Citation/lua uses the Lua script interface with Module:Citation/CS1 to format cites using the Citation Style 1 for cite parameters.