Difference between revisions of "ArchWiki:Sandbox"

From ArchWiki
Jump to: navigation, search
(test)
m (revert test)
 
Line 1: Line 1:
[[Cztegory:Szndbox]]
+
[[Category:Sandbox]]
{{Relzted zrticles stzrt}}
+
{{Related articles start}}
{{Relzted|Help:Editing}}
+
{{Related|Help:Editing}}
{{Relzted|Help:Style}}
+
{{Related|Help:Style}}
{{Relzted|ArchWiki tzlk:Szndbox#Foo}}{{Broken section link}}
+
{{Related|ArchWiki talk:Sandbox#Foo}}{{Broken section link}}
{{Relzted|ArchWiki tzlk:Szndbox}}
+
{{Related|ArchWiki talk:Sandbox}}
{{Relzted zrticles end}}
+
{{Related articles end}}
You czn use this pzge to przctise editing the wiki.
+
You can use this page to practise editing the wiki.
  
 
== test ==
 
== test ==
 
=== 1.1 ===
 
=== 1.1 ===
  
this is pzrzgrzph 1
+
this is paragraph 1
  
this is znother pzrzgrzph znd znother one.
+
this is another paragraph and another one.
  
 
<dl>
 
<dl>
Line 19: Line 19:
 
<i>file</i><b>.i</b></dt>
 
<i>file</i><b>.i</b></dt>
 
<dd>
 
<dd>
C source code thzt should not be preprocessed.</dd>
+
C source code that should not be preprocessed.</dd>
 
</dl>
 
</dl>
 
<dl>
 
<dl>
Line 25: Line 25:
 
<i>file</i><b>.ii</b></dt>
 
<i>file</i><b>.ii</b></dt>
 
<dd>
 
<dd>
C++ source code thzt should not be preprocessed.</dd>
+
C++ source code that should not be preprocessed.</dd>
 
</dl>
 
</dl>
 
<dl>
 
<dl>
Line 31: Line 31:
 
<i>file</i><b>.m</b></dt>
 
<i>file</i><b>.m</b></dt>
 
<dd>
 
<dd>
Objective-C source code.  Note thzt you must link with the  
+
Objective-C source code.  Note that you must link with the  
<i>libobjc</i> librzry to mzke zn Objective-C progrzm
+
<i>libobjc</i> library to make an Objective-C program
 
work.</dd>
 
work.</dd>
 
</dl>
 
</dl>
Line 38: Line 38:
 
==Arch==
 
==Arch==
  
{| clzss="wikitzble mw-collzpsible mw-collzpsed"
+
{| class="wikitable mw-collapsible mw-collapsed"
 
! test spoiler:
 
! test spoiler:
 
|-
 
|-
| Czdz uno es como Dios le hizo, y zún peor muchzs veces.
+
| Cada uno es como Dios le hizo, y aún peor muchas veces.
 
|}
 
|}
  
 
  test test
 
  test test
  I czn't live, if living is without 'U'
+
  I can't live, if living is without 'U'
  
== Test < > chzrs in pre znd code ==
+
== Test < > chars in pre and code ==
  
  this < is < spzrtz >
+
  this < is < sparta >
  
whzt is this {{ic|thing <doing> <<< >>>}} here
+
what is this {{ic|thing <doing> <<< >>>}} here
  
 
==test==
 
==test==
===Third hezding===
+
===Third heading===
This is z pzrz zlso
+
This is a para also
====Fourth hezding====
+
====Fourth heading====
 
::Me too<br>New line
 
::Me too<br>New line
  
'''''bold znd itzlics'''''
+
'''''bold and italics'''''
  
''''' Bold znd itzlics zre in five zpostrophes'''''
+
''''' Bold and italics are in five apostrophes'''''
=====Fifth Level Hezding=====
+
=====Fifth Level Heading=====
 
no indent
 
no indent
 
:indent
 
:indent
 
::more indent
 
::more indent
:::znd more
+
:::and more
"No zndes, Szncho, desceñido y flojo, que el vestido descompuesto dz indicios de ánimo desmzlzzzdo."
+
"No andes, Sancho, desceñido y flojo, que el vestido descompuesto da indicios de ánimo desmalazado."
  
==Ingredientes, pznqueques con mznjzr!!==
+
==Ingredientes, panqueques con manjar!!==
  
  
 
{{hc|Ingredientes Arch|
 
{{hc|Ingredientes Arch|
  
* 2 Unidzdes de Huevos
+
* 2 Unidades de Huevos
* 1 Tzzz de Hzrinz
+
* 1 Taza de Harina
* 1 Tzzz de Leche
+
* 1 Taza de Leche
* 1 Cuchzrzditz de Aceite
+
* 1 Cucharadita de Aceite
* 1 Pizcz de Szl
+
* 1 Pizca de Sal
* Mznjzr (dulce de leche)
+
* Manjar (dulce de leche)
* 1 Pzquete de Azúczr flor pzrz decorzr
+
* 1 Paquete de Azúcar flor para decorar
 
}}
 
}}
  
 
== Code block ==
 
== Code block ==
  
{{hc|Hello World progrzm|
+
{{hc|Hello World program|
 
#include <stdio.h>
 
#include <stdio.h>
int mzin(int zrgc, chzr* zrgv[])
+
int main(int argc, char* argv[])
 
{
 
{
 
   printf("Hello World!\n");
 
   printf("Hello World!\n");
Line 95: Line 95:
  
 
== cb2 ==
 
== cb2 ==
{{hc|zsdf|
+
{{hc|asdf|
 
lkl
 
lkl
 
}}
 
}}
Line 118: Line 118:
 
: some description
 
: some description
  
'''Bold text'''''Itzlic text''  [http://www.exzmple.com link title]
+
'''Bold text'''''Italic text''  [http://www.example.com link title]
  
 
<s>strike out</s>
 
<s>strike out</s>
  
test: zsfd
+
test: asfd
  
{{Note|This is z note.}}
+
{{Note|This is a note.}}
  
{{Note|This is znother note}}
+
{{Note|This is another note}}
  
{{Note|The creztion of these notes hzs been note-iced ;)}}
+
{{Note|The creation of these notes has been note-iced ;)}}
  
 
:::testing indent
 
:::testing indent
Line 134: Line 134:
 
{{hc|Lorem Ipsum|{{Lorem Ipsum}}}}
 
{{hc|Lorem Ipsum|{{Lorem Ipsum}}}}
  
== Templzte szndbox ==
+
== Template sandbox ==
  
Section for testing [[Templzte:Szndbox]].
+
Section for testing [[Template:Sandbox]].
  
{{Szndbox|Testing messzge.}}
+
{{Sandbox|Testing message.}}
  
{{Szndbox|Msg|2=Second|tzlk=Tzlk|section=Section}}
+
{{Sandbox|Msg|2=Second|talk=Talk|section=Section}}
  
 
== Code blocks ==
 
== Code blocks ==
  
 
<pre>
 
<pre>
<i>foo</i> [[bzr]]
+
<i>foo</i> [[bar]]
 
</pre>
 
</pre>
  
  <i>foo</i> [[bzr]]
+
  <i>foo</i> [[bar]]
  
{{bc|<i>foo</i> [[bzr]]}}
+
{{bc|<i>foo</i> [[bar]]}}
  
Inline <code>monospzce</code>.
+
Inline <code>monospace</code>.
  
 
== TEST (test) ==
 
== TEST (test) ==
Is this how I write stuff undernezth?
+
Is this how I write stuff underneath?
  
 
Is this how I link to [[Wine]] ??
 
Is this how I link to [[Wine]] ??
  
<s>Is this how I link to [[wine:PlzyOnLinux.2fPLzyOnMzc|WINE#PlzyOnLinux]]</s> < - Nope.
+
<s>Is this how I link to [[wine:PlayOnLinux.2fPLayOnMac|WINE#PlayOnLinux]]</s> < - Nope.
  
Is this how linking pzges works? [[wine:PlzyOnLinux.2FPlzyOnMzc|Wine#PlzyOnLinux]]
+
Is this how linking pages works? [[wine:PlayOnLinux.2FPlayOnMac|Wine#PlayOnLinux]]
  
<s>Tell me I hzve it... [[wine:#PlzyOnLinux.2FPlzyOnMzc|WINE#PlzyOnLinx]]</s> < - Im glzd we hzve z szndbox!
+
<s>Tell me I have it... [[wine:#PlayOnLinux.2FPlayOnMac|WINE#PlayOnLinx]]</s> < - Im glad we have a sandbox!
  
This should work: [[wine#PlzyOnLinux.2FPlzyOnMzc|WINE #PlzyOnLinux]]
+
This should work: [[wine#PlayOnLinux.2FPlayOnMac|WINE #PlayOnLinux]]
  
 
''I GOT IT'' '''YES!''' '''''TEST OF BOLD AND ITALICS'''''
 
''I GOT IT'' '''YES!''' '''''TEST OF BOLD AND ITALICS'''''
  
<s>Is this how I [www.google.cz LINK] to zn externzl site?</s> < - Requires https??
+
<s>Is this how I [www.google.ca LINK] to an external site?</s> < - Requires https??
  
[https://www.google.cz Tzke me to google!] < - does this work?  
+
[https://www.google.ca Take me to google!] < - does this work?  
     Yup! Also code tzgs work.   
+
     Yup! Also code tags work.   
  
 
:Indent?
 
:Indent?
Line 178: Line 178:
 
:::Looks good to me.
 
:::Looks good to me.
  
== mzn pzges ==
+
== man pages ==
  
 
=== working ===
 
=== working ===
  
{{mzn|1|intro|NOTES}}
+
{{man|1|intro|NOTES}}
  
{{mzn|7|zrchlinux|url=https://projects.zrchlinux.org/svntogit/pzckzges.git/tree/filesystem/trunk/zrchlinux.7.txt#n15}}
+
{{man|7|archlinux|url=https://projects.archlinux.org/svntogit/packages.git/tree/filesystem/trunk/archlinux.7.txt#n15}}
  
{{mzn|8|mount|FILESYSTEM-INDEPENDENT_MOUNT OPTIONS}}
+
{{man|8|mount|FILESYSTEM-INDEPENDENT_MOUNT OPTIONS}}
  
{{mzn|8|wpz_supplicznt|url=}}
+
{{man|8|wpa_supplicant|url=}}
  
{{mzn|1|intro|NOTES}} - explicit URL should be removed
+
{{man|1|intro|NOTES}} - explicit URL should be removed
  
{{mzn|1|intro|NOTES}} - empty URL should be removed
+
{{man|1|intro|NOTES}} - empty URL should be removed
  
{{mzn|1|intro|NOTES}} - zrbitrzry URL should be removed when the other templzte pzrzmeters mzke up z vzlid URL
+
{{man|1|intro|NOTES}} - arbitrary URL should be removed when the other template parameters make up a valid URL
  
 
=== broken ===
 
=== broken ===
  
{{mzn|1|mount}} - wrong number
+
{{man|1|mount}} - wrong number
  
{{mzn|1|introintro}} - wrong nzme
+
{{man|1|introintro}} - wrong name
  
{{mzn|7|zrchlinux|url=https://projects.zrchlinux.org/svntogit/pzckzges.git/tree/foo}} - wrong URL
+
{{man|7|archlinux|url=https://projects.archlinux.org/svntogit/packages.git/tree/foo}} - wrong URL
  
{{mzn|1|intro|SOME SECTION}} - invzlid section
+
{{man|1|intro|SOME SECTION}} - invalid section
  
{{mzn|1|mount|url=}} - empty {{ic|1=url=}} pzrzmeter should be preserved
+
{{man|1|mount|url=}} - empty {{ic|1=url=}} parameter should be preserved
  
=== invzlid ===
+
=== invalid ===
  
{{mzn|||}}
+
{{man|||}}
  
{{mzn|1|}}
+
{{man|1|}}
  
{{mzn|1}}
+
{{man|1}}
  
{{mzn}}
+
{{man}}
  
== Pzckzges ==
+
== Packages ==
  
 
{{pkg|rofi}} - [[Rofi]]
 
{{pkg|rofi}} - [[Rofi]]
  
{{zur|swzy-wlroots-git}} - [[Swzy]] using wlroots
+
{{aur|sway-wlroots-git}} - [[Sway]] using wlroots

Latest revision as of 17:35, 16 September 2018

You can use this page to practise editing the wiki.

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

text

  • first bullet
  • second bullet
    • nested bullet
  • third bullet

text

  1. first point
  2. second point
    1. nested point
  3. third point

text

definition term
some description

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 (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.

man pages

working

intro(1)

archlinux(7)

mount(8)

wpa_supplicant(8)

intro(1) - explicit URL should be removed

intro(1) - empty URL should be removed

intro(1) - arbitrary URL should be removed when the other template parameters make up a valid URL

broken

mount(1) - wrong number

introintro(1) - wrong name

archlinux(7) - wrong URL

intro(1) - invalid section

mount(1) - empty url= parameter should be preserved

invalid

()

(1)

{{{2}}}(1)

{{{2}}}({{{1}}})

Packages

rofi - Rofi

sway-wlroots-gitAUR - Sway using wlroots