Template:ReferenceTemplate: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the "ReferenceTemplate" template. | This is the "ReferenceTemplate" template. | ||
It should be called in the following format: | It should be called in the following format: | ||
| Line 22: | Line 21: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<table class="PageWidthTableTemplate"> | <table class="PageWidthTableTemplate"> | ||
<tr> | <tr><td class="PageWidthTableFirstCell">'''Publication type:'''</td> | ||
<td class="PageWidthTableFirstCell">'''Publication type:'''</td> | <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasPublicationType}}</td></tr> | ||
<td class="PageWidthTableRemainderCell">{{{ | |||
<tr><td class="PageWidthTableFirstCell">'''Title:'''</td> | <tr><td class="PageWidthTableFirstCell">'''Title:'''</td> | ||
<td class="PageWidthTableRemainderCell">{{{ | <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasTitle}}</td></tr> | ||
<tr><td class="PageWidthTableFirstCell">'''Authors:'''</td> | <tr><td class="PageWidthTableFirstCell">'''Authors:'''</td> | ||
<td class="PageWidthTableRemainderCell">{{{ | <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasAuthor}}</td></tr> | ||
{{#ifeq:{{{ | {{#ifeq:{{PropertyTestTemplate|prop=HasSecondaryTitle|page={{PAGENAME}}|0|| | ||
<tr><td class="PageWidthTableFirstCell">'''Secondary title:'''</td> | <tr><td class="PageWidthTableFirstCell">'''Secondary title:'''</td> | ||
<td class="PageWidthTableRemainderCell"> | <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasSecondaryTitle}}</td></tr> | ||
}}{{PropertyTestTemplate|prop=HasSecondaryAuthor|page={{PAGENAME}}|0|| | |||
}}{{ | |||
<tr><td class="PageWidthTableFirstCell">'''Secondary authors:'''</td> | <tr><td class="PageWidthTableFirstCell">'''Secondary authors:'''</td> | ||
<td class="PageWidthTableRemainderCell">{{# | <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasSecondaryAuthor}}</td></tr> | ||
}} | |||
}} | <tr><td class="PageWidthTableFirstCell">'''Year:'''</td> | ||
<tr><td class="PageWidthTableFirstCell">'''Year:'''</td><td class="PageWidthTableRemainderCell"> | <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasPublicationYear}}</td></tr> | ||
{{PropertyTestTemplate|prop=HasPublicationDate|page={{PAGENAME}}|0|| | |||
<tr><td class="PageWidthTableFirstCell">'''Date:'''</td> | |||
<td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasPublicationDate}}</td></tr> | |||
}}{{PropertyTestTemplate|prop=HasBookTitle|page={{PAGENAME}}|0|| | |||
<tr><td class="PageWidthTableFirstCell">'''Book title:'''</td> | |||
<tr><td class="PageWidthTableFirstCell">''' | <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasBookTitle}}</td></tr> | ||
}}{{PropertyTestTemplate|prop=HasSeriesTitle|page={{PAGENAME}}|0|| | |||
<tr><td class="PageWidthTableFirstCell">'''Series title:'''</td> | |||
<td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasSeriesTitle}}</td></tr> | |||
}}{{PropertyTestTemplate|prop=HasEditor|page={{PAGENAME}}|0|| | |||
}}{{ | |||
<tr><td class="PageWidthTableFirstCell">''' | |||
<td class=" | |||
}}{{ | |||
<tr><td class="PageWidthTableFirstCell">''' | |||
<td class="PageWidthTableRemainderCell">{{# | |||
}}{{ | |||
<tr><td class="PageWidthTableFirstCell">'''Editors:'''</td> | <tr><td class="PageWidthTableFirstCell">'''Editors:'''</td> | ||
<td class=" | <td class="PageWidthTableFirstCell">{{#show:{{PAGENAME}}|? HasEditor}}</td></tr> | ||
}}{{PropertyTestTemplate|prop=HasJournal|page={{PAGENAME}}|0|| | |||
}}{{ | <tr><td class="PageWidthTableFirstCell">'''Journal:'''</td> | ||
<td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasJournal}}</td></tr> | |||
}}{{PropertyTestTemplate|prop=HasConferenceName|page={{PAGENAME}}|0|| | |||
<tr><td class="PageWidthTableFirstCell">'''Conference name:'''</td> | |||
<tr><td class="PageWidthTableFirstCell">''' | <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasConferenceName}}</td></tr> | ||
}}{{PropertyTestTemplate|prop=HasVolume|page={{PAGENAME}}|0|| | |||
<tr><td class="PageWidthTableFirstCell">'''Volume:'''</td> | |||
<td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? HasVolume}}</td></tr> | |||
}}{{ | |||
<tr><td class="PageWidthTableFirstCell">''' | |||
}}{{ | |||
<tr><td class="PageWidthTableFirstCell">'''Volume:'''</td><td class="PageWidthTableRemainderCell"> | |||
}}{{#ifeq:{{{Issue|}}}||| | }}{{#ifeq:{{{Issue|}}}||| | ||
<tr><td class="PageWidthTableFirstCell">'''Issue:'''</td><td class="PageWidthTableRemainderCell"> | <tr><td class="PageWidthTableFirstCell">'''Issue:'''</td><td class="PageWidthTableRemainderCell"> | ||
Revision as of 11:15, 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.