X-Git-Url: https://codewiz.org/gitweb?p=wiki.git;a=blobdiff_plain;f=EditingTips;h=7847d78530c58a9a564aa9b7ff6b1c4a91ffb4cf;hp=045579605b3e3adee4c07251074b4ba4740efab8;hb=6a8bf3e18fe0a9a0beba78db44c37119a2710696;hpb=727dee2f26db42100bc82f418ca47dfc409485dd diff --git a/EditingTips b/EditingTips index 0455796..7847d78 100644 --- a/EditingTips +++ b/EditingTips @@ -9,26 +9,46 @@ See WikiDesignPrinciples. == Links == -Names of pages have to LookLikeThis. -It's called a WikiName. -If you write a word that LooksLikeThis, it will be automatically turned into a link. - -You can use URLs directly: http://www.codewiz.org/ , +You can Link to URLs by enclosing them in double square brackets: [[http://www.codewiz.org/]], or you can make descriptive links with [[http://www.codewiz.org/ | some anchor text]]. -Links to images will appear inline: http://www.w3.org/Icons/valid-css.png - -{{GerryStich.jpg|Stich!}} Anchored links also work with [[FrontPage|wiki pages]], [[/index.html | local paths]], and [[non_wiki_words]]. +If you link to a directory, GeekiGeeki will automatically generate an index for it: [[sys/macros]] + Image links: [[http://www.laptopgiving.org/|GiveOneGetOne.jpg]] -== Macros == +== Inline media == + +==== Images ==== +{{GerryStich.jpg}} + +==== Images with thumbnails ==== +{{GerryStich.jpg|Stich!}} + +==== Scaled images ==== +{{GerryStich.jpg|tiny|maxwidth=48}} + + +==== Including other wiki pages ==== -<> -<> +Use the same syntax to embed wiki pages inside other wiki pages: -Included text: <> + {{IncludedPage}} + +You can also pass arguments to included pages! It works like a simple template system: + + {{TemplatePage | hello=Ciao | world=mondo}} + + +==== Including external resources inline ==== +{{http://www.codewiz.org/wikigit/geekigeeki.git/blob_plain/HEAD:/geekigeeki.py}} + +== Macros == + + * Your remote IP: <> + * Query string: <> + * <> == Block elements == @@ -42,14 +62,6 @@ If you indent text like this, then it is indented in the output you can have multiple levels of indent -And if you put asterisks at the start of the line - - * you get a - * bulleted - * list - * which can also be indented - * to several levels - To insert program source without reformatting in a monospace font, use three curly braces: {{{ @@ -60,6 +72,22 @@ To insert program source without reformatting in a monospace font, use three cur Just like that. +== Itemized lists == + +If you put asterisks (*) at the start of the line + + * you get a + * bulleted + * list + * which can also be indented + * to several levels + +You can also have numbered lists, using the number (#) sign: + # first item + # second item + # first indented item + # second indented item + # third item == Text Styles == @@ -106,10 +134,26 @@ You can use ##div##, ##span## and ##iframe## elements with any attribute, includ CSS, of course. -== Access Control Lists == +== Pragmas == -TODO: document +Wiki pages can specify special-purpose commands in their header. In the form: -== Final Notes == +{{{ +# <keyword> <values> +}}} + +=== Access Control Lists === + +{{{ +# acl SomeUser:read,write OtherUser:read All:none +}}} + +Limit read or write access to specific authenticated users + +=== Custom cascading style sheets === + +{{{ +# css my_style.css +}}} -Be aware that GeekiGeeki does not lock pages during editing, so if you pause for a long time on the edit screen you may overwrite somebody else's changes. +Include a user-specified custom CSS before the default one(s).