Difference between revisions of "ArchWiki:Sandbox"

From ArchWiki
Jump to: navigation, search
(yep, that's how transclusions work, but 1) we don't really use them here, and 2) leaving it in this page may lead somebody to click on a section "edit" link and do sandboxing in Help:Editing)
 
(418 intermediate revisions by 53 users not shown)
Line 1: Line 1:
 
[[Category:Sandbox]]
 
[[Category:Sandbox]]
{{注意|注意注意注意}}
+
{{Related articles start}}
[[pt:Sandbox]]
+
{{Related|Help:Editing}}
{{DISPLAYTITLE:新標題}}
+
{{Related|Help:Style}}
'''Welcome to the ArchWiki. Feel free to train your Wiki editing skills on this page.'''
+
{{Related articles end}}
{{警告|警告警告}}
+
''You can use this page to practise editing the wiki.''
{{Article summary start}}
+
{{Article summary text|My text.}}
+
{{Sandbox|Sandbox}}
+
{{Article summary heading|Links}}
+
{{Article summary link|Archlinux.org|http://archlinux.org}}
+
{{Article summary heading|See also}}
+
{{Article summary wiki|Category:Sandbox}}
+
{{Article summary end}}
+
  
{{Sandbox|expansion}}
+
-------------------------------------------------------
  
{{Sandbox}}
+
==test
{{Keypress|Ctrl}}
+
===dl
==这是一个一级标题==
+
====dt
===这是一个二级标题===
+
=====dd
*1
+
== test ==
*2
+
=== 1.1 ===
#1
+
#2
+
#4
+
*{{警告|警告警告}}
+
  
Some pointers to learn the right syntax:
+
this is paragraph 1
* http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet
+
* http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page
+
* http://meta.wikimedia.org/wiki/Category:Documentation
+
* http://en.wikipedia.org/wiki/Help:Table
+
  
<br><hr> <!-- Your stuff goes below this line, okay? -->
+
this is another paragraph and another one.
  
{{:Sandbox/New Entry}}
+
<dl>
 +
<dt>
 +
<i>file</i><b>.i</b></dt>
 +
<dd>
 +
C source code that should not be preprocessed.</dd>
 +
</dl>
 +
<dl>
 +
<dt>
 +
<i>file</i><b>.ii</b></dt>
 +
<dd>
 +
C++ source code that should not be preprocessed.</dd>
 +
</dl>
 +
<dl>
 +
<dt>
 +
<i>file</i><b>.m</b></dt>
 +
<dd>
 +
Objective-C source code.  Note that you must link with the
 +
<i>libobjc</i> library to make an Objective-C program
 +
work.</dd>
 +
</dl>
  
szcrsex {{ic|a}}aa</code> rxsrse
+
==Arch==
  
szcrsex {{ic|a}}aa</code> rxsrse
+
{| class="wikitable mw-collapsible mw-collapsed"
 +
! test spoiler:
 +
|-
 +
| Cada uno es como Dios le hizo, y aún peor muchas veces.
 +
|}
  
drvtv {{ic|a}}aa</tt> restdf
+
test test
 +
I can't live, if living is without 'U'
  
<tt>'''this is test'''</tt>
+
== Test < > chars in pre and code ==
  
<code>a
+
  this < is < sparta >
  aa</code>
+
  
{{bc|
+
what is this {{ic|thing <doing> <<< >>>}} here
a}}</pre>
+
  
{{ic|aaa
+
==test==
bbb}}
+
===Third heading===
 +
This is a para also
 +
====Fourth heading====
 +
::Me too<br>New line
  
==Arch linux==
+
'''''bold and italics'''''
  
archlinux is the best linux distro available.
+
''''' Bold and italics are in five apostrophes'''''
 +
=====Fifth Level Heading=====
 +
no indent
 +
:indent
 +
::more indent
 +
:::and more
 +
"No andes, Sancho, desceñido y flojo, que el vestido descompuesto da indicios de ánimo desmalazado."
  
ǝlqɐlıɐʌɐ oɹʇsıp xnuıl ʇsǝq ǝɥʇ sı xnuılɥɔɹɐ
+
==Ingredientes, panqueques con manjar!!==
  
archlinux jest najlepszym linuksowym distro
 
  
#<!-- floating sidebar? -->
+
{{hc|Ingredientes Arch|
#<div class="toc" style="position:fixed;left:0;bottom:0;width:139px;height:120px;">This is a test</div>
+
  
This is <pre style="display: inline;">inline</pre> maybe?
+
* 2 Unidades de Huevos
 +
* 1 Taza de Harina
 +
* 1 Taza de Leche
 +
* 1 Cucharadita de Aceite
 +
* 1 Pizca de Sal
 +
* Manjar (dulce de leche)
 +
* 1 Paquete de Azúcar flor para decorar
 +
}}
  
Maybe <pre style="display: inline; padding: 0.1em 0.2em;">this one</pre> can be inline instead... (am I really discussing even here???)
+
== Code block ==
  
#**abcds <br>
+
{{hc|Hello World program|
--------[[Image:Tango-two-arrows.png]]
+
#include <stdio.h>
#**sdfaf
+
int main(int argc, char* argv[])
# pacman -S foo bar
+
{
 +
  printf("Hello World!\n");
 +
  return 0;
 +
}
 +
}}
  
{{ic| fsdgsdfgdhdfgh}}
+
== cb2 ==
 +
{{hc|asdf|
 +
lkl
 +
}}
  
 +
*bullet list
 +
*again
 +
**indent
 +
***more indent
 +
*bullet
 +
Link to pacman
 +
[[pacman]]
 +
'''Bold text'''''Italic text''  [http://www.example.com link title]
  
????????????????????//oiyiouoj
+
<s>strike out</s>
  
=A very big heading=
+
test: asfd
  
这里可以使用中文吗?
+
{{Note|This is a note.}}
test test 321
+
BLAH TEST
+
  
{{Keypress|A}}
+
{{Note|This is another note}}
#helo
+
^^^^
+
  
{{Keypress|Return}}
+
{{Note|The creation of these notes has been note-iced ;)}}
  
# cat /boot/vmlinuz26 > /dev/dsp
+
:::testing indent
# pacman -S foo bar
+
    testing indent
 +
{{hc|Lorem Ipsum|{{Lorem Ipsum}}}}
  
Pacman utils
+
== Template sandbox ==
  
$ pacman -Ss <the-name-of-a-package>
+
Section for testing [[Template:Sandbox]].
$ sudo pacman -S <the-name-of-a-package>
+
  
or (as root)
+
{{Sandbox|Testing message.}}
  
# pacman -Ss <the-name-of-a-package>
+
{{Sandbox|Msg|2=Second|talk=Talk|section=Section}}
# pacman -S <the-name-of-a-package>
+
  
{{hc|File Name|File Content}}
+
== Code blocks ==
  
{{Note|Note text}}
+
<pre>
 +
<i>foo</i> [[bar]]
 +
</pre>
  
{{Tip|Tip text}}
+
<i>foo</i> [[bar]]
  
{{Warning|Warning text}}
+
{{bc|<i>foo</i> [[bar]]}}
  
{{ic|pacman --sync --refresh --sysupgrade}}
+
Inline <code>monospace</code>.
  
{{ic|/etc/rc.local}}
+
== TEST ==
 +
Is this how I write stuff underneath?
  
{{Progressbar|13}}
+
Is this how I link to [[wine|WINE]] ??
{{Progressbar|50}}
+
  
{| border="1"
+
<s>Is this how I link to [[wine:PlayOnLinux.2fPLayOnMac|WINE#PlayOnLinux]]</s> < - Nope.
| A || B
+
|-  
+
| C || D
+
|}
+
  
== Q and A ==
+
Is this how linking pages works? [[wine:PlayOnLinux.2FPlayOnMac|Wine#PlayOnLinux]]
Q: Isn't is possible to add remote image files to wiki?
+
  
A: No. The setting is disabled. Contact a wiki admin to upload images
+
<s>Tell me I have it... [[wine:#PlayOnLinux.2FPlayOnMac|WINE#PlayOnLinx]]</s> < - Im glad we have a sandbox!
to the wiki, which can then be used as such:
+
  
That's a test!
+
This should work: [[wine#PlayOnLinux.2FPlayOnMac|WINE #PlayOnLinux]]
  
[[Image:Tango-two-arrows.png]]
+
''I GOT IT'' '''YES!''' '''''TEST OF BOLD AND ITALICS'''''
  
=Top Level Heading (title)=
+
<s>Is this how I [www.google.ca LINK] to an external site?</s> < - Requires https??
  
==Article headings==
+
[https://www.google.ca Take me to google!] < - does this work?
===Inner headings===
+
    Yup! Also code tags work. 
====Innerer headings====
+
=====Innererer headings=====
+
======Inest headings======
+
=======Aargh!=======
+
  
==And Here's the Code==
+
:Indent?
line1
+
::More indent?
line2
+
:::Looks good to me.
line3
+
line4
+
line5
+
==And Here's the Code==
+
(second part)
+
  
==OK. Another heading==
+
===Test, part 2===
= Columns =
+
== Testing columns ==
+
<div style="float: left; width: 50%; border: 1px ">
+
* Info for first column
+
More info for first column
+
</div><div style="float: left; width: 50%">
+
* Info for second column
+
More info for second column
+
</div>
+
[[#Columns]]
+
  
== Testing two ==
+
Is this how I create a subsection in the table of contents?
{| border="1" width="100%"
+
 
| <span style="color: #ff9900"><b>FEATURE RICH</b></span>                                                                  <ul>
+
{| class="wikitable mw-collapsible mw-collapsed"
<li>CGI, FastCGI, LSAPI, PHP, Servlet/JSP, Proxy</li>
+
! The answer is...:
<li>SSL, IPv4, IPv6</li>
+
<li>Best Ruby on Rail support</li>
+
<li>Apache compatible .htaccess support</li>
+
<li>mod_security compatible request filtering</li>
+
<li>Apache compatible URL rewrite engine</li>
+
<li>MS FrontPage Server Extension</li>
+
</ul>
+
|<span style="color: #ff9900"><b>FAST</b></span>
+
<ul>
+
<li>Up to <b>9</b> times faster than Apache</li>
+
<li>PHP performance increases 50%</li>
+
<li>Best Ruby on Rail performance</li>
+
<li>3 times faster than Apache in SSL</li>
+
<li>Efficient CGI daemon</li>
+
<li>High performance Perl daemon</li>
+
<li>SSL Hardware acceleration</li>
+
</ul>
+
 
|-
 
|-
|<span style="color: #ff9900"><b>USER FRIENDLY</b></span>
+
| YES! Also hide tags work!
<ul>
+
<li>Easy installation</li>
+
<li>Automatic PHP Setup</li>
+
<li>Easy server management through Admin GUI</li>
+
<li>Apply changes on the fly</li>
+
<li>Real-time service monitoring</li>
+
<li>Automatic update agent</li>
+
<li>Virtual host template configuration</li>
+
</ul>                                         
+
|<span style="color: #ff9900"><b>SECURE</b></span>
+
<ul>
+
<li>Strictest HTTP request validation</li>
+
<li>Deny any buffer-overrun attempts</li>
+
<li>Anti-DDoS: Throttling &amp; Connection Accounting</li>
+
<li>System overloading prevention</li>
+
<li>Chroot web server process</li>
+
<li>CGI/FCGI/LSAPI/PHP/RUBY suEXEC </li>
+
<li>Virtual host chroot</li>
+
</ul>
+
|-
+
|<span style="color: #ff9900"><b>RELIABLE</b></span>
+
<ul>
+
<li>Watch Dog monitoring</li>
+
<li>Recover from service failure instantly</li>
+
<li>Zero down time graceful restart</li>
+
</ul>
+
|<span style="color: #ff9900"><b>SCALABLE</b></span>
+
<ul>
+
<li>Small memory footprint</li>
+
<li>Thousands of concurrent connections</li>
+
<li>Increase scalability of external web applications </li>
+
</ul>
+
|-
+
| colspan="2" |<span style="color: #ff9900"><b>EASILY FIT INTO YOUR EXISTING WEB INFRASTRUCTURE</b></span>
+
<ul>
+
<li>Apache interchangeable, operate directly from Apache httpd.conf</li>
+
<li>Web hosting control panel compatible: cPanel, DirectAdmin, Plesk, etc</li>
+
<li>Migration from other web servers is quick and easy </li>
+
<li>No need to purchase extra hardware to cope with your current web server's lack of performance</li>
+
<li> Or have LiteSpeed serve as a content accelerator, compression proxy or security guard in front of your current web/Application server, improving performance, scalability and security.</li>
+
</ul>
+
 
|}
 
|}
  
== Extra two ==
+
{| class="wikitable mw-collapsible mw-collapsed"
{| border="1" width="100%"
+
! test spoiler:
| <span style="color: #ff9900">'''FEATURE RICH'''</span>                                                                 
+
 
+
* CGI, FastCGI, LSAPI, PHP, Servlet/JSP, Proxy
+
* SSL, IPv4, IPv6
+
* Best Ruby on Rail support
+
* Apache compatible .htaccess support
+
* mod_security compatible request filtering
+
* Apache compatible URL rewrite engine
+
* MS FrontPage Server Extension
+
|<span style="color: #ff9900">'''FAST'''</span>
+
 
+
* Up to '''9''' times faster than Apache
+
* PHP performance increases 50%
+
* Best Ruby on Rail performance
+
* 3 times faster than Apache in SSL
+
* Efficient CGI daemon
+
* High performance Perl daemon
+
* SSL Hardware acceleration
+
 
|-
 
|-
|<span style="color: #ff9900">'''USER FRIENDLY'''</span>
+
| Cada uno es como Dios le hizo, y aún peor muchas veces.
 
+
* Easy installation
+
* Automatic PHP Setup
+
* Easy server management through Admin GUI
+
* Apply changes on the fly
+
* Real-time service monitoring
+
* Automatic update agent
+
* Virtual host template configuration                                         
+
|<span style="color: #ff9900">'''SECURE'''</span>
+
 
+
* Strictest HTTP request validation
+
* Deny any buffer-overrun attempts
+
* Anti-DDoS: Throttling &amp; Connection Accounting
+
* System overloading prevention
+
* Chroot web server process
+
* CGI/FCGI/LSAPI/PHP/RUBY suEXEC
+
* Virtual host chroot
+
|-
+
|<span style="color: #ff9900">'''RELIABLE'''</span>
+
 
+
* Watch Dog monitoring
+
* Recover from service failure instantly
+
* Zero down time graceful restart
+
|<span style="color: #ff9900">'''SCALABLE'''</span>
+
 
+
* Small memory footprint
+
* Thousands of concurrent connections
+
* Increase scalability of external web applications
+
|-
+
| colspan="2" |<span style="color: #ff9900">'''EASILY FIT INTO YOUR EXISTING WEB INFRASTRUCTURE'''</span>
+
 
+
* Apache interchangeable, operate directly from Apache httpd.conf
+
* Web hosting control panel compatible: cPanel, DirectAdmin, Plesk, etc
+
* Migration from other web servers is quick and easy
+
* No need to purchase extra hardware to cope with your current web server's lack of performance
+
*  Or have LiteSpeed serve as a content accelerator, compression proxy or security guard in front of your current web/Application server, improving performance, scalability and security.
+
|-
+
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=202775&oldid=202774 Sandbox]
+
|2012-05-24 19:19:18
+
|content
+
|test
+
|-
+
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=202775&oldid=202774 Sandbox]
+
|2012-05-24 19:19:18
+
|content
+
|test
+
|-
+
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=202775&oldid=202774 Sandbox]
+
|2012-05-24 19:19:18
+
|content
+
|test
+
|-
+
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=202775&oldid=202774 Sandbox]
+
|2012-05-24 19:19:18
+
|content
+
|test
+
|-
+
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=203030&oldid=203029 Sandbox]
+
|2012-05-27 23:19:27
+
|content
+
|test
+
|-
+
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=203030&oldid=203029 Sandbox]
+
|2012-05-27 23:19:27
+
|content
+
|test
+
|-
+
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=203030&oldid=203029 Sandbox]
+
|2012-05-27 23:19:27
+
|content
+
|test
+
|-
+
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=217099&oldid=217098 Sandbox]
+
|2012-08-08&nbsp;16:38:43
+
|content
+
|test
+
|-
+
|[https://wiki.archlinux.org/index.php?title=Sandbox&action=historysubmit&diff=217240&oldid=217099 Sandbox]
+
|2012-08-09&nbsp;14:34:16
+
|content
+
|test
+
 
|}
 
|}
test
 
 
== Tesztrész ==
 

Latest revision as of 01:17, 11 September 2016

Related articles

You can use this page to practise editing the wiki.


==test ===dl ====dt =====dd

test

1.1

this is paragraph 1

this is another paragraph and another one.

file.i
C source code that should not be preprocessed.
file.ii
C++ source code that should not be preprocessed.
file.m
Objective-C source code. Note that you must link with the libobjc library to make an Objective-C program work.

Arch

test spoiler:
Cada uno es como Dios le hizo, y aún peor muchas veces.
test test
I can't live, if living is without 'U'

Test < > chars in pre and code

this < is < sparta >

what is this thing <doing> <<< >>> here

test

Third heading

This is a para also

Fourth heading

Me too
New line

bold and italics

Bold and italics are in five apostrophes

Fifth Level Heading

no indent

indent
more indent
and more

"No andes, Sancho, desceñido y flojo, que el vestido descompuesto da indicios de ánimo desmalazado."

Ingredientes, panqueques con manjar!!

Ingredientes Arch

* 2 Unidades de Huevos
* 1 Taza de Harina
* 1 Taza de Leche
* 1 Cucharadita de Aceite
* 1 Pizca de Sal
* Manjar (dulce de leche)
* 1 Paquete de Azúcar flor para decorar

Code block

Hello World program
#include <stdio.h>
int main(int argc, char* argv[])
{
  printf("Hello World!\n");
  return 0;
}

cb2

asdf
lkl
  • bullet list
  • again
    • indent
      • more indent
  • bullet

Link to pacman pacman Bold textItalic text link title

strike out

test: asfd

Note: This is a note.
Note: This is another note
Note: The creation of these notes has been note-iced ;)
testing indent
   testing indent
Lorem Ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin egestas, magna non sollicitudin commodo, sapien elit semper sapien, adipiscing consectetur nisi ipsum ut elit. Sed ac neque ut nulla tempor porttitor. Mauris interdum. Cras feugiat sodales nibh. Proin neque turpis.

Template sandbox

Section for testing Template:Sandbox.

Testing message.
Msg

Code blocks

<i>foo</i> [[bar]]
foo bar
foo bar

Inline monospace.

TEST

Is this how I write stuff underneath?

Is this how I link to WINE ??

Is this how I link to WINE#PlayOnLinux < - Nope.

Is this how linking pages works? Wine#PlayOnLinux

Tell me I have it... WINE#PlayOnLinx < - Im glad we have a sandbox!

This should work: WINE #PlayOnLinux

I GOT IT YES! TEST OF BOLD AND ITALICS

Is this how I [www.google.ca LINK] to an external site? < - Requires https??

Take me to google! < - does this work?

    Yup! Also code tags work.  
Indent?
More indent?
Looks good to me.

Test, part 2

Is this how I create a subsection in the table of contents?

The answer is...:
YES! Also hide tags work!
test spoiler:
Cada uno es como Dios le hizo, y aún peor muchas veces.