Difference between revisions of "Template:ReferenceTemplate"
Oostenrijr (talk | contribs) |
Oostenrijr (talk | contribs) |
||
Line 27: | Line 27: | ||
<tr><td class="PageWidthTableFirstCell">'''Authors:'''</td> | <tr><td class="PageWidthTableFirstCell">'''Authors:'''</td> | ||
<td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasAuthor}}</td></tr> | <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasAuthor}}</td></tr> | ||
− | {{#ifeq:{{PropertyTestTemplate|prop=HasSecondaryTitle|page={{PAGENAME}}|0|| | + | {{#ifeq:{{PropertyTestTemplate|prop=HasSecondaryTitle|page={{PAGENAME}} }}|0|| |
<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|| | + | }}{{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|| | + | {{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|| | + | }}{{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|| | + | }}{{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|| | + | }}{{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|| | + | }}{{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|| | + | }}{{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|| | + | }}{{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 11:19, 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.