Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "Test"

From NetSec
Jump to: navigation, search
(Code Boxes)
Line 62: Line 62:
 
</syntaxhighlight>
 
</syntaxhighlight>
 
<nowiki></syntaxhighlight></nowiki>
 
<nowiki></syntaxhighlight></nowiki>
 +
 +
 +
 +
==== Example ====
 +
 +
<syntaxhighlight lang="php">
 +
<?php
 +
  $v = "string";    // sample initialization
 +
  echo $v;        // end of php code
 +
?>
 +
</syntaxhighlight>
 +
  
 
=== Code Boxes ===
 
=== Code Boxes ===
  
 
<nowiki>
 
<nowiki>
<syntaxhighlight lang="</nowiki>'''LANG'''<nowiki>"></nowiki>
+
{{code|text=
 +
/*
 +
*
 +
Note: This can be used in conjunction with <syntaxhighlight lang=" "> and <source lang=" ">
 +
*
 +
*/
 +
}}
 +
</nowiki>
 
{{code|text=
 
{{code|text=
 
<syntaxhighlight lang="php">
 
<syntaxhighlight lang="php">
Line 77: Line 96:
 
}}
 
}}
 
<nowiki></syntaxhighlight></nowiki>
 
<nowiki></syntaxhighlight></nowiki>
 
 
==== Example ====
 
 
<syntaxhighlight lang="php">
 
<?php
 
  $v = "string";    // sample initialization
 
  echo $v;        // end of php code
 
?>
 
</syntaxhighlight>
 
  
 
=== Wikitable ===
 
=== Wikitable ===

Revision as of 18:25, 25 November 2011

Test Page

Common Templates

Quote

{{Quote|do your homework|hatter}}

hatter says
do your homework

Cleanup

{{cleanup}}>>

Boxes

Protip

{{Protip| Your text here}}


Protip: Your text here


Info

{{Info|Testing Info}}

c3el4.png Testing Info

Notice

{{Notice|Testing Notice}}

Notice: Testing Notice

Warning

{{Warning|Testing Warning}}

RPU0j.png Testing Warning

Key Combinations

{{Key|KEY}}

Example

Ctrl Alt Del

Code Highlighting

<syntaxhighlight lang="LANG"> <syntaxhighlight lang="php"> /*

*
Your code here
*
*/

</syntaxhighlight> </syntaxhighlight>


Example

<syntaxhighlight lang="php"> <?php

 $v = "string";    // sample initialization
 echo $v;         // end of php code

?> </syntaxhighlight>


Code Boxes

{{code|text= /* * Note: This can be used in conjunction with <syntaxhighlight lang=" "> and <source lang=" "> * */ }} {{code|text= <syntaxhighlight lang="php"> /*

*
Note: This can be used in conjunction with <syntaxhighlight lang=" "> and
 
 *
 */
</syntaxhighlight>
}}
<nowiki></syntaxhighlight></nowiki>
 
=== Wikitable ===
 
<syntaxhighlight lang="html4strict">
<tab class=wikitable sep=comma head=top>
Head 1,Head 2,Head 3
Field 4,Field 5,Field 6
Field 7,Field 8,Field 9
</tab>
</syntaxhighlight>
 
==== Example ====
 
<tab class=wikitable sep=comma head=top>
Head 1,Head 2,Head 3
Field 4,Field 5,Field 6
Field 7,Field 8,Field 9
</tab>