Template:Reference

From BITPlan cr Wiki
Jump to navigation Jump to search

This is the template Reference. It belongs to the concept/topic Concept:Reference
You may find examples for the use of this template via the List of References.

Usage

storemode subobject

{{Reference
|id=
|title=
|authors=
|amazonauthors=
|publisher=
|edition=
|booktype=
|language=
|DOI=
|ISBN10=
|ISBN13=
|booklink=
|booklink2=
|pdflink=
|pages=
|year=
|coverpicture=
|status=
|comment=
|storemode=subobject
}}

storemode property

{{Reference
|id=
|title=
|authors=
|amazonauthors=
|publisher=
|edition=
|booktype=
|language=
|DOI=
|ISBN10=
|ISBN13=
|booklink=
|booklink2=
|pdflink=
|pages=
|year=
|coverpicture=
|status=
|comment=
|storemode=property
}}

storemode none

{{Reference
|id=
|title=
|authors=
|amazonauthors=
|publisher=
|edition=
|booktype=
|language=
|DOI=
|ISBN10=
|ISBN13=
|booklink=
|booklink2=
|pdflink=
|pages=
|year=
|coverpicture=
|status=
|comment=
|storemode=none
}}


viewmode tableheader

{{Reference
|id=
|title=
|authors=
|amazonauthors=
|publisher=
|edition=
|booktype=
|language=
|DOI=
|ISBN10=
|ISBN13=
|booklink=
|booklink2=
|pdflink=
|pages=
|year=
|coverpicture=
|status=
|comment=
|viewmode=tableheader
}}

viewmode tablerow

{{Reference
|id=
|title=
|authors=
|amazonauthors=
|publisher=
|edition=
|booktype=
|language=
|DOI=
|ISBN10=
|ISBN13=
|booklink=
|booklink2=
|pdflink=
|pages=
|year=
|coverpicture=
|status=
|comment=
|viewmode=tablerow
}}

viewmode tablefooter

{{Reference
|id=
|title=
|authors=
|amazonauthors=
|publisher=
|edition=
|booktype=
|language=
|DOI=
|ISBN10=
|ISBN13=
|booklink=
|booklink2=
|pdflink=
|pages=
|year=
|coverpicture=
|status=
|comment=
|viewmode=tablefooter
}}

viewmode labelfield

{{Reference
|id=
|title=
|authors=
|amazonauthors=
|publisher=
|edition=
|booktype=
|language=
|DOI=
|ISBN10=
|ISBN13=
|booklink=
|booklink2=
|pdflink=
|pages=
|year=
|coverpicture=
|status=
|comment=
|viewmode=labelfield
}}

