Difference between revisions of "ArchWiki:Sandbox"

From ArchWiki
Jump to navigation Jump to search
(pipe test)
(Test of pipe trick: test results)
Line 164: Line 164:
 
I will paste {{ic|<nowiki>[[Pacman (Русский)|]]</nowiki>}} and test if code will change after commiting.
 
I will paste {{ic|<nowiki>[[Pacman (Русский)|]]</nowiki>}} and test if code will change after commiting.
 
Ok, lets test it: can you see language tag now [[Pacman (Русский)|Pacman]]?
 
Ok, lets test it: can you see language tag now [[Pacman (Русский)|Pacman]]?
 +
: Good, test passed. But after commiting code was replased to this:{{ic|<nowiki>[[Pacman (Русский)|Pacman]]</nowiki>}} as I expected, so this trick is usefull only when you are editing articles and do not want to write twice, however, it is useless for code compaction due to it will be extended after commit.

Revision as of 18:00, 19 December 2014

You can use this page to practise editing the wiki.

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

Template:注释

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

adsf

test cat /etc/udev/rules.d/90-xhc_sleep.rules

  1. disable wake from S3 on XHC1

SUBSYSTEM=="pci", KERNEL=="0000:00:14.0", ATTR{device}=="0x9c31" RUN+="/bin/sh -c '/bin/echo disabled > /sys$env{DEVPATH}/power/wakeup'"

test test

Test < > chars in pre and code

this < is < sparta >

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

test

vlfsdkgops

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

asdf asdf2

test1

hello

test1.1

bold and italics

file

no indent

indent
indent indent

Code block

Hello World program
#include <stdio.h>
int main(int argc, char* argv[])
{
  printf("Hello World!\n");
  return 0;
}
  • 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
Warning: Failure to understand these instructions may result in legal action depending on your jurisdiction. You have been warned.
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.

message. {{{2}}}(Testing message.)

Just test.The Testing message. fox jumpsover a {{{2}}} dog.


Second(Msg)

Just test.The Msg fox jumpsover a Second dog.


Testing line couning

Страница Локализованный заголовок Сопроводитель Заметки
Allow users to shutdown (Русский) Разрешить пользователям выключение системы Blackx -
Arch User Repository (Русский) Пользовательский репозиторий Arch Kycok -
Arch64 FAQ (Русский) Arch64 ЧаВо Morion -
Beginners' guide (Русский) Руководство для новичков Kycok -
Bluetooth (Русский) Не требуется Kycok -
Brother DCP-7030 (Русский) Не требуется Kycok -

Total: 69 pages of 463 ; 21,0%from all pages in categore Русский. { {table row counter|id=foo}} https://en.wikipedia.org/wiki/Template:Table_row_counter

Test of pipe trick

I will paste [[Pacman (Русский)|]] and test if code will change after commiting. Ok, lets test it: can you see language tag now Pacman?

Good, test passed. But after commiting code was replased to this:[[Pacman (Русский)|Pacman]] as I expected, so this trick is usefull only when you are editing articles and do not want to write twice, however, it is useless for code compaction due to it will be extended after commit.