Template:Interprogetto/Sandbox: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
GnuBotmarcoo (discussione | contributi)
m Bot: Categorizzo SB template
m attuale
Riga 1:
<noinclude>{{Protetta}}</noinclude><includeonly><!--
 
// PRIMA SEZIONE DEL TEMPLATE ---- COLLEGAMENTI NELLA BARRA DI SINISTRA //
 
Riga 12 ⟶ 13:
(se vuoi aggiungere nuovi prefissi ricorda che vanno aggiunti qui, alla sezione 2.1 e ai sottotemplate /Box e /leggiParamentro)
 
-->{{#if: {{{wikisource|}}} | {{Interprogetto/Collegamento|wikisource:{{{wikisource|}}}|Wikisource}}|}}<!--
*-->{{#if: [[wikisource{{{s|}}} |{{Interprogetto/Collegamento|s:{{{wikisources|}}}|Wikisource]]}}|}}<!--
-->{{#if: {{{oldwikisource|}}} |{{Interprogetto/Collegamento|oldwikisource:{{{oldwikisource|}}}|Wikisource}}|}}<!--
-->{{#if: {{{s|}}} |
*-->{{#if: [[{{{wikiquote|}}} |{{Interprogetto/Collegamento|wikiquote:{{{wikiquote|}}}|Wikiquote]]}}|}}<!--
* [[s:{{{s|}}}|Wikisource]]|}}<!--
-->{{#if: {{{wikiquoteq|}}} | {{Interprogetto/Collegamento|q:{{{q|}}}|Wikiquote}}|}}<!--
-->{{#if: {{{b|}}} |{{Interprogetto/Collegamento|b:{{{b|}}}|Wikibooks}}|}}<!--
* [[wikiquote:{{{wikiquote|}}}|Wikiquote]]|}}<!--
*-->{{#if: [[{{{wikibooks|}}} |{{Interprogetto/Collegamento|wikibooks:{{{wikibooks|}}}|Wikibooks]]}}|}}<!--
-->{{#if: {{{q|}}} |
*-->{{#if: [[{{{commons|}}} |{{Interprogetto/Collegamento|commons:{{{commons|}}}|Commons]]}}|}}<!--
* [[q:{{{q|}}}|Wikiquote]]|}}<!--
*-->{{#if: [[{{{wikispecies|}}} |{{Interprogetto/Collegamento|wikispecies:{{{wikispecies|}}}|Wikispecies]]}}|}}<!--
-->{{#if: {{{b|}}} |
*-->{{#if: [[b{{{n|}}} |{{Interprogetto/Collegamento|n:{{{bn|}}}|Wikibooks]]Wikinotizie}}|}}<!--
*-->{{#if: [[{{{wikinews|}}} |{{Interprogetto/Collegamento|wikinews:{{{wikinews|}}}|Wikinotizie]]}}|}}<!--
-->{{#if: {{{wikibooks|}}} |
* [[wikibooks:{{{wikibooks|}}}|Wikibooks]]|}}<!--
-->{{#if: {{{commons|}}} |
* [[commons:{{{commons|}}}|Commons]]|}}<!--
-->{{#if: {{{wikispecies|}}} |
* [[wikispecies:{{{wikispecies|}}}|Wikispecies]]|}}<!--
-->{{#if: {{{n|}}} |
* [[n:{{{n|}}}|Wikinotizie]]|}}<!--
-->{{#if: {{{wikinews|}}} |
* [[wikinews:{{{wikinews|}}}|Wikinotizie]]|}}<!--
(per il prefisso notizia non è necessario, in quanto non inserisce i collegamenti a sinistra)
-->{{#if: {{{v|}}} | {{Interprogetto/Collegamento|v:{{{v|}}}|Wikiversità}}|}}<!--
*-->{{#if: [[v{{{m|}}} |{{Interprogetto/Collegamento|m:{{{vm|}}}|Wikiversità]]Meta}}|}}<!--
-->{{#if: {{{mmeta|}}} | {{Interprogetto/Collegamento|meta:{{{meta|}}}|Meta}}|}}<!--
*-->{{#if: [[{{{wikt|}}} |{{Interprogetto/Collegamento|wikt:{{{wikt|}}}|Wikizionario]]}}|}}<!--
* [[m:{{{m|}}}|Meta]]|}}<!--
*-->{{#if: [[{{{wiktionary|}}} |{{Interprogetto/Collegamento|wiktionary:{{{wiktionary|}}}|Wikizionario]]}}|}}<!--
-->{{#if: {{{meta|}}} |
*-->{{#if: [[{{{ricetta|}}} |{{Interprogetto/Collegamento|b:Libro di cucina/Ricette/{{{ricetta|}}}|Ricetta]]}}<br />(Wikibooks)|}}<!--
* [[meta:{{{meta|}}}|Meta]]|}}<!--
*-->{{#if: [[{{{testo|}}} |{{Interprogetto/Collegamento|s:{{{testo|}}}|Testo completo]]}}<br />(Wikisource)|}}<!--
-->{{#if: {{{wikt|}}} |
*-->{{#if: [[{{{incubator|}}} |{{Interprogetto/Collegamento|incubator:{{{incubator|}}}|Wikimedia Incubator]]}}|}}<!--
* [[wikt:{{{wikt|}}}|Wikizionario]]|}}<!--
-->{{#if: {{{wiktionary|}}} |
* [[wiktionary:{{{wiktionary|}}}|Wikizionario]]|}}<!--
-->{{#if: {{{ricetta|}}} |
* [[b:Libro di cucina/Ricette/{{{ricetta|}}}|Ricetta]]<br />(Wikibooks)|}}<!--
-->{{#if: {{{testo|}}} |
* [[s:{{{testo|}}}|Testo completo]]<br />(Wikisource)|}}<!--
-->{{#if: {{{incubator|}}} |
* [[incubator:{{{incubator|}}}|Wikimedia Incubator]]|}}<!--
 
Nota: i seguenti due codici sono da usare su progetti diversi da Wikipedia (togliere il codice di commento prima di "{{#if:" e dopo "Wikipedia}}|}}" (ricordarsi di fare lo stesso nella sezione 2.1 e nei sottotemplate /Box e /leggiParametro):
 
--><!--{{#if: {{{w|}}} | {{Interprogetto/Collegamento|w:{{{w|}}}|Wikipedia}}|}}--><!--
*--><!--{{#if: [[w{{{wikipedia|}}} |{{Interprogetto/Collegamento|wikipedia:{{{w|}}}|Wikipedia]]}}|}}--><!--
--><!--{{#if: {{{wikipedia|}}} |
* [[wikipedia:{{{w|}}}|Wikipedia]]|}}--><!--
 
// Terza parte: controlla i primi 20 parametri passati al template, per vedere se uno di questi ha il nome di uno dei prefissi accettati. Se lo è richiama /Collegamento. Il tutto è effettuato dal sottotemplate /leggiParametro.
Riga 95 ⟶ 77:
 
-->{{#if:{{{s|}}}|{{#switch:{{{1}}}|nolink=|{{Interprogetto/Box|progetto=s|collegamento={{{s}}}|etichetta={{{etichetta|{{PAGENAME}}}}}|{{{s_oggetto|}}}|{{{s_preposizione|}}}|{{{s_etichetta|}}}|{{{s_lingua|}}}}}}}}}<!--
 
-->{{#if:{{{oldwikisource|}}}|{{#switch:{{{1}}}|nolink=|{{Interprogetto/Box|progetto=oldwikisource|collegamento={{{oldwikisource}}}|etichetta={{{etichetta|{{PAGENAME}}}}}|{{{oldwikisource_oggetto|}}}|{{{oldwikisource_preposizione|}}}|{{{oldwikisource_etichetta|}}}}}}}}}<!--
 
-->{{#if:{{{s2|}}}|{{#switch:{{{1}}}|nolink=|{{Interprogetto/Box|progetto=s2|collegamento={{{s2}}}|etichetta={{{etichetta|{{PAGENAME}}}}}|{{{s2_oggetto|}}}|{{{s2_preposizione|}}}|{{{s2_etichetta|}}}|{{{s2_lingua|}}}}}}}}}<!--
Riga 114 ⟶ 98:
-->{{#if:{{{n|}}}|{{#switch: {{{1}}}|nolink=|{{Interprogetto/Box|progetto=n|collegamento={{{n}}}|etichetta={{{etichetta|{{PAGENAME}}}}}|{{{n_oggetto|}}}|{{{n_preposizione|}}}|{{{n_etichetta|}}}}}}}}}<!--
 
-->{{#if:{{{wikinews|}}}|{{#switch:{{{1}}}|nolink=|{{Interprogetto/Box|progetto=wikinews|collegamento={{{wikinews}}}|etichetta={{{etichetta|{{PAGENAME}}}}}}|{{{wikinews_oggetto|}}}|{{{wikinews_preposizione|}}}|{{{wikinews_etichetta|}}}}}}}}}<!--
 
-->{{#if:{{{v|}}}|{{#switch:{{{1}}}|nolink=|{{Interprogetto/Box|progetto=v|collegamento={{{v}}}|etichetta={{{etichetta|{{PAGENAME}}}}}|{{{v_oggetto|}}}|{{{v_preposizione|}}}|{{{v_etichetta|}}}}}}}}}<!--
Riga 163 ⟶ 147:
// FINE DEL CODICE DEL TEMPLATE //
 
--></includeonly><noinclude><!--
 
<noinclude>[[Categoria:Sandbox dei template|{{PAGENAME}}]]</noinclude>
// INIZIO DELLA GUIDA //
// AGGIORNARE LA DOCUMENTAZIONE DEL CODICE IN AIUTO:INTERPROGETTO SE SI EFFETTUANO MODIFICHE
 
-->
{{template complesso}}
{{man}}
 
{{interprogetto|nolink|s|q|b|wikt|v}}
 
[[Categoria:Template wikimedia|{{PAGENAME}}]]
 
[[ar:قالب:شقيقة]]
[[be-x-old:Шаблён:Роднасны праект]]
[[en:Template:Sister]]
[[eo:Ŝablono:Projekto]]
[[fr:Modèle:Autres projets]]
[[id:Templat:Sister]]
[[ja:Template:Sister]]
[[pt:Predefinição:Correlato]]
[[tr:Şablon:Kardeş proje]]
[[uk:Шаблон:Sister]]
[[ur:سانچہ:Sister]]
[[vi:Tiêu bản:Dự án liên quan]]
</noinclude>