X-Git-Url: https://codewiz.org/gitweb?p=wiki.git;a=blobdiff_plain;f=EditingTips;h=79fa3761715bebe6353c4039af2dfefe56ab4549;hp=b7c53b5d2202f106f33b45c9dde062c1afd176b4;hb=18a78bc1b3ea55e566627570d9fbf2edc2134fdc;hpb=513115227210f8050a10780c085a770ea1c963a8 diff --git a/EditingTips b/EditingTips index b7c53b5..79fa376 100644 --- a/EditingTips +++ b/EditingTips @@ -19,6 +19,8 @@ Links to images will appear inline: http://www.w3.org/Icons/valid-css.png 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]] == Inline media == @@ -34,11 +36,14 @@ Image links: [[http://www.laptopgiving.org/|GiveOneGetOne.jpg]] ==== Including other wiki pages ==== -{{IncludedPage}} -You can also pass arguments to included pages! It works like a template engine: +Use the same syntax to embed wiki pages inside other wiki pages: + + {{IncludedPage}} -{{IncludedPage | hello=Ciao }} +You can also pass arguments to included pages! It works like a simple template system: + + {{TemplatePage | hello=Ciao | world=mondo}} ==== Including external resources inline ==== @@ -134,10 +139,26 @@ You can use ##div##, ##span## and ##iframe## elements with any attribute, includ CSS, of course. -== Access Control Lists == +== Pragmas == + +Wiki pages can specify special-purpose commands in their header. In the form: + +{{{ +# <keyword> <values> +}}} + +=== Access Control Lists === + +{{{ +# acl SomeUser:read,write OtherUser:read All:none +}}} -TODO: document +Limit read or write access to specific authenticated users -== Final Notes == +=== 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).