{* $Id$ *} {* \brief Show wiki syntax help * included by tiki-show_help.tpl via smarty_block_add_help() * TODO: Add links to add samples to edit form *}
| {tr}Wiki Syntax{/tr} | {if (!isset($wysiwyg) or $wysiwyg ne 'y') or (isset($wysiwyg) and $wysiwyg eq 'y' and $prefs.wysiwyg_wiki_parsed eq 'y')}
|---|
| {icon name='bold'} {tr}Bold text{/tr} __{tr}text{/tr}__ |
| {icon name='italic'} {tr}Italic text{/tr} 2 {tr}single quotes{/tr} ('). '"{tr}text{/tr}"' |
| {icon name='underline'} {tr}Underlined text{/tr} ==={tr}text{/tr}=== |
|
{icon name='font' istyle='color:red'} {tr}Colored text{/tr} ~~#FFEE33:{tr}text{/tr}~~ {tr}or{/tr} ~~yellow:{tr}text{/tr}~~. {tr}Will display using the indicated HTML color or color name. Color name can contain two colors separated by a comma. In this case, the first color would be the foreground and the second one the background.{/tr} |
| {icon name='strikethrough'} {tr}Deleted text{/tr} {tr}2 dashes{/tr} "-". --{tr}text{/tr}-- |
|
{icon name='h1'} {tr}Headings{/tr} !heading1, !!heading2, !!!heading3 |
|
{tr}Show/Hide{/tr} !+, !!- {tr}show/hide heading section. + (shown) or - (hidden) by default{/tr}. |
|
{tr}Autonumbered Headings{/tr} !#, !!#, !+#, !-# ... |
|
{tr}Table of contents{/tr} {tr}{literal}{toc}{/literal}, {literal}{maketoc}{/literal} prints out a table of contents for the current page based on structures (toc) or ! headings (maketoc){/tr}. {tr}Common optional parameters for maketoc are: title|maxdepth|levels|nums, and for toc are: order|showdesc|shownum|structId|maxdepth|pagename.{/tr} |
| {icon name='horizontal-rule'} {tr}Horizontal rule{/tr} ---- |
| {icon name='box'} {tr}Text box{/tr} ^{tr}Box content{/tr}^ |
| {icon name='align-center'} {tr}Centered text{/tr} {if $prefs.feature_use_three_colon_centertag eq 'y'}:::{tr}text:::{/tr}{else}::{tr}text::{/tr}{/if} |
|
{icon name='cog'} {tr}Dynamic variables{/tr} %{tr}Name{/tr}% {tr}Inserts an editable variable{/tr} |
|
{icon name='link-external'} {tr}External links{/tr} {tr}use square brackets for an external link: [URL], [URL|link_description],[URL|link_description|relation] or [URL|description|relation|nocache] (that last prevents the local Wiki from caching the linked page; relation can be used to insert rel attribute for the link - useful e.g. for shadowbox).{/tr} {tr}For an external Wiki, use ExternalWikiName:PageName or ((External Wiki Name: Page Name)){/tr} |
|
{tr}Square Brackets{/tr} {tr}Use [[foo] to show [foo].{/tr} |
|
{icon name='link'} {tr}Wiki references{/tr} {if $prefs.feature_wikiwords eq 'y'}{tr}JoinCapitalizedWords or use{/tr} {/if}(({tr}page{/tr})) {tr}or{/tr} (({tr}page|description{/tr})) {tr}for wiki references{/tr} {if $prefs.wikiplugin_alink eq 'y'} , (({tr}page|#anchor{/tr})) {tr}or{/tr} (({tr}page|#anchor|desc{/tr})) {tr}for wiki heading/anchor references{/tr} {/if} {if $prefs.feature_wikiwords eq 'y'}, )){tr}SomeName{/tr}(( {tr}prevents referencing{/tr}{/if} |
|
{icon name='list'} {icon name='list-numbered'} {tr}Lists{/tr} * {tr}for bullet lists,{/tr} # {tr}for numbered lists,{/tr} ;{tr}Word:{/tr}{tr}definition{/tr} {tr}for definiton lists{/tr} |
|
{tr}Indentation{/tr} +, ++ {tr}Creates an indentation for each plus (useful in list to continue at the same level){/tr} |
|
{icon name='table'} {tr}Tables{/tr} || {tr}row{/tr}1-{tr}col{/tr}1 | {tr}row{/tr}1-{tr}col{/tr}2 | {tr}row{/tr}1-{tr}col{/tr}3 {tr}row{/tr}2-{tr}col{/tr}1 | {tr}row{/tr}2-{tr}col{/tr}2 | {tr}row{/tr}2-{tr}col{/tr}3 || |
|
{icon name='table'} {tr}Tables{/tr} ||{tr}row{/tr}1-{tr}col{/tr}1|{tr}row{/tr}1-{tr}col{/tr}2|{tr}row{/tr}1-{tr}col{/tr}3||{tr}row{/tr}2-{tr}col{/tr}1|{tr}row{/tr}2-{tr}col{/tr}2|{tr}row{/tr}2-{tr}col{/tr}3|| |
| {icon name='title'} {tr}Title bar{/tr} -={tr}Title{/tr}=- |
| {tr}Monospace font{/tr} -+{tr}Code sample{/tr}+- |
|
{tr}Line break{/tr} %%% {tr}(very useful especially in tables){/tr} |
|
{tr}Multi-page pages{/tr} {tr}Use{/tr} ...page... {tr}to separate pages{/tr} |
|
{tr}Non-parsed sections{/tr} ~np~ {tr}data{/tr} ~/np~ {tr}Prevents wiki parsing of the enclosed data.{/tr} |
|
{tr}Preformated sections{/tr} {tr}~pp~ data ~/pp~ Displays preformated text/code; no Wiki processing is done inside these sections (as with np), and the spacing is fixed (no word wrapping is done). ~pre~ data ~/pre~ also displayes preformatted text with fixed spacing, but wiki processing still occurs on the text.{/tr} |
|
{tr}Comments{/tr} {tr}~tc~ Tiki Comment ~/tc~ makes a Tiki comment. It will be completely removed from the display, but saved in the file for future reference. ~hc~ HTML Comment ~/hc~ makes an HTML comment. It will be inserted as a comment in the output HTML; these are not normally displayed in browsers, but can be seen using "View Source" or similar.{/tr} |
|
{tr}Block Preformatting{/tr} {tr}Indent text with any number of spaces to change it to a monospaced block that still follows other Wiki formatting instructions. It will be indented with the same number of spaces that are used. Note that this mode does not preserve exact spacing and line breaks; use ~pp~...~/pp~ for that.{/tr} |
|
{tr}Direction{/tr} {literal}{r2l}{/literal}, {literal}{l2r}{/literal}, {literal}{rm}{/literal}, {literal}{lm}{/literal}{tr}Insert with respect to right-to-left and left-to-right text direction DIV (up to end of text) and markers for langages as Arabic and Hebrew.{/tr} |
|
{tr}Special characters{/tr} {literal}~hs~{/literal} {tr}hard space,{/tr} {literal}~c~{/literal} ©, {literal}~amp~{/literal} &, {literal}~lt~{/literal} <, {literal}~gt~{/literal} >, {literal}~ldq~{/literal} “, {literal}~rdq~{/literal} ”, {literal}~lsq~{/literal} ‘, {literal}~rsq~{/literal} ’, {literal}~--~{/literal} —, {literal}~bs~{/literal} \, {tr}numeric between ~ for HTML numeric characters entity{/tr} |