Difference between revisions of "Sand Box"

From Lazarus wiki
Jump to navigationJump to search
Line 7: Line 7:
 
{{Warning|Please do not delete this or anything above it. Thanks!}}
 
{{Warning|Please do not delete this or anything above it. Thanks!}}
  
 
=Append=
 
 
<syntaxhighlight lang="pascal"> Program Test;
 
Uses Crt;
 
 
Var I : Integer;
 
 
Begin
 
  For I := 0 to 12 do
 
    WriteLn('Test ',I:2);
 
End.
 
</syntaxhighlight>
 
 
 
===Sayonara===
 
 
Test O
 
 
How to use an internal link: [[#indenting first line|indent first line]].
 
<inputbox>
 
type=create
 
width=100
 
break=no
 
buttonlabel=Create new article
 
default=(Article title)
 
</inputbox>
 
 
==Append 2==
 
 
<syntaxhighlight lang="pascal">
 
 
// this is the same code as above
 
 
Program Test;
 
Uses Crt;
 
 
Var I : Integer;
 
 
Begin
 
  For I := 0 to 12 do
 
    WriteLn('Test ',I:2);
 
End.
 
</syntaxhighlight>
 
 
==External link==
 
 
External link: [http://www.example.com link title]
 
 
another link: [http://www.example.com link title]
 
 
Protocol-relative link: [//www.freepascal.org/docs-html/current/ref/refch5.html Chapter 5]
 
 
==An image==
 
 
<div class="floatright"> [[Image:Lazaruscomponenttab_01.png]] </div>
 
 
This text should be placed near the picture, does it? zxvzxcv zxvc xcv xzcv zxcv zxvc zxvc zxcv zxcv zxcv zxcv xcv xcv xcv xcv zxcv zxcv zxcv xcv zxcv zxcv aaaaaaaaaaaaa
 
 
'''And this line were is going?'''  and this line?
 
 
==a text==
 
This is the text
 
 
==new section test==
 
 
==Table markup (wrong) ==
 
 
<TABLE WIDTH="90%" CELLPADDING="1" CELLSPACING="1">
 
<TR>
 
  <TD><b>Header 1</b></TD>
 
  <TD><b>Header 2</b></TD>
 
  <TD><b>Header 3</b></TD>
 
  <TD><b>Header 4</b></TD>
 
</TR>
 
<TR>
 
  <TD>Item 1,1</TD>
 
  <TD>Item 1,2</TD>
 
  <TD>Item 1,3</TD>
 
  <TD>Item 1,4</TD>
 
</TR>
 
<TR>
 
  <TD>Item 2,1</TD>
 
  <TD>Item 2,2</TD>
 
  <TD>Item 2,3</TD>
 
  <TD>Item 2,4</TD>
 
</TR>
 
</TABLE>
 
 
== Wiki table markup (correct)==
 
 
{| class=wikitable
 
|+ Table 2
 
! Header 1 !! Header 2 !! Header 3 !! Header 4
 
|-
 
| Item 1,1 || Item 1,2 || Item 1,3 || Item 1,4
 
|-
 
| Item 2,1 || Item 2,2 || Item 2,3 || Item 2,4
 
|}
 
 
{| class="wikitable"
 
!colspan="6"|Shopping List
 
|-
 
|rowspan="2"|Bread & Butter
 
|Pie
 
|Buns
 
|Danish
 
|colspan="2"|Croissant
 
|-
 
|Cheese
 
|colspan="2"|Ice cream
 
|Butter
 
|Yogurt
 
|}
 
 
==Bullets==
 
*One
 
*Two
 
**Tree
 
 
==Numbering==
 
#First
 
#Second
 
#Third
 
''Nested Numbering''
 
#First
 
##first.one
 
##first.two
 
##first.three
 
#Second
 
##second.one
 
##second.two
 
##second.three
 
''Mixed Numbering''
 
#First
 
#*first.one
 
#*first.two
 
#*first.three
 
#Second
 
#*second.one
 
#*second.two
 
#*second.three
 
 
==indenting first line==
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please note that all contributions to Lazarus-ccr are considered to be released under the GNU Free Documentation License (see Lazarus-ccr:Copyrights for details). If you don't want your writing to be edited mercilessly and redistributed at will, then don't submit it here.
 
: You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!
 
 
TEST
 
 
 
'''Another''' ''Test:'' '''''lets go crazy'''''
 
 
I want to create a boxed text:
 
This is in a '''box''', or so ''I hope''.
 
 
This is outside the box, no? And this is a reference to my incomplete
 
[http://www/pcug.org.au/~akabaila/StructuralAnalysis/  Structural Analyis] book
 
ThisIsMyShura
 
 
Weird: this is in the box as well?
 
 
* ''And a bullet in italics?''
 
 
<nowiki>non formatted...</nowiki>
 
 
==Humm==
 
{{#categorytree:Foo}}
 
<categorytree>
 
  
 
=Float Like A Butterfly=
 
=Float Like A Butterfly=

Revision as of 04:49, 6 January 2021

Deutsch (de) English (en) español (es) Bahasa Indonesia (id) italiano (it) 日本語 (ja) polski (pl) русский (ru) slovenčina (sk) 中文(中国大陆)‎ (zh_CN)

Note-icon.png

Tip: You may find the narrated video below on How To Edit a Wiki Page useful.

Narrated Video

Warning-icon.png

Warning: Please do not delete this or anything above it. Thanks!


Float Like A Butterfly

新章节

Clipboard commands with selections

Clipboard-related commands work with carets, both with selections and without them. Some details about this:

Command Behaviour, when there're no selections Behaviour, when at last one selection present
Copy to clipboard Copies entire lines, containing carets. (Ignores multiple carets on same line.) Copies only selections text. (Ignores carets without selections.)
Paste from clipboard First, selections are cleared (deleted). Then, command pastes text into each caret position. Special case is when clipboard lines count equals to carets count - in this case, first line is inserted at first caret, second line is inserted at 2nd caret, etc.