XWiki macro

pubServiceImg
  • content: mandatory
    • publication document or name
  • parameters
  • examples
    • {{pubServiceImg}}Publications.TucsonJaamas2{{/pubServiceImg}} prints as DOI
    • {{pubServiceImg}}  LpaasTplp18  {{/pubServiceImg}} prints as DOI
    • {{pubServiceImg service='Scopus'}}  LpaasTplp18  {{/pubServiceImg}} prints as Scopus
    • {{pubServiceImg service='Scopus' width='15'}}  LpaasTplp18  {{/pubServiceImg}} prints as Scopus
    • {{pubServiceImg service='IRIS' width='25' logo='deco.png'}}  LpaasTplp18  {{/pubServiceImg}} prints as IRIS
  • counterexamples
    • {{pubServiceImg/}} prints as Macro pubServiceIng requires a publication doc as its content
    • {{pubServiceImg}} {{/pubServiceImg}} prints as Macro pubServiceIng requires a publication doc as its content
    • {{pubServiceImg}}Criceto{{/pubServiceImg}} prints as Document Publications.Criceto does not exist
    • {{pubServiceImg}}EbsmasCscwd2015{{/pubServiceImg}} prints as Document Publications.EbsmasCscwd2015 does not exist
    • {{pubServiceImg}} Talks.EbsmasCscwd2015 {{/pubServiceImg}} prints as Document Talks.EbsmasCscwd2015 is not a publication
    • {{pubServiceImg service='topus'}}  LpaasTplp18  {{/pubServiceImg}} prints as topus is not a proper service specification for macro pubServiceIng
    • {{pubServiceImg service='Scopus' width='ciccio'}}  LpaasTplp18  {{/pubServiceImg}} prints as ciccio is not a correct width for the service logo
    • {{pubServiceImg service='IRIS' width='25' logo='topo.png'}}  LpaasTplp18  {{/pubServiceImg}} prints as topo.png is not a logo attached to the Publications.Iris service page
Tags:
    
Partita IVA: 01131710376 - Copyright © 2008-2021 APICe@DISI Research Group - PRIVACY