Mercurial > hg > MPIWGWeb
view zpt/bibliography.zpt @ 24:6a4996805505
more work on projects.
author | casties |
---|---|
date | Tue, 09 Apr 2013 16:50:29 +0200 |
parents | bca61e893fcc |
children |
line wrap: on
line source
<tal:block tal:condition="not:python=here.ZSQLisEmpty(found.id_institutsbibliographie)" tal:define="foundIB python:ZSQLInlineSearch(_table='institutsbiblio',id=found.id_institutsbibliographie)[0]"> <tal:block tal:condition="python:foundIB.reference_type.lower()=='journal article'"> <span tal:replace="foundIB/author_semi_colon"/>"<span tal:replace="foundIB/title"/>" <i><span tal:replace="foundIB/secondary_title"/></i> <span tal:replace="foundIB/volume"/>" (<span tal:condition ret="" if not found.id_institutsbibliographie=='': foundIB=here.ZSQLInlineSearch(_table='institutsbiblio',id=found.id_institutsbibliographie)[0] if foundIB.reference_type.lower()=='journal article': ret+=foundIB.author_semi_colon+"""+foundIB.title+"""+"<i>%s</i>"%foundIB.secondary_title+foundIB.volume+""(" if not foundIB.number=='': ret+=foundIB.number+" " ret+=foundIB.year+")" if not foundIB.pages=='': ret+=": "+foundIB.pages+"." <!-- [FMP-Field: Author_semi_colon]. "[FMP-Field: Title]." <i>[FMP-Field: Secondary Title]</i> [FMP-Field: Volume] ([FMP-If: Number.neq.][FMP-Field: Number] [/FMP-If][FMP-Field: year])[FMP-If: pages.neq.]: [FMP-Field: pages][/FMP-IF]. [FMP-elseif: Reference Type.eq.Edited Book] [FMP-Field: Author_semi_colon] (Editor/s). <i>[FMP-Field: Title]</i>. [FMP-If: Place Published.neq.][FMP-Field: Place Published]: [/FMP-if][FMP-if: publisher.neq.][FMP-Field: Publisher], [/FMP-If][FMP-Field: year]. [FMP-elseif: Reference Type.eq.Book Section] [FMP-Field: Author_semi_colon]. "[FMP-Field: Title]." In <i>[FMP-Field: Secondary Title]</i>[FMP-If: Secondary_Author_semi_colon.neq.], eds.: [FMP-Field: Secondary_Author_semi_colon][/FMP-if]. [FMP-If: Pages.neq.][FMP-Field: Pages].[/FMP-If][FMP-If: Place Published.neq.][FMP-Field: Place Published][/FMP-IF][FMP-If: Publisher.neq.]: [FMP-Field: Publisher],[/FMP-If] [FMP-Field: Year]. [FMP-elseif: Reference Type.eq.Book] [FMP-Field: Author_semi_colon]. <i>[FMP-Field: Title]</i>. [FMP-Field: Place Published]: [FMP-Field: Publisher], [FMP-Field: year]. [FMP-elseif: Reference Type.eq.Newspaper Article] [FMP-Field: Author_semi_colon]. "[FMP-Field: Title]." <i>[FMP-Field: Secondary Title]</i>, [FMP-Field: Date].[FMP-Field: Year], [FMP-Field: Pages]. [/FMP-if] [/FMP-InlineAction] [FMP-else] [FMP-InlineAction: -db=bibliography, ID="{Field: ID_gen_bib}", -find] [FMP-IF: Reference Type.eq.Journal Article] [FMP-Field: Author_semi_colon]. "[FMP-Field: Title]." <i>[FMP-Field: Secondary Title]</i> [FMP-Field: Volume] ([FMP-If: Number.neq.][FMP-Field: Number] [/FMP-If][FMP-Field: year])[FMP-If: Pages.neq.]: [FMP-Field: Pages][/FMP-IF]. [FMP-else][FMP-IF: Reference Type.eq.Edited Book] [FMP-Field: Author_semi_colon] (Editor/s). <i>[FMP-Field: Title]</i>. [FMP-If: Place Published.neq.][FMP-Field: Place Published]: [/FMP-if][FMP-if: publisher.neq.][FMP-Field: Publisher], [/FMP-If][FMP-Field: year]. [FMP-else][FMP-IF: Reference Type.eq.Book Section] [FMP-Field: Author_semi_colon]. "[FMP-Field: Title]." In <i>[FMP-Field: Secondary Title]</i>[FMP-If: Secondary_Author_semi_colon.neq.], eds.: [FMP-Field: Secondary_Author_semi_colon][/FMP-if]. [FMP-If: Pages.neq.][FMP-Field: Pages].[/FMP-If][FMP-If: Place Published.neq.][FMP-Field: Place Published][/FMP-IF][FMP-If: Publisher.neq.]: [FMP-Field: Publisher],[/FMP-If] [FMP-Field: Year]. [FMP-else][FMP-IF: Reference Type.eq.Book] [FMP-Field: Author_semi_colon]. <i>[FMP-Field: Title]</i>. [FMP-Field: Place Published]: [FMP-Field: Publisher], [FMP-Field: year]. [FMP-else][FMP-IF: Reference Type.eq.Newspaper Article] [FMP-Field: Author_semi_colon]. "[FMP-Field: Title]." <i>[FMP-Field: Secondary Title]</i>, [FMP-Field: Date].[FMP-Field: Year], [FMP-Field: Pages]. [/FMP-if][/FMP-if][/FMP-if][/FMP-if][/FMP-if] [/FMP-InlineAction] [/FMP-IF] -->