Plantilla:vegeu: diferència entre les revisions

Contingut suprimit Contingut afegit
m adaptat de en:Template:see
 
sangrat directe, en lloc d'una class que no existeix
Línia 4:
----
 
</noinclude><div style="padding-left:2em">''Vegeu també'' <!--
 
This css class "disambig-see-also2" is required for two-item lists. Any other solution also must work with all combinations of "serial comma" visibility and "serial and" visibility for single-item lists, two-item lists, and 3+-item lists:
 
|comma |and |comma+and
1 item|1 |1 |1
2 item|1, 2 |1 and 2 |1 and 2
3+item|1, 2, 3|1, 2 and 3|1, 2, and 3
 
-->class="disambig-see-also{{#if:{{{3|}}}||-2}}">''Vegeu també'' <!--
 
// Show the first parameter
Linha 21 ⟶ 12:
-->{{#if:{{{2|}}}|<!--
 
// Show ","/"[,] [and]i" + 2nd parameter +...
-->{{#if:{{{3|}}}|,|<span class="serial-comma">,</span> ''<span class="serial-and"> i</span>''}}<!--
--> '''[[{{{2}}}]]'''<!--
 
Linha 28 ⟶ 19:
-->{{#if:{{{3|}}}|<!--
 
// Show ","/"[,] [and]i" + 3rd parameter +...
-->{{#if:{{{4|}}}|,|<span class="serial-comma">,</span> ''<span class="serial-and"> i</span>''}}<!--
--> '''[[{{{3}}}]]'''<!--
 
Linha 36 ⟶ 27:
 
// Show ","/"[,] [and]" + 4th parameter +...
-->{{#if:{{{5|}}}|,|<span class="serial-comma">,</span> ''<span class="serial-and"> i</span>''}}<!--
--> '''[[{{{4}}}]]'''<!--