Difference between revisions of "Wiki sandbox"

From WineHQ Wiki
Jump to: navigation, search
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Please feel free to experiment here, after the four dashes below... and please do NOT create new pages without any meaningful content just to try it out!
 
Please feel free to experiment here, after the four dashes below... and please do NOT create new pages without any meaningful content just to try it out!
 
----
 
----
{{DISPLAYTITLE:Foo sandbox}}
+
{{DISPLAYTITLE:Foo {{{1}}} sandbox}}
 
=== Testing breaking and non-breaking space handling ===
 
=== Testing breaking and non-breaking space handling ===
 
Space before the '?' is tested
 
Space before the '?' is tested
Line 32: Line 32:
 
[[File:Dialog-warning.svg|24px]]
 
[[File:Dialog-warning.svg|24px]]
  
=== Collapsible elements ===
+
=== Collapsible elements and variables ===
 
<span class="mw-customtoggle-test1">Click to open/close the <u>Cmd</u> wiki</span>
 
<span class="mw-customtoggle-test1">Click to open/close the <u>Cmd</u> wiki</span>
 
<span class="mw-customtoggle-test2">or the <u>Winebrowser</u></span>
 
<span class="mw-customtoggle-test2">or the <u>Winebrowser</u></span>
Line 42: Line 42:
 
__NOTOC__
 
__NOTOC__
  
=== Magic Words ===
+
----
{{fullurl:Wiki sandbox}}
+
Embed a page with a variable. See [[wiki_sandbox/fr]]
 +
 
 +
The value of 1 is: {{{1}}}
 +
 
 +
The value of 2 is: {{{2}}}
 +
 
 +
{{:{{{1}}}_versions}}
 +
 
 +
An image:
 +
 
 +
[[File:Icon-distro-{{{2}}}.png|20px|link={{{1|}}}]]

Latest revision as of 07:17, 19 September 2022

Please feel free to experiment here, after the four dashes below... and please do NOT create new pages without any meaningful content just to try it out!


Testing breaking and non-breaking space handling

Space before the '?' is tested

Plain space

_plain space_ This rather long line just to be able to check whether browsers handle various kind of spaces. Does it work ? We'll see...

No-break space

_plain nbspace_ This rather long line just to be able to check whether browsers handle various kind of spaces. Does it work ? We'll see...

_nbsp_ This rather long line just to be able to check whether browsers handle various kind of spaces. Does it work ? We'll see...

_160_ This rather long line just to be able to check whether browsers handle various kind of spaces. Does it work ? We'll see...

Narrow no-break space

_plain narrow nbspace_ This rather long line just to be able to check whether browsers handle various kind of spaces. Does it work ? We'll see...

_nnbsp_ This rather long line just to be able to check whether browsers handle various kind of spaces. Does it work&nnbsp;? We'll see...

_8239_ This rather long line just to be able to check whether browsers handle various kind of spaces. Does it work ? We'll see...

Miscellaneous

Smiley.svg

Ambox outdated content.svg This page or section is outdated. Possible discussion may be found on the talk page. Please update to reflect current information

Dialog-warning.svg

Collapsible elements and variables

Click to open/close the Cmd wiki or the Winebrowser


cmd is command-line access into Wine, similar to Windows' cmd.

Once invoked in a terminal/console (by using 'wine cmd' ), the current directory is displayed using DOS format. The system root is displayed as "Z:" and normal Unix forward slashes ( / ) are replaced by DOS backslashes ( \ ) .

Wine's command prompt has some settings available through the right-click menu: simply right-click anywhere in the console.
Attempts to open a URL in the native operating system's default protocol handler.

Usage

winebrowser URL 

where URL is the URL to open. For example:

winebrowser http://www.winehq.org
winebrowser ftp://ftp.winehq.org
winebrowser irc://irc.freenode.net/#winehq
winebrowser file://c:\\windows\\win.ini

On a KDE system the first two might open in Konqueror, the third in Konversation, and the last in KWrite.



The TOC of the other wiki pages are also included, therefore a __NOTOC__.



Embed a page with a variable. See wiki_sandbox/fr

The value of 1 is: {{{1}}}

The value of 2 is: {{{2}}}

{{:{{{1}}}_versions}}

An image:

[[File:Icon-distro-{{{2}}}.png|20px|link=]]