Predefinição:Novidade/doc

Wikisource, a biblioteca livre

Usage[editar]

Used to add new items to Predefinição:Novidades no acervo. {{{1}}} is for the text's título, {{{2}}} for the autor's name, and {{{3}}} for the year (doesn't appear if undefined). No subst.

Options to be used sparingly
  • To display alternate text for the título, ie. rather than the link, 1, one can utilise mostrar to override.
    where the identified título is part of another work (ie. a subpage), or the work name is very long
  • To have a plain text, rather than an active link for the autor, add a fourth parameter nowiki, eg. nowiki=yes
    where the autor is a body without an autor name. Note for anonymous autors, do not use this parameter, instead utilise {{anon}}
  • To mostrar a small image, use imagem for the filename and tamanho to define the size of the image.

Full usage[editar]

{{Novidade
 | título    = 
 | autor     = 
 | tradutor  = 
 | edição    = 
 | data      = 
 | nowiki    = 
 | mostrar   = 
 | imagem    = 
 | tamanho   = 
}}

Parameters[editar]

  • título or 1: Link to the main page or index page of the work. Mandatory
  • autor or 2: autor of the work, this will be automatically wikilinked to an autor page unless the nowiki parameter is used. Optional
  • tradutor: tradutor of the work, this will be automatically wikilinked to an autor page unless the nowiki parameter is used. Optional
  • edição: edição information for the work. Optional
  • data or 3: data of publication of the work. Optional
  • nowiki: If used, this parameter will prevent the automatic wikilinking of the autor and tradutor parameters.
  • mostrar: If used, this text will be mostrared instead of the text the título or 1 parameters.
  • imagem: Image name and extension. Fill it in only if you want an image.
  • tamanho: Image size (include the units). Fill it in only if you want an image. Defaults to 100px.

Examples[editar]

{{Novidade|LINK TO WORK|autor name|YYYY}}

{{Novidade|Victoria: with a description of its principal cities, Melbourne and Geelong
|Henry Butler Stoney|1856}}

Victoria: with a description of its principal cities, Melbourne and Geelong (1856)

{{Novidade|LINK TO WORK|autor name|YYYY|nowiki=yes|mostrar=Preferred título to mostrar}}

{{Novidade|Victoria: with a description of its principal cities, Melbourne and Geelong
|Henry Butler Stoney|1856|nowiki=yes|mostrar=Victoria}}

Victoria (1856)

por Henry Butler Stoney
{{Novidade
 | título    = Victoria: with a description of its principal cities, Melbourne and Geelong
 | autor     = Henry Butler Stoney
 | data      = 1856
 | mostrar   = Victoria
 | imagem    = The Town Hall, Melbourne, Victoria, with a description of its principal cities.png
}}

Victoria (1856)

 
{{Novidade
 | título    = House of Atreus 2nd ed (1889)/The Furies
 | autor     = Aeschylus
 | data      = 1889
 | mostrar   = The Furies
 | edição    = 2nd ed.
 | tradutor  = Edmund Doidge Anderson Morshead}}

The Furies, 2nd ed. (1889)