Difference between revisions of "Template:Cite arXiv/new"

From blackwiki
Jump to navigation Jump to search
imported>Trappist the monk
imported>Trappist the monk
(update to reflect live template;)
Line 1: Line 1:
<includeonly>{{#switch:{{#if:{{{title|}}}|1|0}}{{#if:{{{last1|{{{surname|{{{last|{{{surname1|{{{author1|{{{author|}}}}}}}}}}}}}}}}}}|1|{{#if:{{{authors|}}}|2|0}}}}
+
<includeonly>{{#switch:{{#if:{{{title|}}}|1|0}}{{#if:{{{last1|{{{last|{{{author1|{{{author|{{{vauthors|{{{surname|{{{surname1|}}}}}}}}}}}}}}}}}}}}}|1|{{#if:{{{authors|}}}|2|0}}}}
 
|00
 
|00
 
|01
 
|01
Line 5: Line 5:
 
|02 <!-- with or without |title= and with |authors= -->
 
|02 <!-- with or without |title= and with |authors= -->
 
|12
 
|12
|11={{#invoke:citation/CS1/sandbox|citation|CitationClass=arxiv}}
+
|11={{#invoke:citation/CS1|citation|CitationClass=arxiv}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{documentation|content=
 
 
The '''Template:Cite_arxiv/new''' uses the [[Lua script]] interface with [[Module:Citation/CS1/sandbox]] to format arXiv cites using the [[wp:CS1|Citation Style 1]] for cite parameters.
 
}}
 
  
 
[[Category:Lua-based templates]]
 
[[Category:Lua-based templates]]
 
</noinclude>
 
</noinclude>

Revision as of 12:38, 23 February 2017