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

Difference between revisions of "Test"

From NetSec
Jump to: navigation, search
Line 62: Line 62:
 
</syntaxhighlight>
 
</syntaxhighlight>
 
<nowiki></syntaxhighlight></nowiki>
 
<nowiki></syntaxhighlight></nowiki>
 +
 +
=== Code Boxes ===
 +
 +
<nowiki>
 +
<syntaxhighlight lang="</nowiki>'''LANG'''<nowiki>"></nowiki>
 +
{{code|text=
 +
<syntaxhighlight lang="php">
 +
/*
 +
*
 +
Note: This can be used in conjunction with <syntaxhighlight lang=" "> and <source lang=" ">
 +
*
 +
*/
 +
</syntaxhighlight>
 +
}}
 +
<nowiki></syntaxhighlight></nowiki>
 +
  
 
==== Example ====
 
==== Example ====

Revision as of 17:24, 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>

Code Boxes

<syntaxhighlight lang="LANG"> {{code|text= <syntaxhighlight lang="php"> /*

*
Note: This can be used in conjunction with <syntaxhighlight lang=" "> and
 
 *
 */
</syntaxhighlight>
}}
<nowiki></syntaxhighlight></nowiki>
 
 
==== Example ====
 
<syntaxhighlight lang="php">
<?php
  $v = "string";    // sample initialization
  echo $v;         // end of php code
?>
</syntaxhighlight>
 
=== 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>