Template:ReferenceTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
</noinclude><includeonly>
</noinclude><includeonly>
<table style="border:solid 1px;width:100%;color:black;background-color:#EBEBD9" cellpadding="2" cellspacing="2">
<table style="border:solid 1px;width:100%;color:black;background-color:#EBEBD9" cellpadding="2" cellspacing="2">
<tr><td style="vertical-align:top; padding-right: 6px; padding-top: 3px; padding-bottom: 1px;" align="left">'''Publication type:'''</td><td>[[HasPublicationType::{{{PublicationType|}}}]]</td></tr>
<tr><td style="vertical-align:top; padding-right: 6px; padding-top: 3px; padding-bottom: 1px;width:20%" align="left" valign="top">'''Publication type:'''</td><td>[[HasPublicationType::{{{PublicationType|}}}]]</td></tr>
{{#ifeq:{{{Title|}}}|||<tr><td>'''Title:'''</td><td>[[HasTitle::{{{Title|}}}]]</td></tr>}}
{{#ifeq:{{{Title|}}}|||<tr><td>'''Title:'''</td><td>[[HasTitle::{{{Title|}}}]]</td></tr>}}
{{#ifeq:{{{Author|}}}|||<tr><td>'''Authors:'''</td><td>{{#arraymap:{{{Author|}}}|;|x|[[HasAuthor::x]]}}</td></tr>}}
{{#ifeq:{{{Author|}}}|||<tr><td>'''Authors:'''</td><td>{{#arraymap:{{{Author|}}}|;|x|[[HasAuthor::x]]}}</td></tr>}}

Revision as of 21:32, 3 May 2013

This is the "ReferenceTemplate" template. It should be called in the following format:

{{ReferenceTemplate
|Author=
|Year=
|Title=
|DOI=
|PublicationType=
|Editor=
|Journal=
|Volume=
|Issue=
|Pages=
|Conference=
}}

Edit the page to see the template text.