Difference between revisions of "User:Cactus/Sandbox"

From SME Server
Jump to navigationJump to search
m (Trying to implement logic again)
(Added Note box template example with BugSquish bugzilla link)
 
(55 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span>
+
__TOC__
  <div style="float:left">
+
===[[bugzilla: 3283]]===
    <div style="font-size: 120%; width:700px">'''{{{package|{{{1}}}}}}'''</div>
 
    {{ #if:{{{description|{{{2}}}|}}}|<div>{{{description|{{{2}}}}}}</div>}}
 
  </div>
 
{{#if:{{{4|}}}|
 
  <div style="float:right;">
 
    <div style="text-align: center; color: white;font-size:80%">Devel:</div>
 
    <div style="text-align: center;font-size: 120%; font-weight: bold;color: white;">
 
[http://mirror.contribs.org/smeserver/releases/7/smecontribs/i386/repodata/repoview/{{{package|{{{1}}}}}}-0-{{{devel|{{{4}}}}}}.el4.sme.html {{{devel|{{{4}}}}}}]
 
    </div>
 
  </div>
 
  
  <div style="float:right;">
+
<ol>
    <div style="text-align: center; color: white;font-size:80%">Devel:</div>
+
<li>
    <div style="text-align: center;font-size: 120%; font-weight: bold;color: white;">
+
lorem ipsum
[http://mirror.contribs.org/smeserver/releases/7/smecontribs/i386/repodata/repoview/{{{package|{{{1}}}}}}-0-{{{devel|{{{4}}}}}}.el4.sme.html {{{devel|{{{4}}}}}}]
+
foo bar
    </div>
+
dolor sit amet
  </div> |
+
</li>
{{#if:{{{devel|}}}|
+
</ol>
  <div style="float:right;">
 
    <div style="text-align: center; color: white;font-size:80%">Stable:</div>
 
    <div style="text-align: center;font-size: 120%; font-weight: bold;color: white;">
 
[http://mirror.contribs.org/smeserver/releases/7/smecontribs/i386/repodata/repoview/{{{package|{{{1}}}}}}-0-{{{stable|{{{3}}}}}}.el4.sme.html {{{stable|{{{3}}}}}}]
 
    </div>
 
  </div>
 
}} }}
 
</span>
 
  
<!---
+
should be the same as:
{| style="background-color: #EFE9E9; margin: 1em 2.5% 0 2.5%; border: 1px solid #aaa;"
+
 
|-
+
<ol>
|
+
<li>
<div style="width:700px">
+
lorem ipsum
<div style="font-size: 120%; width:700px">'''{{{package|{{{1}}}}}}'''</div>
+
<pre>foo bar</pre>
{{ #if:{{{description|{{{2}}}|}}}|<div>{{{description|{{{2}}}}}}</div>}}</div>
+
dolor sit amet
| style="background-color: #2f6fab;padding: 3px 3px" |
+
</li>
<span><div><div style="text-align: center; color: white;font-size:80%">Stable:</div>
+
</ol>
<div style="text-align: center;font-size: 120%; font-weight: bold;color: white;">[http://mirror.contribs.org/smeserver/releases/7/smecontribs/i386/repodata/repoview/{{{package|{{{1}}}}}}-0-{{{stable|{{{3}}}}}}.el4.sme.html {{{stable|{{{3}}}}}}]</div></div>
+
----
{{#if:{{{4|}}}|<div><div style="text-align: center; color: white;font-size:80%">Devel:</div>
+
==={{Fail}} This is a failed test in a header===
<div style="text-align: center;font-size: 120%; font-weight: bold;color: white;">[http://mirror.contribs.org/smeserver/releases/7/smetest/i386/repodata/repoview/{{{package|{{{1}}}}}}-0-{{{4}}}.el4.sme.html {{{4}}}]</div></div> |
+
==={{Pass}} This is a passed test in a header===
{{#if:{{{devel|}}}|<div><div style="text-align: center; color: white;font-size:80%">Devel:</div>
+
 
<div style="text-align: center;font-size: 120%; font-weight: bold;color: white;">[http://mirror.contribs.org/smeserver/releases/7/smetest/i386/repodata/repoview/{{{package|{{{1}}}}}}-0-{{{devel}}}.el4.sme.html {{{devel}}}]</div></div>}} }}</span>
+
---
|}
+
===BugSquish CSS tests ===
--->
+
[[bugzilla: 3283]]
<noinclude>
+
[[bugzilla: 1]]
===Usage===
+
 
<nowiki>{{User:Cactus/Sandbox|package=smeserver-subversion|description=Provides subversion to SME Server|stable=1.4-17|devel=1.4-18}}</nowiki>
+
===NoteBox template and BugSquish===
{{User:Cactus/Sandbox|package=smeserver-subversion|description=Provides subversion to SME Server|stable=1.4-17|devel=1.4-18}}
+
 
<nowiki>{{User:Cactus/Sandbox|package=smeserver-subversion|description=Provides subversion to SME Server|stable=1.4-17}}</nowiki>
+
{{Note box|msg=This should show a [[bugzilla: 1]].}}
{{User:Cactus/Sandbox|package=smeserver-subversion|description=Provides subversion to SME Server|stable=1.4-17}}
 
<nowiki>{{User:Cactus/Sandbox|smeserver-subversion|Provides subversion to SME Server|1.4-17|1.4-18}}</nowiki>
 
{{User:Cactus/Sandbox|smeserver-subversion|Provides subversion to SME Server|1.4-17|1.4-18}}
 
<nowiki>{{User:Cactus/Sandbox|smeserver-subversion|Provides subversion to SME Server|1.4-17}}</nowiki>
 
{{User:Cactus/Sandbox|smeserver-subversion|Provides subversion to SME Server|1.4-17}}</noinclude>
 

Latest revision as of 21:07, 13 February 2013

bugzilla: 3283

  1. lorem ipsum foo bar dolor sit amet

should be the same as:

  1. lorem ipsum
    foo bar

    dolor sit amet


Face-sad.png This is a failed test in a header

Face-smile.png This is a passed test in a header

---

BugSquish CSS tests

bugzilla: 3283 bugzilla: 1

NoteBox template and BugSquish

Important.png Note:
This should show a bugzilla: 1.