Template:Ese: differenze tra le versioni

Wikibooks, manuali e libri di testo liberi.
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica
Upgrade sfondotitolo0
Riga 7: Riga 7:
<!-- Esercizio 1 -->
<!-- Esercizio 1 -->
{{#if:{{{testo2|}}}|<div style="float:left; width:49%; margin-right:5px;">|}}
{{#if:{{{testo2|}}}|<div style="float:left; width:49%; margin-right:5px;">|}}
<span style="color:{{#if:{{{coloretitolo1|}}}|{{{coloretitolo1}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}}}; background-color:{{#if:{{{sfondo_titolo1|}}}|{{{sfondo_titolo1}}}|#B00010}}; font-size:1.5em; padding:5px; border-radius:4px; font-family:Georgia,Times,serif;">{{#if:{{{titolo1|}}}|{{{titolo1}}|Esercizio 1</span>}} <!--
<span style="color:{{#if:{{{coloretitolo1|}}}|{{{coloretitolo1}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}}}; background-color:{{#if:{{{sfondotitolo1|}}}|{{{sfondotitolo1}}}|{{#if:{{{sfondotitolo0|}}}|{{{sfondotitolo0}}}|#B00010}}}}; font-size:1.5em; padding:5px; border-radius:4px; font-family:Georgia,Times,serif;">{{#if:{{{titolo1|}}}|{{{titolo1}}|Esercizio 1</span>}} <!--
-->{{#if:{{{livello1|}}}
-->{{#if:{{{livello1|}}}
|<div style="margin:-35px 0px 5px 115px;"><!--
|<div style="margin:-35px 0px 5px 115px;"><!--
Riga 22: Riga 22:
-->{{#if:{{{testo2|}}}
-->{{#if:{{{testo2|}}}
|<div style="float:right; width:50%;">
|<div style="float:right; width:50%;">
<span style="color:{{#if:{{{coloretitolo2|}}}|{{{coloretitolo2}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondo_titolo2|}}}|{{{sfondo_titolo2}}}|#B00010}}; font-size:1.5em; padding:5px; border-radius:4px; font-family:Georgia,Times,serif;">{{#if:{{{titolo2|}}}|{{{titolo2}}|Esercizio 2}}</span><!--
<span style="color:{{#if:{{{coloretitolo2|}}}|{{{coloretitolo2}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondotitolo2|}}}|{{{sfondotitolo2}}}|{{#if:{{{sfondotitolo0|}}}|{{{sfondotitolo0}}}|#B00010}}}}; font-size:1.5em; padding:5px; border-radius:4px; font-family:Georgia,Times,serif;">{{#if:{{{titolo2|}}}|{{{titolo2}}|Esercizio 2}}</span><!--
-->{{#if:{{{svolgimento2|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento2}}}|''Svolgimento''}}</div>|}}<br />
-->{{#if:{{{svolgimento2|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento2}}}|''Svolgimento''}}</div>|}}<br />
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 5px; padding:10px; text-align:left; float:right;">{{{testo2}}}</div>
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 5px; padding:10px; text-align:left; float:right;">{{{testo2}}}</div>
Riga 30: Riga 30:
{{#if:{{{testo4|}}}|<div style="float:left; width:49%; margin-right:5px;">|}}
{{#if:{{{testo4|}}}|<div style="float:left; width:49%; margin-right:5px;">|}}
{{#if:{{{testo3|}}}
{{#if:{{{testo3|}}}
|<span style="color:{{#if:{{{coloretitolo3|}}}|{{{coloretitolo3}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondo_titolo3|}}}|{{{sfondo_titolo3}}}|#B00010}}; font-size:1.5em; padding:5px; border-radius:4px; font-family:Georgia,Times,serif;">{{#if:{{{titolo3|}}}|{{{titolo3}}|Esercizio 3}}</span><!--
|<span style="color:{{#if:{{{coloretitolo3|}}}|{{{coloretitolo3}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondotitolo3|}}}|{{{sfondotitolo3}}}|{{#if:{{{sfondotitolo0|}}}|{{{sfondotitolo0}}}|#B00010}}}}; font-size:1.5em; padding:5px; border-radius:4px; font-family:Georgia,Times,serif;">{{#if:{{{titolo3|}}}|{{{titolo3}}|Esercizio 3}}</span><!--
-->{{#if:{{{svolgimento3|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento3}}}|''Svolgimento''}}</div>|}}<br />
-->{{#if:{{{svolgimento3|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento3}}}|''Svolgimento''}}</div>|}}<br />
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 0px; padding:10px;">{{{testo3}}}</div>
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 0px; padding:10px;">{{{testo3}}}</div>
Riga 38: Riga 38:
{{#if:{{{testo4|}}}
{{#if:{{{testo4|}}}
|<div style="float:right; width:50%;">
|<div style="float:right; width:50%;">
<span style="color:{{#if:{{{coloretitolo4|}}}|{{{coloretitolo4}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondo_titolo4|}}}|{{{sfondo_titolo4}}}|#B00010}}; font-size:1.5em; padding:5px; border-radius:4px; font-family:Georgia,Times,serif;">{{#if:{{{titolo4|}}}|{{{titolo4}}|Esercizio 4}}</span><!--
<span style="color:{{#if:{{{coloretitolo4|}}}|{{{coloretitolo4}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondotitolo4|}}}|{{{sfondotitolo4}}}|{{#if:{{{sfondotitolo0|}}}|{{{sfondotitolo0}}}|#B00010}}}}; font-size:1.5em; padding:5px; border-radius:4px; font-family:Georgia,Times,serif;">{{#if:{{{titolo4|}}}|{{{titolo4}}|Esercizio 4}}</span><!--
-->{{#if:{{{svolgimento4|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento4}}}|''Svolgimento''}}</div>|}}<br />
-->{{#if:{{{svolgimento4|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento4}}}|''Svolgimento''}}</div>|}}<br />
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 5px; padding:10px; text-align:left; float:right;">{{{testo4}}}</div>
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 5px; padding:10px; text-align:left; float:right;">{{{testo4}}}</div>
Riga 46: Riga 46:
{{#if:{{{testo6|}}}|<div style="float:left; width:49%; margin-right:5px;">|}}
{{#if:{{{testo6|}}}|<div style="float:left; width:49%; margin-right:5px;">|}}
{{#if:{{{testo5|}}}
{{#if:{{{testo5|}}}
|<span style="color:{{#if:{{{coloretitolo5|}}}|{{{coloretitolo5}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondo_titolo5|}}}|{{{sfondo_titolo5}}}|#B00010}}; font-size:1.5em; padding:5px; border-radius:4px; font-family:Georgia,Times,serif;">{{#if:{{{titolo5|}}}|{{{titolo5}}|Esercizio 5}}</span><!--
|<span style="color:{{#if:{{{coloretitolo5|}}}|{{{coloretitolo5}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondotitolo5|}}}|{{{sfondotitolo5}}}|{{#if:{{{sfondotitolo0|}}}|{{{sfondotitolo0}}}|#B00010}}}}; font-size:1.5em; padding:5px; border-radius:4px; font-family:Georgia,Times,serif;">{{#if:{{{titolo5|}}}|{{{titolo5}}|Esercizio 5}}</span><!--
-->{{#if:{{{svolgimento5|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento5}}}|''Svolgimento''}}</div>|}}<br />
-->{{#if:{{{svolgimento5|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento5}}}|''Svolgimento''}}</div>|}}<br />
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 0px; padding:10px;">{{{testo5}}}</div>
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 0px; padding:10px;">{{{testo5}}}</div>
Riga 54: Riga 54:
{{#if:{{{testo6|}}}
{{#if:{{{testo6|}}}
|<div style="float:right; width:50%;">
|<div style="float:right; width:50%;">
<span style="color:{{#if:{{{coloretitolo6|}}}|{{{coloretitolo6}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondo_titolo6|}}}|{{{sfondo_titolo6}}}|#B00010}}; font-size:1.5em; padding:5px; border-radius:6px;">{{#if:{{{titolo6|}}}|{{{titolo6}}|Esercizio 6}}</span><!--
<span style="color:{{#if:{{{coloretitolo6|}}}|{{{coloretitolo6}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondotitolo6|}}}|{{{sfondotitolo6}}}|{{#if:{{{sfondotitolo0|}}}|{{{sfondotitolo0}}}|#B00010}}}}; font-size:1.5em; padding:5px; border-radius:6px;">{{#if:{{{titolo6|}}}|{{{titolo6}}|Esercizio 6}}</span><!--
-->{{#if:{{{svolgimento6|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento6}}}|''Svolgimento''}}</div>|}}<br />
-->{{#if:{{{svolgimento6|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento6}}}|''Svolgimento''}}</div>|}}<br />
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 5px; padding:10px; text-align:left; float:right;">{{{testo6}}}</div>
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 5px; padding:10px; text-align:left; float:right;">{{{testo6}}}</div>
Riga 62: Riga 62:
{{#if:{{{testo8|}}}|<div style="float:left; width:49%; margin-right:5px;">|}}
{{#if:{{{testo8|}}}|<div style="float:left; width:49%; margin-right:5px;">|}}
{{#if:{{{testo7|}}}
{{#if:{{{testo7|}}}
|<span style="color:{{#if:{{{coloretitolo7|}}}|{{{coloretitolo7}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondo_titolo7|}}}|{{{sfondo_titolo7}}}|#B00010}}; font-size:1.5em; padding:5px; border-radius:4px; font-family:Georgia,Times,serif;">{{#if:{{{titolo7|}}}|{{{titolo7}}|Esercizio 7}}</span><!--
|<span style="color:{{#if:{{{coloretitolo7|}}}|{{{coloretitolo7}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondotitolo7|}}}|{{{sfondotitolo7}}}|{{#if:{{{sfondotitolo0|}}}|{{{sfondotitolo0}}}|#B00010}}}}; font-size:1.5em; padding:5px; border-radius:4px; font-family:Georgia,Times,serif;">{{#if:{{{titolo7|}}}|{{{titolo7}}|Esercizio 7}}</span><!--
-->{{#if:{{{svolgimento7|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento7}}}|''Svolgimento''}}</div>|}}<br />
-->{{#if:{{{svolgimento7|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento7}}}|''Svolgimento''}}</div>|}}<br />
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 0px; padding:10px;">{{{testo7}}}</div>
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 0px; padding:10px;">{{{testo7}}}</div>
Riga 70: Riga 70:
{{#if:{{{testo8|}}}
{{#if:{{{testo8|}}}
|<div style="float:right; width:50%;">
|<div style="float:right; width:50%;">
<span style="color:{{#if:{{{coloretitolo8|}}}|{{{coloretitolo8}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondo_titolo8|}}}|{{{sfondo_titolo8}}}|#B00010}}; font-size:1.5em; padding:5px; border-radius:8px;">{{#if:{{{titolo8|}}}|{{{titolo8}}|Esercizio 8}}</span><!--
<span style="color:{{#if:{{{coloretitolo8|}}}|{{{coloretitolo8}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondotitolo8|}}}|{{{sfondotitolo8}}}|{{#if:{{{sfondotitolo0|}}}|{{{sfondotitolo0}}}|#B00010}}}}; font-size:1.5em; padding:5px; border-radius:8px;">{{#if:{{{titolo8|}}}|{{{titolo8}}|Esercizio 8}}</span><!--
-->{{#if:{{{svolgimento8|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento8}}}|''Svolgimento''}}</div>|}}<br />
-->{{#if:{{{svolgimento8|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento8}}}|''Svolgimento''}}</div>|}}<br />
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 5px; padding:10px; text-align:left; float:right;">{{{testo8}}}</div>
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 5px; padding:10px; text-align:left; float:right;">{{{testo8}}}</div>
Riga 78: Riga 78:
{{#if:{{{testo10|}}}|<div style="float:left; width:49%; margin-right:5px;">|}}
{{#if:{{{testo10|}}}|<div style="float:left; width:49%; margin-right:5px;">|}}
{{#if:{{{testo9|}}}
{{#if:{{{testo9|}}}
|<span style="color:{{#if:{{{coloretitolo9|}}}|{{{coloretitolo9}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondo_titolo9|}}}|{{{sfondo_titolo9}}}|#B00010}}; font-size:1.5em; padding:5px; border-radius:4px; font-family:Georgia,Times,serif;">{{#if:{{{titolo9|}}}|{{{titolo9}}|Esercizio 9}}</span><!--
|<span style="color:{{#if:{{{coloretitolo9|}}}|{{{coloretitolo9}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondotitolo9|}}}|{{{sfondotitolo9}}}|{{#if:{{{sfondotitolo0|}}}|{{{sfondotitolo0}}}|#B00010}}}}; font-size:1.5em; padding:5px; border-radius:4px; font-family:Georgia,Times,serif;">{{#if:{{{titolo9|}}}|{{{titolo9}}|Esercizio 9}}</span><!--
-->{{#if:{{{svolgimento9|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento9}}}|''Svolgimento''}}</div>|}}<br />
-->{{#if:{{{svolgimento9|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento9}}}|''Svolgimento''}}</div>|}}<br />
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 0px; padding:10px;">{{{testo9}}}</div>
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 0px; padding:10px;">{{{testo9}}}</div>
Riga 86: Riga 86:
{{#if:{{{testo10|}}}
{{#if:{{{testo10|}}}
|<div style="float:right; width:50%;">
|<div style="float:right; width:50%;">
<span style="color:{{#if:{{{coloretitolo10|}}}|{{{coloretitolo10}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondo_titolo10|}}}|{{{sfondo_titolo10}}}|#B00010}}; font-size:1.5em; padding:5px; border-radius:10px;">{{#if:{{{titolo10|}}}|{{{titolo10}}|Esercizio 10}}</span><!--
<span style="color:{{#if:{{{coloretitolo10|}}}|{{{coloretitolo10}}}|{{#if:{{{coloretitolo0|}}}|{{{coloretitolo0}}}|white}}}}; background-color:{{#if:{{{sfondotitolo10|}}}|{{{sfondotitolo10}}}|{{#if:{{{sfondotitolo0|}}}|{{{sfondotitolo0}}}|#B00010}}}}; font-size:1.5em; padding:5px; border-radius:10px;">{{#if:{{{titolo10|}}}|{{{titolo10}}|Esercizio 10}}</span><!--
-->{{#if:{{{svolgimento10|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento10}}}|''Svolgimento''}}</div>|}}<br />
-->{{#if:{{{svolgimento10|}}}|<div class="floatright" style="font-size:1.5em; margin-right:10px;">{{I|{{{svolgimento10}}}|''Svolgimento''}}</div>|}}<br />
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 5px; padding:10px; text-align:left; float:right;">{{{testo10}}}</div>
<div style="border:1px solid #E0E0F0; margin:2px 0px 8px 5px; padding:10px; text-align:left; float:right;">{{{testo10}}}</div>

Versione delle 03:44, 5 gen 2015

Info Istruzioni per l'uso
Le istruzioni che seguono sono contenute nella sottopagina Template:Ese/man (modifica · cronologia · Sandbox)


Questo template genera una sezione di testo preformattata in cui inserire il testo di un problema ed il link alla pagina in cui viene svolto. Esso prevede anche 7 parametri opzionali ed attualmente supporta un massimo di 10 esercizi.

Sintassi base
{{Ese   <-- Obbligatorio!
|testo1=   <-- Obbligatorio!
|testo2=
|testo3=
|testo4=
|testo5=
|testo6=
|testo7=
|testo8=
|testo9=
|testo10=
|svolgimento1=
|svolgimento2=
|svolgimento3=
|svolgimento4=
|svolgimento5=
|svolgimento6=
|svolgimento7=
|svolgimento8=
|svolgimento9=
|svolgimento10=
}}   <-- Obbligatorio!
Sintassi completa
{{Ese
|coloretitolo0=
|sfondotitolo0=

|titolo1=
|coloretitolo1=
|sfondotitolo1=
|livello1=
|svolgimento1=
|testo1=

|titolo2=
|coloretitolo2=
|sfondotitolo2=
|livello2=
|svolgimento2=
|testo2=

... (max 10 ese.)

}}

Sintassi base

Parametri opzionali

Cambiare i colori

Altre operazioni sul titolo

Altre operazioni sul testo

Formato CSS di ogni esercizio

Altri Esempi