Difference between revisions of "Template:Reference"
From SWEBOK
(6 intermediate revisions by the same user not shown) | |||
Line 34: | Line 34: | ||
{{#cargo_store: | {{#cargo_store: | ||
_table=references | _table=references | ||
+ | |number={{{number|}}} | ||
|author={{{author|}}} | |author={{{author|}}} | ||
|article={{{article|}}} | |article={{{article|}}} | ||
Line 43: | Line 44: | ||
|part={{{part|}}} | |part={{{part|}}} | ||
|link={{{link|}}} | |link={{{link|}}} | ||
− | |reftext={{#if:{{{author|}}}|{{{author}}},}}{{#if:{{{article|}}}| | + | |reftext={{#arraymap:{{#if:{{{author|}}}|{{{author}}},}}{{#if:{{{article|}}}|"{{{article}}}", |
− | }}{{#if:{{{publication|}}}| | + | }}{{#if:{{{publication|}}}|''{{{publication}}}'',}}{{#if:{{{edition|}}}|{{{edition}}},}}{{#if:{{{publisher|}}}|{{{publisher}}},}}{{#if:{{{issue|}}}|{{{issue}}},}}{{#if:{{{date|}}}|{{{date}}},}}{{#if:{{{part|}}}|{{{part}}},}}{{#if:{{{link|}}}|{{{link}}}}}|,|x|x}}.}}</includeonly> |
Latest revision as of 19:52, 26 July 2015
This is the "Reference" template. It should be called in the following format:
{{reference |number= |author= |article= |publication= |edition= |publisher= |issue= |date= |part= |link= }}
This template defines the table "references". View table. Edit the page to see the template text.