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

Difference between revisions of "Test"

From NetSec
Jump to: navigation, search
 
(15 intermediate revisions by 3 users not shown)
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 76: Line 101:
 
</syntaxhighlight>
 
</syntaxhighlight>
 
}}
 
}}
<nowiki></syntaxhighlight></nowiki>
 
 
 
==== Example ====
 
 
<syntaxhighlight lang="php">
 
<?php
 
  $v = "string";    // sample initialization
 
  echo $v;        // end of php code
 
?>
 
</syntaxhighlight>
 
  
 
=== Wikitable ===
 
=== Wikitable ===
Line 98: Line 112:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
==== Example ====
+
 
 +
=== Example ===
  
 
<tab class=wikitable sep=comma head=top>
 
<tab class=wikitable sep=comma head=top>
Line 105: Line 120:
 
Field 7,Field 8,Field 9
 
Field 7,Field 8,Field 9
 
</tab>
 
</tab>
 +
 +
 +
<toggledisplay>text</toggledisplay>
 +
 +
 +
=== Social Media ===
 +
call this template with:<nowiki>{{social}}</nowiki>
 +
 +
===Example===
 +
{{social}}
 +
 +
 +
 +
===Exploitation===
 +
 +
called with: <nowiki>{{exploitation}}</nowiki>
 +
 +
===Example===
 +
 +
{{exploitation}}

Latest revision as of 00:18, 3 June 2015

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>
}}
 
=== 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>
 
 
<toggledisplay>text</toggledisplay>
 
 
=== Social Media ===
call this template with:<nowiki>{{social}}</nowiki>
 
===Example===
{{social}}
 
 
 
===Exploitation===
 
called with: <nowiki>{{exploitation}}</nowiki>
 
===Example===
 
{{exploitation}}