FormatExample


Total: 3644 / Today: 1 / Yesterday: 1

@contents

Here are examples.


Inline Elements

In the following table you can see how to use the inline text elements of PukiWik

Text Decorations

The expressions are supposed to work with the default settings.The first 5 expressions are defined in *default.ini.php* .The others which starts with "&amp" and "footnote" is powered by respective *plugins* .See *default.ini.php* to change the settings for the former ones.See respective *plugins* for the latter ones.

**Format example''Formatting code''Comment**
*Emphasised text*''Emphasised text''Put the text between two single quotes.
Italic text'''Italic text'''Put the text between three single quotes.
Strikethrough text%%Strikethrough text%%
~~%Underlined text%~~%%%Underlined text%%%
Text with
a break
Text with &ampbr;a break
Text in font size 24&ampsize{Text in font size 24};
Purple text&ampcolor{Purple text};
Colored text&ampcolor{Colored text};
yellow text with black backbround&ampcolor{yellow text with black background};
*0((This is the footnote's text))This inserts a footnote with the given text at the bottom of the page.
http://www.example.com
./pukiwiki.png
&ampref;
&ampref;
This inserts a reference.
It also inserts attached images.
#Anchor?&ampaname;This inserts an invisible anchor for hyperlinking.

Link Styles

**Format example''Formatting code''Comment**
WikiNameWikiNameThis creates a link to another page on the same Pukiwiki site.
BracketName?[[BracketName]]This creates a link to another page on the same Pukiwiki site.
http://www.example.comhttp://www.example.comThe easiest way to make an external link, as you can see. :-P
External link[[External link:http://www.example.com]]This creates links to pages on other web sites.
http[[the image's URL:http://www.example.com]]This creates image-links to pages on other web sites.
pukiwiki:FrontPage[[pukiwiki:FrontPage]]InterWiki Styled Link
Alias[[Alias>FrontPage]]This enables you to make a link to a page in Pukiwiki with a different name.
Alias[[Alias>pukiwiki:FrontPage]]Advanced Link style: the combination of Alias and InterWiki
http://pukiwiki.org/image/pukiwiki.png[[the image's URL>FrontPage]]This enables you to make an imagw-link to a page in Pukiwiki with a different name.
&image(はじめてのPukiWiki/14/pukiwiki.png, Pukiwiki);[[&ampref;>FrontPage]]Of course, you can use an attached file for the image-link.
"ref plug-in" has many option to explain... please wait for the translation to come... If the image is attached on the same page, "Wiki-Page-Where-The-Image-Is-Attached" can be ommited.

Special entities :

These expressions are supposed to work with the default settings.See *rules.ini.php to change the definition, and see pukiwiki.ini.php* to change the date/time format.

**Special entity''Code''Comments**
FormatExample&amppage;This returns the name of current page.
(i.e. if the page name is "Pukiwiki/1.4", this returns "1.4".)
FormatExample&ampfpage;This returns the full name of current page.
(i.e. if the page name is "Pukiwiki/1.4", this returns "Pukiwiki/1.4".)
2004-01-16&ampdate;This returns date according to the defined date format in rules.ini.php
Reffer to "$date_format" in the file.
18:27:44&amptime;This returns date according to the defined date format in rules.ini.php
Reffer to "$time_format" in the file.
2004-01-16 (FRI) 18:27:44&ampnow;This returns the current time.
2004-01-16date ?This returns date according to the defined date format in rules.ini.php
Reffer to "$date_format" in the file.
18:27:44time ?This returns date according to the defined date format in rules.ini.php
Reffer to "$time_format" in the file.
2004-01-16 (FRI) 18:27:44now ?This returns the current time.
&heart&ampheart;
&copy&ampcopy;
&reg&ampreg;
&trade&amptrade;
&sup2&ampsup2;
&sup3&ampsup3;
&nbsp&ampnbsp;You may not be able to see it,
but there is a non-breaking space in the first column.
It prevents a line from being broken at that point.
&amp#x20;This a normal space,
-&amp#x2d;And this is a minus sign.
&amp#x260e;As you can se, you an define any unicode character like this.

Misc

**Format example''Formatting code''Comment**
Inline text
Inline text
Inline text&ampbr;Inline text&ampbr;is replaced with a line break.
Inline text~
#plug-in
Inline text~
#plug-in
The ~, followed by a line break works as an escape character that disables the # character, which normally activates a plugin.
cf.Paragraph(Block Elements)?
/ deprecated plugin:"counter" param: body: /&ampcounter;Shows the access log counter.

Last Modified: 2021-11-01 16:33:47