Difference between revisions of "Template:Reference"
From SWEBOK
(Trying #arraymap) |
|||
Line 43: | Line 43: | ||
|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> |
Revision as of 23:19, 21 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.