Source (pretty printed)

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Reference<br>|}}
{{#if:{{{?id|}}}|"{{{?id}}}" is id of it <br>|}}
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}}
{{#if:{{{?authors|}}}|"{{{?authors}}}" is authors of it <br>|}}
{{#if:{{{?amazonauthors|}}}|"{{{?amazonauthors}}}" is amazonauthors of it <br>|}}
{{#if:{{{?publisher|}}}|"{{{?publisher}}}" is publisher of it <br>|}}
{{#if:{{{?edition|}}}|"{{{?edition}}}" is edition of it <br>|}}
{{#if:{{{?booktype|}}}|"{{{?booktype}}}" is booktype of it <br>|}}
{{#if:{{{?language|}}}|"{{{?language}}}" is language of it <br>|}}
{{#if:{{{?DOI|}}}|"{{{?DOI}}}" is DOI of it <br>|}}
{{#if:{{{?ISBN10|}}}|"{{{?ISBN10}}}" is ISBN10 of it <br>|}}
{{#if:{{{?ISBN13|}}}|"{{{?ISBN13}}}" is ISBN13 of it <br>|}}
{{#if:{{{?booklink|}}}|"{{{?booklink}}}" is booklink of it <br>|}}
{{#if:{{{?booklink2|}}}|"{{{?booklink2}}}" is booklink2 of it <br>|}}
{{#if:{{{?pdflink|}}}|"{{{?pdflink}}}" is pdflink of it <br>|}}
{{#if:{{{?pages|}}}|"{{{?pages}}}" is pages of it <br>|}}
{{#if:{{{?year|}}}|"{{{?year}}}" is year of it <br>|}}
{{#if:{{{?coverpicture|}}}|"{{{?coverpicture}}}" is coverpicture of it <br>|}}
{{#if:{{{?status|}}}|"{{{?status}}}" is status of it <br>|}}
{{#if:{{{?comment|}}}|"{{{?comment}}}" is comment of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Reference
|Reference id={{{id|}}}
|Reference title={{{title|}}}
|Reference authors={{{authors|}}}
|Reference amazonauthors={{{amazonauthors|}}}
|Reference publisher={{{publisher|}}}
|Reference edition={{{edition|}}}
|Reference booktype={{{booktype|}}}
|Reference language={{{language|}}}
|Reference DOI={{{DOI|}}}
|Reference ISBN10={{{ISBN10|}}}
|Reference ISBN13={{{ISBN13|}}}
|Reference booklink={{{booklink|}}}
|Reference booklink2={{{booklink2|}}}
|Reference pdflink={{{pdflink|}}}
|Reference pages={{{pages|}}}
|Reference year={{{year|}}}
|Reference coverpicture={{{coverpicture|}}}
|Reference status={{{status|}}}
|Reference comment={{{comment|}}}
}}
|#default={{#set:
|isA=Reference
|Reference id={{{id|}}}
|Reference title={{{title|}}}
|Reference authors={{{authors|}}}
|Reference amazonauthors={{{amazonauthors|}}}
|Reference publisher={{{publisher|}}}
|Reference edition={{{edition|}}}
|Reference booktype={{{booktype|}}}
|Reference language={{{language|}}}
|Reference DOI={{{DOI|}}}
|Reference ISBN10={{{ISBN10|}}}
|Reference ISBN13={{{ISBN13|}}}
|Reference booklink={{{booklink|}}}
|Reference booklink2={{{booklink2|}}}
|Reference pdflink={{{pdflink|}}}
|Reference pages={{{pages|}}}
|Reference year={{{year|}}}
|Reference coverpicture={{{coverpicture|}}}
|Reference status={{{status|}}}
|Reference comment={{{comment|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!id!!title!!authors!!amazonauthors!!publisher!!edition!!booktype!!language!!DOI!!ISBN10!!ISBN13!!booklink!!booklink2!!pdflink!!pages!!year!!coverpicture!!status!!comment
{{!}}-
|tablerow=
{{!}}{{{id|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{authors|}}}{{!}}{{!}}{{{amazonauthors|}}}{{!}}{{!}}{{{publisher|}}}{{!}}{{!}}{{{edition|}}}{{!}}{{!}}{{{booktype|}}}{{!}}{{!}}{{{language|}}}{{!}}{{!}}{{{DOI|}}}{{!}}{{!}}{{{ISBN10|}}}{{!}}{{!}}{{{ISBN13|}}}{{!}}{{!}}{{{booklink|}}}{{!}}{{!}}{{{booklink2|}}}{{!}}{{!}}{{{pdflink|}}}{{!}}{{!}}{{{pages|}}}{{!}}{{!}}{{{year|}}}{{!}}{{!}}{{{coverpicture|}}}{{!}}{{!}}{{{status|}}}{{!}}{{!}}{{{comment|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
id={{#if:{{{id|}}}|{{{id|}}}|}}<br>title={{#if:{{{title|}}}|{{{title|}}}|}}<br>authors={{#if:{{{authors|}}}|{{{authors|}}}|}}<br>amazonauthors={{#if:{{{amazonauthors|}}}|{{{amazonauthors|}}}|}}<br>publisher={{#if:{{{publisher|}}}|{{{publisher|}}}|}}<br>edition={{#if:{{{edition|}}}|{{{edition|}}}|}}<br>booktype={{#if:{{{booktype|}}}|{{{booktype|}}}|}}<br>language={{#if:{{{language|}}}|{{{language|}}}|}}<br>DOI={{#if:{{{DOI|}}}|{{{DOI|}}}|}}<br>ISBN10={{#if:{{{ISBN10|}}}|{{{ISBN10|}}}|}}<br>ISBN13={{#if:{{{ISBN13|}}}|{{{ISBN13|}}}|}}<br>booklink={{#if:{{{booklink|}}}|{{{booklink|}}}|}}<br>booklink2={{#if:{{{booklink2|}}}|{{{booklink2|}}}|}}<br>pdflink={{#if:{{{pdflink|}}}|{{{pdflink|}}}|}}<br>pages={{#if:{{{pages|}}}|{{{pages|}}}|}}<br>year={{#if:{{{year|}}}|{{{year|}}}|}}<br>coverpicture={{#if:{{{coverpicture|}}}|{{{coverpicture|}}}|}}<br>status={{#if:{{{status|}}}|{{{status|}}}|}}<br>comment={{#if:{{{comment|}}}|{{{comment|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Reference
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Reference/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!id
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
{{!}}-
!title
{{!}}&nbsp;{{#if:{{{title|}}}|{{{title|}}}|}}
{{!}}-
!authors
{{!}}&nbsp;{{#if:{{{authors|}}}|{{{authors|}}}|}}
{{!}}-
!amazonauthors
{{!}}&nbsp;{{#if:{{{amazonauthors|}}}|{{{amazonauthors|}}}|}}
{{!}}-
!publisher
{{!}}&nbsp;{{#if:{{{publisher|}}}|{{{publisher|}}}|}}
{{!}}-
!edition
{{!}}&nbsp;{{#if:{{{edition|}}}|{{{edition|}}}|}}
{{!}}-
!booktype
{{!}}&nbsp;{{#if:{{{booktype|}}}|{{{booktype|}}}|}}
{{!}}-
!language
{{!}}&nbsp;{{#if:{{{language|}}}|{{{language|}}}|}}
{{!}}-
!DOI
{{!}}&nbsp;{{#if:{{{DOI|}}}|{{{DOI|}}}|}}
{{!}}-
!ISBN10
{{!}}&nbsp;{{#if:{{{ISBN10|}}}|{{{ISBN10|}}}|}}
{{!}}-
!ISBN13
{{!}}&nbsp;{{#if:{{{ISBN13|}}}|{{{ISBN13|}}}|}}
{{!}}-
!booklink
{{!}}&nbsp;{{#if:{{{booklink|}}}|{{{booklink|}}}|}}
{{!}}-
!booklink2
{{!}}&nbsp;{{#if:{{{booklink2|}}}|{{{booklink2|}}}|}}
{{!}}-
!pdflink
{{!}}&nbsp;{{#if:{{{pdflink|}}}|{{{pdflink|}}}|}}
{{!}}-
!pages
{{!}}&nbsp;{{#if:{{{pages|}}}|{{{pages|}}}|}}
{{!}}-
!year
{{!}}&nbsp;{{#if:{{{year|}}}|{{{year|}}}|}}
{{!}}-
!coverpicture
{{!}}&nbsp;{{#if:{{{coverpicture|}}}|{{{coverpicture|}}}|}}
{{!}}-
!status
{{!}}&nbsp;{{#if:{{{status|}}}|{{{status|}}}|}}
{{!}}-
!comment
{{!}}&nbsp;{{#if:{{{comment|}}}|{{{comment|}}}|}}
{{!}}-
{{!}}}
}}
}}

Source

Click on "Edit" to edit the noinclude-part Source of this Template.