Template:ReferenceTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 30: Line 30:
<tr><td class="PageWidthTableFirstCell">'''Secondary title:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Secondary title:'''</td>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasSecondaryTitle}}</td></tr>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasSecondaryTitle}}</td></tr>
}}{{PropertyTestTemplate|prop=HasSecondaryAuthor|page={{PAGENAME}} }}|0||
}}{{#ifeq:{{PropertyTestTemplate|prop=HasSecondaryAuthor|page={{PAGENAME}} }}|0||
<tr><td class="PageWidthTableFirstCell">'''Secondary authors:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Secondary authors:'''</td>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasSecondaryAuthor}}</td></tr>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasSecondaryAuthor}}</td></tr>
Line 36: Line 36:
<tr><td class="PageWidthTableFirstCell">'''Year:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Year:'''</td>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasPublicationYear}}</td></tr>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasPublicationYear}}</td></tr>
{{PropertyTestTemplate|prop=HasPublicationDate|page={{PAGENAME}} }}|0||
{{#ifeq:{{PropertyTestTemplate|prop=HasPublicationDate|page={{PAGENAME}} }}|0||
<tr><td class="PageWidthTableFirstCell">'''Date:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Date:'''</td>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasPublicationDate}}</td></tr>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasPublicationDate}}</td></tr>
}}{{PropertyTestTemplate|prop=HasBookTitle|page={{PAGENAME}} }}|0||
}}{{#ifeq:{{PropertyTestTemplate|prop=HasBookTitle|page={{PAGENAME}} }}|0||
<tr><td class="PageWidthTableFirstCell">'''Book title:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Book title:'''</td>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasBookTitle}}</td></tr>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasBookTitle}}</td></tr>
}}{{PropertyTestTemplate|prop=HasSeriesTitle|page={{PAGENAME}} }}|0||
}}{{#ifeq:{{PropertyTestTemplate|prop=HasSeriesTitle|page={{PAGENAME}} }}|0||
<tr><td class="PageWidthTableFirstCell">'''Series title:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Series title:'''</td>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasSeriesTitle}}</td></tr>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasSeriesTitle}}</td></tr>
}}{{PropertyTestTemplate|prop=HasEditor|page={{PAGENAME}} }}|0||
}}{{#ifeq:{{PropertyTestTemplate|prop=HasEditor|page={{PAGENAME}} }}|0||
<tr><td class="PageWidthTableFirstCell">'''Editors:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Editors:'''</td>
     <td class="PageWidthTableFirstCell">{{#show:{{PAGENAME}}|? HasEditor}}</td></tr>
     <td class="PageWidthTableFirstCell">{{#show:{{PAGENAME}}|? HasEditor}}</td></tr>
}}{{PropertyTestTemplate|prop=HasJournal|page={{PAGENAME}} }}|0||
}}{{#ifeq:{{PropertyTestTemplate|prop=HasJournal|page={{PAGENAME}} }}|0||
<tr><td class="PageWidthTableFirstCell">'''Journal:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Journal:'''</td>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasJournal}}</td></tr>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasJournal}}</td></tr>
}}{{PropertyTestTemplate|prop=HasConferenceName|page={{PAGENAME}} }}|0||
}}{{#ifeq:{{PropertyTestTemplate|prop=HasConferenceName|page={{PAGENAME}} }}|0||
<tr><td class="PageWidthTableFirstCell">'''Conference name:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Conference name:'''</td>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasConferenceName}}</td></tr>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasConferenceName}}</td></tr>
}}{{PropertyTestTemplate|prop=HasVolume|page={{PAGENAME}} }}|0||
}}{{#ifeq:{{PropertyTestTemplate|prop=HasVolume|page={{PAGENAME}} }}|0||
<tr><td class="PageWidthTableFirstCell">'''Volume:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Volume:'''</td>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasVolume}}</td></tr>
     <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasVolume}}</td></tr>

Revision as of 12:23, 12 June 2017

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=
|HasFormattedReference=
}}

Edit the page to see the template text.