Sandbox: diferència entre les revisions

De wikiTraba
Salta a la navegació Salta a la cerca
Cap resum de modificació
m (Revertides les edicions de Acrida (discussió). S'ha recuperat la darrera versió de l'usuari 192.168.2.1)
Línia 1: Línia 1:
===now===
'''Probando'''


{| style="width:100%; background:#f9f9f9; margin:1.2em 0 6px 0; border:1px solid #ddd;"
|
{| style="width:100%; border:none; background:none;"
| style="width:280px; text-align:center; white-space:nowrap; color:#000;" |
<div style="font-size:162%; border:none; margin:0; padding:.1em; color:#000;"><span style="color:#cf7606;">'''Benvinguts a la'''&nbsp;</span><span style="color:#005288;">'''WikiTraba'''</span></div>
|}
|}
<!--        MAIN PAGE BANNER        -->
{{#if:{{Main Page banner}}|
<table id="mp-banner" style="width: 100%; margin:4px 0 0 0; background:none; border-spacing: 0px;">
<tr><td class="MainPageBG" style="text-align:center; padding:0.2em; background-color:#fffaf5; border:1px solid #f2e0ce; color:#000; font-size:100%;">{{Main Page banner}}
</td></tr>
</table>
}}
<!--        TODAY'S FEATURED CONTENT        -->
{| id="mp-upper" style="width: 100%; margin:4px 0 0 0; background:none; border-spacing: 0px;"
<!--        TODAY'S FEATURED ARTICLE; DID YOU KNOW        -->
| class="MainPageBG" style="width:55%; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;" |
{| id="mp-left" style="vertical-align:top; background:#f5fffa;"
! style="padding:2px;" | <h2 id="mp-tfa-h2" style="margin:3px; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">{{#ifexpr:{{formatnum:{{PAGESIZE:Wikipedia:Today's featured article/{{#time:F j, Y}}}}|R}}>150|Today's featured article|Featured article&ensp;<span style="font-size:85%; font-weight:normal;">(Check back later for today's.)</span>}}</h2>
|-
| style="color:#000;" | <div id="mp-tfa" style="padding:2px 5px">{{#ifexpr:{{formatnum:{{PAGESIZE:Wikipedia:Today's featured article/{{#time:F j, Y}}}}|R}}>150|{{Wikipedia:Today's featured article/{{#time:F j, Y}}}}|{{Wikipedia:Today's featured article/{{#time:F j, Y|-1 day}}}}}}</div>
|-
! style="padding:2px;" | <h2 id="mp-dyk-h2" style="margin:3px; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">Did you know...</h2>
|-
| style="color:#000; padding:2px 5px 5px;" | <div id="mp-dyk">{{Did you know}}</div>
|}
| style="border:1px solid transparent;" |
<!--        IN THE NEWS; ON THIS DAY        -->
| class="MainPageBG" style="width:45%; border:1px solid #cedff2; background:#f5faff; vertical-align:top;"|
{| id="mp-right" style="width:100%; vertical-align:top; background:#f5faff;"
! style="padding:2px;" | <h2 id="mp-itn-h2" style="margin:3px; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">In the news</h2>
|-
| style="color:#000; padding:2px 5px;" | <div id="mp-itn">{{In the news}}</div>
|-
! style="padding:2px;" | <h2 id="mp-otd-h2" style="margin:3px; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">On this day...</h2>
|-
| style="color:#000; padding:2px 5px 5px;" | <div id="mp-otd">{{Wikipedia:Selected anniversaries/{{#time:F j}}}}</div>
|}
|}
<!--        TODAY'S FEATURED LIST        --><!-- CONDITIONAL: SHOW/HIDE FROM HERE -->{{#switch:{{CURRENTDAYNAME}}|Monday=
<table id="mp-middle" style="margin:4px 0 0 0; width:100%; background:none; border-spacing: 0px;">
<tr>
<td class="MainPageBG" style="width:100%; border:1px solid #f2cedd; background:#fff5fa; vertical-align:top; color:#000;">
<table id="mp-center" style="vertical-align:top; background:#fff5fa; color:#000; width:100%">
<tr>
<th style="padding:2px;"><h2 id="mp-tfl-h2" style="margin:3px; background:#f2cedd; font-size:120%; font-weight:bold; border:1px solid #bfa3af; text-align:left; color:#000; padding:0.2em 0.4em">Today's featured list</h2></th>
</tr><tr>
<td style="color:#000;"><div id="mp-tfl" style="padding:2px 5px;">{{#ifexist:Wikipedia:Today's featured list/{{#time:F j, Y}}|{{Wikipedia:Today's featured list/{{#time:F j, Y}}}}|{{TFLempty}}}}</div></td>
</tr>
</table>
</td>
</tr>
</table>
<!--        END TODAY'S FEATURED LIST        --><!-- CONDITIONAL: SHOW/HIDE TO HERE -->|}}
<!--        TODAY'S FEATURED PICTURE        -->
{| id="mp-lower" style="margin:4px 0 0 0; width:100%; background:none; border-spacing: 0px;"
| class="MainPageBG" style="width:100%; border:1px solid #ddcef2; background:#faf5ff; vertical-align:top; color:#000;"|
{| id="mp-bottom" style="vertical-align:top; background:#faf5ff; color:#000; width:100%"
! style="padding:2px;" | <h2 id="mp-tfp-h2" style="margin:3px; background:#ddcef2; font-size:120%; font-weight:bold; border:1px solid #afa3bf; text-align:left; color:#000; padding:0.2em 0.4em">{{#ifexist:Template:POTD protected/{{#time:Y-m-d}}|Today's featured picture|Featured picture&ensp;<span style="font-size:85%; font-weight:normal;">(Check back later for today's.)</span>}}</h2>
|-
| style="color:#000; padding:2px;" | <div id="mp-tfp">{{#ifexist:Template:POTD protected/{{#time:Y-m-d}}|{{POTD protected/{{#time:Y-m-d}}}}|{{POTD protected/{{#time:Y-m-d|-1 day}}}}}}</div>
|}
|}
{|class="wikitable"
|-
|width=50|<img src="http://www.traba.org/wikitraba/images/5/58/200px-Flag_of_Iceland.svg.png" width="100%"/>
|}
===before===
<R output="html" iframe="width:100%;height:250px;">
<R output="html" iframe="width:100%;height:250px;">
prob=0.15; nmin=1; nmax=15; x=6
prob=0.15; nmin=1; nmax=15; x=6
Línia 98: Línia 22:
</R>
</R>


<R>1:20</R>
----
<math>\int_{-N}^{N} e^x\, dx</math>
<math>\int_{-N}^{N} e^x\, dx</math>
<math>
  \operatorname{erfc}(x) =
  \frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2}\,dt =
  \frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}}
</math>
----
hola <cite>MultipleFluors</cite>
<nocite>exemple</nocite>
<biblio force=false>
#exemple pmid=15819888
#Barash2010 pmid=20445623
#MultipleFluors pmid=15558047
#SmolkeNAR2010 pmid=20385591
#IntronSizeDist pmid=16980575
#Kangueane2004 pmid=15217358
#SmithReview2005 pmid=15956978
#SplicingNomenclature pmid=18688268
</biblio>

Revisió del 10:00, 13 oct 2011

Probando

<R output="html" iframe="width:100%;height:250px;"> prob=0.15; nmin=1; nmax=15; x=6 m <-pbinom(rep(0:x, each = nmax-nmin+1), rep(nmin:nmax,x), prob) dim(m) <- c(nmax-nmin+1,x+1) m <- t(m) colnames(m) <- format(nmin:nmax) rownames(m) <- format(0:x) outHTML(rhtml, m, title="x\n", format="f", digits=4) </R>

<R output="display" iframe="width:400px;height:400px"> pdf(rpdf, width=5, height=5) n <- 10 prob <- 0.2 x <- seq(0, n, 1) p <- dbinom(x, n, prob) param <- list(n, prob) main <- c("Binomialverteilung - Wahrscheinlichkeitsfunktion", paste (c("Stichprobenumfang n", "Wahrscheinlichkeit p"), param, sep="=")) plot(x,p, type="h", main=main) </R>