Jump to content

Template:ComuniAmminPrec/doc

From Wikipedia, the free encyclopedia

Usage[edit]

{{ComuniAmminPrec}} may be used together with {{ComuniAmminPrecTitolo}} to format tabular lists of mayors (and similar office-holders) of Italian communes. Such lists may form part of an article on the commune concerned or may be standalone lists such as List of mayors of Genoa.

Usage

Per inserire correttamente il template, basta copiare il codice che segue e completarlo con i dati relativi alla voce. Il template genera una riga della tabella; lo si utilizzi tante volte quante sono le righe desiderate. All'ultima occorrenza del template si faccia seguire il codice {{clear}}{{clear}}, per ottenere una spaziatura ottimale.

All parameters are required; where no data is available leave the parameter value blank or enter a nonbreaking space ( ).

  • First parameter: date entered office
  • Second parameter: date left office
  • Third parameter: name of office holder (wikilinked if appropriate).
  • Fourth parameter: political party (wikilinked).
  • Fifth parameter: title ([[Sindaco]] - [[Podestà]] - [[Commissario prefettizio|Comm. pref.]] - [[Vicario]] - [[Prosindaco]] - [[Assessore anziano]] - etc.).
  • Sixth parameter: footnote (if appropriate) between <ref> and </ref> tags.


  '''== List of mayors =='''
  '''{{ComuniAmminPrecTitolo}}'''
  '''{{ComuniAmminPrec'''<br/>
  '''|<span style="color:green">16 gennaio 1996</span>'''<br/>
  '''|<span style="color:green">21 marzo 2001</span>'''<br/>
  '''|<span style="color:green">[[Paolo Rossi]]</span>'''<br/>
  '''|<span style="color:green">[[Fronte dell'Uomo Qualunque]]</span>'''<br/>
  '''|<span style="color:green">[[Sindaco]]</span>'''<br/>
  '''|<span style="color:green"><ref>Left office after vote of no confidence</ref><br/>
  '''}}'''<br/>
  '''{{ComuniAmminPrec'''<br/>
  '''|<span style="color:green">21 marzo 2001</span>'''<br/>
  '''|<span style="color:green">''continues in office''</span>'''<br/>
  '''|<span style="color:green">[[Marco Bianchi]]</span>'''<br/>
  '''|<span style="color:green">[[Partito tal dei tali]]</span>'''<br/>
  '''|<span style="color:green">[[Commissario prefettizio|Comm. pref.]]</span>'''<br/>
  '''|<span style="color:green"><br/></span>
  '''}}'''<br/>
  '''{{clear}}{{clear}}'''

  '''==Notes=='''
  '''<references />'''

Which results in

List of mayors[edit]

Period Office holder Party Title Notes
16 January 1996 21 March 2001 Paolo Rossi Fronte dell'Uomo Qualunque Sindaco [1]
21 marzo 2001 continues in office Marco Bianchi Partito tal dei tali Comm. pref.


Notes[edit]

  1. ^ Left office after vote of no confidence.