Difference between revisions of "ArchWiki:Sandbox"

From ArchWiki
Jump to: navigation, search
(test)
m (Reverted edits by Lahwaacz (talk) to last revision by Nl6720)
 
(423 intermediate revisions by 55 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:
drvtv {{ic|a}}aa</tt> restdf
+
|-
 
+
| Cada uno es como Dios le hizo, y aún peor muchas veces.
<tt>'''this is test'''</tt>
+
|}
  
<code>a
+
test test
  aa</code>
+
  I can't live, if living is without 'U'
  
{{bc|
+
== Test < > chars in pre and code ==
a}}</pre>
 
  
{{ic|aaa
+
  this < is < sparta >
  bbb}}
 
  
==Arch linux==
+
what is this {{ic|thing <doing> <<< >>>}} here
  
archlinux is the best linux distro available.
+
==test==
 +
===Third heading===
 +
This is a para also
 +
====Fourth heading====
 +
::Me too<br>New line
  
ǝlqɐlıɐʌɐ oɹʇsıp xnuıl ʇsǝq ǝɥʇ sı xnuılɥɔɹɐ
+
'''''bold and italics'''''
  
#<!-- floating sidebar? -->
+
''''' Bold and italics are in five apostrophes'''''
#<div class="toc" style="position:fixed;left:0;bottom:0;width:139px;height:120px;">This is a test</div>
+
=====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."
  
This is <pre style="display: inline;">inline</pre> maybe?
+
==Ingredientes, panqueques con manjar!!==
  
Maybe <pre style="display: inline; padding: 0.1em 0.2em;">this one</pre> can be inline instead... (am I really discussing even here???)
 
  
#**abcds <br>
+
{{hc|Ingredientes Arch|
--------[[Image:Tango-two-arrows.png]]
 
#**sdfaf
 
# pacman -S foo bar
 
  
{{ic| fsdgsdfgdhdfgh}}
+
* 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 ==
  
????????????????????//oiyiouoj
+
{{hc|Hello World program|
 +
#include <stdio.h>
 +
int main(int argc, char* argv[])
 +
{
 +
  printf("Hello World!\n");
 +
  return 0;
 +
}
 +
}}
  
=A very big heading=
+
== cb2 ==
 +
{{hc|asdf|
 +
lkl
 +
}}
  
这里可以使用中文吗?
+
*bullet list
test test 321
+
*again
BLAH TEST
+
**indent
 +
***more indent
 +
*bullet
 +
Link to pacman
 +
[[pacman]]
 +
'''Bold text'''''Italic text''  [http://www.example.com link title]
  
{{Keypress|A}}
+
<s>strike out</s>
#helo
 
^^^^
 
  
{{Keypress|Return}}
+
test: asfd
  
# cat /boot/vmlinuz26 > /dev/dsp
+
{{Note|This is a note.}}
# pacman -S foo bar
 
  
Pacman utils
+
{{Note|This is another note}}
  
$ pacman -Ss <the-name-of-a-package>
+
{{Note|The creation of these notes has been note-iced ;)}}
$ sudo pacman -S <the-name-of-a-package>
 
  
or (as root)
+
:::testing indent
 +
    testing indent
 +
{{hc|Lorem Ipsum|{{Lorem Ipsum}}}}
  
# pacman -Ss <the-name-of-a-package>
+
== Template sandbox ==
# pacman -S <the-name-of-a-package>
 
  
{{hc|File Name|File Content}}
+
Section for testing [[Template:Sandbox]].
  
{{Note|Note text}}
+
{{Sandbox|Testing message.}}
  
{{Tip|Tip text}}
+
{{Sandbox|Msg|2=Second|talk=Talk|section=Section}}
  
{{Warning|Warning text}}
+
== Code blocks ==
  
{{ic|pacman --sync --refresh --sysupgrade}}
+
<pre>
 +
<i>foo</i> [[bar]]
 +
</pre>
  
{{ic|/etc/rc.local}}
+
<i>foo</i> [[bar]]
  
{{Progressbar|13}}
+
{{bc|<i>foo</i> [[bar]]}}
{{Progressbar|50}}
 
 
 
{| border="1"
 
| A || B
 
|-
 
| C || D
 
|}
 
  
== Q and A ==
+
Inline <code>monospace</code>.
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
+
== TEST ==
to the wiki, which can then be used as such:
+
Is this how I write stuff underneath?
  
That's a test!
+
Is this how I link to [[wine|WINE]] ??
  
[[Image:Tango-two-arrows.png]]
+
<s>Is this how I link to [[wine:PlayOnLinux.2fPLayOnMac|WINE#PlayOnLinux]]</s> < - Nope.
  
=Top Level Heading (title)=
+
Is this how linking pages works? [[wine:PlayOnLinux.2FPlayOnMac|Wine#PlayOnLinux]]
  
==Article headings==
+
<s>Tell me I have it... [[wine:#PlayOnLinux.2FPlayOnMac|WINE#PlayOnLinx]]</s> < - Im glad we have a sandbox!
===Inner headings===
 
====Innerer headings====
 
=====Innererer headings=====
 
======Inest headings======
 
=======Aargh!=======
 
  
==And Here's the Code==
+
This should work: [[wine#PlayOnLinux.2FPlayOnMac|WINE #PlayOnLinux]]
line1
 
line2
 
line3
 
line4
 
line5
 
==And Here's the Code==
 
(second part)
 
  
==OK. Another heading==
+
''I GOT IT'' '''YES!''' '''''TEST OF BOLD AND ITALICS'''''
= 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 ==
+
<s>Is this how I [www.google.ca LINK] to an external site?</s> < - Requires https??
{| border="1" width="100%"
 
| <span style="color: #ff9900"><b>FEATURE RICH</b></span>                                                                  <ul>
 
<li>CGI, FastCGI, LSAPI, PHP, Servlet/JSP, Proxy</li>
 
<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>
 
<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 ==
+
[https://www.google.ca Take me to google!] < - does this work?
{| border="1" width="100%"
+
    Yup! Also code tags work. 
| <span style="color: #ff9900">'''FEATURE RICH'''</span>                                                                 
 
  
* CGI, FastCGI, LSAPI, PHP, Servlet/JSP, Proxy
+
:Indent?
* SSL, IPv4, IPv6
+
::More indent?
* Best Ruby on Rail support
+
:::Looks good to me.
* 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
+
===Test, part 2===
* 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>
 
  
* Easy installation
+
Is this how I create a subsection in the table of contents?
* 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
+
{| class="wikitable mw-collapsible mw-collapsed"
* Deny any buffer-overrun attempts
+
! The answer is...:
* 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>
+
| YES! Also hide tags work!
 
+
|}
* 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
+
{| class="wikitable mw-collapsible mw-collapsed"
* Web hosting control panel compatible: cPanel, DirectAdmin, Plesk, etc
+
! test spoiler:
* 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]
+
| Cada uno es como Dios le hizo, y aún peor muchas veces.
|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 20:46, 5 April 2017

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. | {{{3}}} | not packaged? search in AUR | {{{2}}}

|- | Msg | {{{3}}} | not packaged? search in AUR | Second

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.