Difference between revisions of "ArchWiki:Sandbox"

From ArchWiki
Jump to: navigation, search
(Undo revision 240962 by Pedro (talk))
(Code blocks)
 
(362 intermediate revisions by 45 users not shown)
Line 1: Line 1:
 
[[Category:Sandbox]]
 
[[Category:Sandbox]]
=What is a First Heading?=
+
{{Related articles start}}
上面说,其实可以这样换行的
+
{{Related|Help:Editing}}
 +
{{Related|Help:Style}}
 +
{{Related articles end}}
 +
''You can use this page to practise editing the wiki.''
  
* 像用<tt><nowiki><br></nowiki></tt>就可以了 <br> 这样子。
+
-------------------------------------------------------
* 多好
+
* wiki很强大。
+
===second heading===
+
有时候想想,单一的样式实在是乏味,所以我们需要一些创造力。
+
  
''italics''
+
==test
 +
===dl
 +
====dt
 +
=====dd
 +
== test ==
 +
=== 1.1 ===
  
 +
this is paragraph 1
  
====third heading====
+
this is another paragraph and another one.
=====fourth heading=====
+
 
 +
<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>
 +
 
 +
==Arch==
 +
 
 +
{| class="wikitable mw-collapsible mw-collapsed"
 +
! 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 {{ic|thing <doing> <<< >>>}} here
 +
 
 +
==test==
 +
===Third heading===
 +
This is a para also
 +
====Fourth heading====
 +
::Me too<br>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!!==
 +
 
 +
 
 +
{{hc|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 ==
 +
 
 +
{{hc|Hello World program|
 +
#include <stdio.h>
 +
int main(int argc, char* argv[])
 +
{
 +
  printf("Hello World!\n");
 +
  return 0;
 +
}
 +
}}
 +
 
 +
== 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]
 +
 
 +
<s>strike out</s>
 +
 
 +
test: asfd
 +
 
 +
{{Note|This is a note.}}
 +
 
 +
{{Note|This is another note}}
 +
 
 +
:::testing indent
 +
    testing indent
 +
{{hc|Lorem Ipsum|{{Lorem Ipsum}}}}
 +
 
 +
== Template sandbox ==
 +
 
 +
Section for testing [[Template:Sandbox]].
 +
 
 +
{{Sandbox|Testing message.}}
 +
 
 +
{{Sandbox|Msg|2=Second|talk=Talk|section=Section}}
 +
 
 +
== Code blocks ==
 +
 
 +
<pre>
 +
<i>foo</i> [[bar]]
 +
</pre>
 +
 
 +
<i>foo</i> [[bar]]
 +
 
 +
{{bc|<i>foo</i> [[bar]]}}
 +
 
 +
Inline <code>monospace</code>.

Latest revision as of 13:01, 8 April 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
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.



Code blocks

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

Inline monospace.