Template

Difference between revisions of "Publication"

From ACES

Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:
{{#template_params:
journal
type
|address
|annote
|author
|booktitle
|Email
|chapter
|crossref
|doi
|edition
|editor
|howpublished
|institution
|journal
|key
|month
|note
|number
|organization
|pages
|publisher
|school
|series
|title
|title
|text
|type
|volume
|year
|pdf
}}
}}
{{#cargo_declare:_table=publication
{{#cargo_declare:_table=publication
|type=String (mandatory;allowed values=article,book,booklet,conference,inbook,incollection,inproceedings,manual,mastersthesis,misc,phdthesis,proceedings,techreport,unpublished)
|address=String
|annote=String
|author=List (,) of String
|booktitle=String
|Email=Email
|chapter=String
|crossref=String
|doi=String
|edition=String
|editor=String
|howpublished=String
|institution=String
|journal=String
|journal=String
|key=String
|note=String
|number=String
|organization=String
|pages=String
|publisher=String
|school=String
|series=String
|title=String
|title=String
|text=String
|type=String
|volume=String
|date=Date<!--
Above are BibTeX data fields -->
|pdf=File
}}
</noinclude><includeonly>{{#cargo_store:_table=publication
|date__precision=2 <!-- Year and month only -->
}}
}}
</noinclude><includeonly>{{#cargo_store:_table=publication}}
{{#template_display:_format=sections}}
{{#template_display:_format=sections}}
[[Category:publication]]  
[[Category:publication]]  
</includeonly>
</includeonly>

Revision as of 01:27, 2 September 2021

This is the "Publication" template.

It should be called in the following format:

{{Publication
|type=
|address=
|annote=
|author=
|booktitle=
|Email=
|chapter=
|crossref=
|doi=
|edition=
|editor=
|howpublished=
|institution=
|journal=
|key=
|month=
|note=
|number=
|organization=
|pages=
|publisher=
|school=
|series=
|title=
|volume=
|year=
|pdf=
}}

Edit the page to see the template text.

Error: "key" cannot be used as a Cargo field name, because it is an SQL keyword.