DokuWiki

It's better when it's simple

User Tools

Site Tools


playground:playground

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
playground:playground [2018-03-08 10:19] Michaelsyplayground:playground [2024-04-18 09:14] (current) – [Table] 2a04:2747:7e04:8d00:888f:3cf8:8153:d32d
Line 1: Line 1:
-====== playground ======+== Basic text formatting == 
 +You can format the page using Wikitext special characters.
  
-playground+{| border="1" cellpadding="2" cellspacing="0" 
 +!width="1000"|What it looks like 
 +!width="500"|What you type 
 +
 +
 +You can ''italicize'' text by putting 2  
 +apostrophes on ''each'' side. 
  
-===== Example =====+3 apostrophes will '''bold''' the text. 
  
-How to realize an "IF-Statement"? This: 
  
-<code> +5 apostrophes will '''''bold and italicize'''''  
-@my-option: false;+the text.
  
-.my-optional-style() when (@my-option = false) { +(Using 4 apostrophes doesn't do anything 
-    #main_body { background-color: red; } +special -- <br /> 3 of them '''bold''' the text as 
-    p { color: red} +usualthe others are ''''just'''' apostrophes  
-}+around the text.)
  
-.my-optional-style() when (@my-option = true) { +| 
-    #main_body { background-color: green; } +You can ''italicize'' text by putting 2  
-    p { color: green; } +apostrophes on ''each'' side. 
-}+
  
-.my-optional-style();+3 apostrophes will '''bold''' the text
  
-</code>+5 apostrophes will '''''bold and italicize'''''  
 +the text.
  
-compiles to+(Using 4 apostrophes doesn't do anything 
 +special -- <br /> 3 of them '''bold''' the text as 
 +usual; the others are ''''just'''' apostrophes  
 +around the text.) 
 +</syntaxhighlight> 
 +|- 
 +
 +A single newline 
 +generally has no effect on the layout. 
 +These can be used to separate 
 +sentences within a paragraph. 
 +Some editors find that this aids editing 
 +and improves the ''diff'' function 
 +(used internally to compare 
 +different versions of a page). 
 + 
 +But an empty line 
 +starts a new paragraph. 
 + 
 +When used in a list, a newline ''does'' affect the layout ([[#lists|see below]]). 
 +|<syntaxhighlight lang=wikitext> 
 +A single newline 
 +generally has no effect on the layout. 
 +These can be used to separate 
 +sentences within a paragraph. 
 +Some editors find that this aids editing 
 +and improves the ''diff'' function 
 +(used internally to compare 
 +different versions of a page). 
 + 
 +But an empty line 
 +starts a new paragraph. 
 + 
 +When used in a list, a newline ''does'' 
 +affect the layout ([[#lists|see below]]). 
 +</syntaxhighlight> 
 +
 +
 +You can break lines<br/> 
 +without a new paragraph.<br/> 
 +Please use this sparingly. 
 + 
 +Please do not start a link or ''italics'' or '''bold''' text on one line and end on the next. 
 +|<syntaxhighlight lang=wikitext> 
 +You can break lines<br/> 
 +without a new paragraph.<br/> 
 +Please use this sparingly. 
 + 
 +Please do not start a link or 
 +''italics'' or '''bold''' text on one line 
 +and end on the next. 
 +</syntaxhighlight> 
 +|- 
 + 
 +|You should "sign" your comments on talk pages: <br/> 
 +<div class="mw-notalk"> 
 +* Three tildes gives your signature: [[User:Example|Example]] <br/> 
 +* Four tildes give your signature plus date/time: [[User:Example|Example]] 07:46, 27 November 2005 (UTC) <br/> 
 +* Five tildes gives the date/time alone: 07:46, 27 November 2005 (UTC) <br/> 
 +</div> 
 +|<syntaxhighlight lang=wikitext> 
 + You should "sign" your comments  
 + on talk pages: 
 + * Three tildes gives your 
 + signature: ~~~ 
 + * Four tildes give your  
 + signature plus date/time: ~~~~ 
 + * Five tildes gives the  
 + date/time alone: ~~~~~ 
 +</syntaxhighlight> 
 +|}
  
-<code> 
-#main_body { 
-  background-color: red; 
-} 
-p { 
-  color: red; 
-} 
-</code> 
playground/playground.1520500772.txt.gz · Last modified: 2018-03-08 10:19 by Michaelsy

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki