Template:If exist only Commons

Questo template serve a verificare se un file è presente solo su Commons o solo/anche in locale.

Template:If exist only Commons
Template protetto – Le modifiche possono essere proposte nella pagina di discussione.
Info Istruzioni per l'uso
Le istruzioni che seguono sono contenute nella sottopagina Template:If exist only Commons/man (modifica · cronologia)
Sandbox: Template:If exist only Commons/Sandbox · TemplateStyles: Template:If exist only Commons/styles.css · Tutte le sottopagine: lista

Questo template serve a verificare se un file è presente solo su Commons o solo/anche in locale.

Parametri

Il template ha tre parametri posizionali:

  1. nel primo (obbligatorio) va indicato il nome del file la cui esistenza è da verificare;
  2. nel secondo (opzionale) va indicato cosa mostrare se il file è presente solo su Commons;
  3. nel terzo (opzionale) va indicato cosa mostrare se il file è presente solo (o anche) in locale;

Esempi d'uso

  • File esistente solo su Commons:
    {{if exist only Commons|Val Masino (Italia)-Stemma.svg|sì|no}} → sì
  • File esistente solo in locale:
    {{if exist only Commons|BohemianRhapsody.jpg|Y|N}} → N
  • File esistente sia su Commons che in locale:
    {{if exist only Commons|Per firmare.png|1|0}} → 0
  • File non esistente né su Commons né in locale:
    {{if exist only Commons|File inesistente.formato|vero|falso}} → falso

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.