Difference between revisions of "Sandbox"
From Joomla! Documentation
(Marked this version for translation) |
(SyntaxHighlight tag testing.) |
||
(16 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude><languages /></noinclude> | <noinclude><languages /></noinclude> | ||
− | <translate>==== Title ==== <!--T:2--> | + | <translate>==== First Title ==== <!--T:2--> |
# List text 1 | # List text 1 | ||
# List text 2 | # List text 2 | ||
− | # List text 3</translate> | + | # List text 3 |
+ | # List text 5 | ||
+ | # List text 5</translate> | ||
− | <translate>==== Title ==== <!--T:5--> | + | <translate>==== Second Title ==== <!--T:5--> |
− | + | <ol start="5"> | |
− | + | <li>List text 5</li> | |
− | + | <li>List text 6</li> | |
+ | <li>List text 7</li> | ||
+ | <li>List text 9</li> | ||
+ | </ol></translate> | ||
<translate>===== Subtitle ===== <!--T:3--> | <translate>===== Subtitle ===== <!--T:3--> | ||
Line 18: | Line 23: | ||
Backend screenshot</translate> | Backend screenshot</translate> | ||
[[File:Help_3x_system_control_panel_<translate><!--T:1--> en</translate>.png|center|500px|Administrator Control Panel|border]] | [[File:Help_3x_system_control_panel_<translate><!--T:1--> en</translate>.png|center|500px|Administrator Control Panel|border]] | ||
+ | [[File:Help_3x_system_control_panel1<translate><!--T:1--> en</translate>.png|center|500px|Administrator Control Panel|border]] | ||
+ | |||
[[File:Image_title_<translate><!--T:6--> en</translate>.png|800px|Administrator Control Panel]] | [[File:Image_title_<translate><!--T:6--> en</translate>.png|800px|Administrator Control Panel]] | ||
+ | |||
+ | |||
+ | == Syntax Highlighter == | ||
+ | <syntaxhighlight lang="python" line linelinks="example" highlight="2"> | ||
+ | // | ||
+ | // Example syntax from https://www.mediawiki.org/wiki/Extension:SyntaxHighlight/en | ||
+ | // | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | <syntaxhighlight lang="python" line start="3" highlight="1,5-7"> | ||
+ | def quick_sort(arr): | ||
+ | less = [] | ||
+ | pivot_list = [] | ||
+ | more = [] | ||
+ | if len(arr) <= 1: | ||
+ | return arr | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | <syntaxhighlight lang="php" highlight="2,4,6"> | ||
+ | <?php | ||
+ | /** | ||
+ | * @package Joomla.Administrator | ||
+ | * @subpackage com_helloworld | ||
+ | * | ||
+ | * @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved. | ||
+ | * @license GNU General Public License version 2 or later; see LICENSE.txt | ||
+ | */ | ||
+ | ?> | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | Add line to the syntaxhighlight tag | ||
+ | <syntaxhighlight line lang="php" highlight="2,4,6"> | ||
+ | <?php | ||
+ | /** | ||
+ | * @package Joomla.Administrator | ||
+ | * @subpackage com_helloworld | ||
+ | * | ||
+ | * @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved. | ||
+ | * @license GNU General Public License version 2 or later; see LICENSE.txt | ||
+ | */ | ||
+ | ?> | ||
+ | </syntaxhighlight> |
Latest revision as of 09:26, 14 April 2025
First Title[edit]
- List text 1
- List text 2
- List text 3
- List text 5
- List text 5
Second Title[edit]
- List text 5
- List text 6
- List text 7
- List text 9
Subtitle[edit]
Tab here every text.
Here is another text with bold words.
Higher Title[edit]
Backend screenshot
Syntax Highlighter[edit]
//
// Example syntax from https://www.mediawiki.org/wiki/Extension:SyntaxHighlight/en
//
def quick_sort(arr):
less = []
pivot_list = []
more = []
if len(arr) <= 1:
return arr
<?php
/**
* @package Joomla.Administrator
* @subpackage com_helloworld
*
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
?>
Add line to the syntaxhighlight tag
<?php
/**
* @package Joomla.Administrator
* @subpackage com_helloworld
*
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
?>