Template:ReferenceTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
<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;" align="left">'''Publication type:'''</td><td>[[HasPublicationType::{{{PublicationType|}}}]]</td></tr>
<tr><td>'''Title:'''</td><td>[[HasTitle::{{{Title|}}}]]</td></tr>
{{#ifeq:{{{Title|}}}|||<tr><td>'''Title:'''</td><td>[[HasTitle::{{{Title|}}}]]</td></tr>}}
<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>}}
<tr><td>'''Year:'''</td><td>[[HasPublicationYear::{{{Year|}}}]]</td></tr>
{{#ifeq:{{{Year|}}}|||<tr><td>'''Year:'''</td><td>[[HasPublicationYear::{{{Year|}}}]]</td></tr>}}
{{#ifeq:{{{Conference|}}}|||<tr><td>'''Conference:'''</td><td>[[HasConferenceName::{{{Conference|}}}]]</td></tr>}}
{{#ifeq:{{{Conference|}}}|||<tr><td>'''Conference:'''</td><td>[[HasConferenceName::{{{Conference|}}}]]</td></tr>}}
{{#ifeq:{{{Editor|}}}|||<tr><td>'''Editors:'''</td><td>{{#arraymap:{{{Editor|}}}|;|x|[[HasEditor::x]]}}</td></tr>}}
{{#ifeq:{{{Editor|}}}|||<tr><td>'''Editors:'''</td><td>{{#arraymap:{{{Editor|}}}|;|x|[[HasEditor::x]]}}</td></tr>}}

Revision as of 11:38, 29 April 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.