Template:Bibliography: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
 
(66 intermediate revisions by 2 users not shown)
Line 10: Line 10:
|field_link=
|field_link=
|field_publication_type=
|field_publication_type=
|field_additional_additional_information=
|field_additional_information=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
</noinclude><includeonly>
! field_author
<div class="noprint" style="padding-left:17px; padding:8px;margin-top:-32px;">
| {{#arraymap:{{{field_author|}}}|,|x|[[has author::x]]}}
'''{{#if:{{{field_title|}}}| [[has title::{{{field_title|}}}]]}}.''' {{#if:{{{field_author|}}}|{{#arraymap:{{{field_author|}}}|,|x|[[has author::x]]}}}} {{#if:{{{field_date|}}}|([[has date::{{{field_date|}}}]])}}
|-
:{{#if:{{{field_link|}}}|{{#arraymap:{{{field_link|}}}|,|x|[[has link::x]]}}}}
! field_title
:{{#if:{{{field_reference|}}}|<small>✄&nbsp;&nbsp;&nbsp;[[has reference::{{{field_reference|}}}]]</small>}}
|  [[has title::{{{field_title|}}}]]
:{{#if:{{{field_additional_information|}}}|<small>💬&nbsp;&nbsp;&nbsp;[[has additional information::{{{field_additional_information|}}}]]</small>}}
|-
</div>
! field_date
<div class="onlyinprint">
| [[has date::{{{field_date|}}}]]  
<small>{{#if:{{{field_title|}}}|{{{field_title|}}}}}. {{#if:{{{field_author|}}}|{{{field_author|}}}}} {{#if:{{{field_date|}}}|({{{field_date|}}})}}</small>
|-
:{{#if:{{{field_link|}}}| {{{field_link|}}}}}
! field_reference
:{{#if:{{{field_reference|}}}| ''{{{field_reference|}}}''}}
|  [[has reference::{{{field_reference|}}}]]
:{{#if:{{{field_additional_information|}}}| {{{field_additional_information|}}}}}
|-
</div>
! field_link
{{#if:{{{field_publication_type|}}}|{{#set:has publication type={{{field_publication_type|}}}}}}}
| {{#arraymap:{{{field_link|}}}|,|x|[[has link::x]]}}
|-
! field_publication_type
| [[has publication type::{{{field_publication_type|}}}]]  
|-
! field_additional_additional_information
| [[has additional information::{{{field_additional_additional_information|}}}]]  
|}
 
[[Category:Bibliography]]
[[Category:Bibliography]]
</includeonly>
</includeonly>

Latest revision as of 18:49, 5 November 2013

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

{{Bibliography
|field_author=
|field_title=
|field_date=
|field_reference=
|field_link=
|field_publication_type=
|field_additional_information=
}}

Edit the page to see the template text.