Difference between revisions of "Template:Cryptography navbox/sandbox"
Jump to navigation
Jump to search
imported>DASHBot m (Bot: Bypassing redirects in navboxes, in order to improve article navigability;details/shutoff) |
imported>Diannaa (use listclass = hlist in navbox as per WP:HLIST) |
||
| Line 1: | Line 1: | ||
<div class="NavFrame" style="clear: both; margin: 0.5em 0em 0em 0em; padding: 5px; background-color: #f9f9f9; font-size: 100%;"> | <div class="NavFrame" style="clear: both; margin: 0.5em 0em 0em 0em; padding: 5px; background-color: #f9f9f9; font-size: 100%;"> | ||
| − | {{ #if: {{{3|}}} | {{ Crypto {{{3}}} }} | + | {{ #if: {{{3|}}} | {{ Crypto {{{3}}} }} |
| − | }}{{ #if: {{{2|}}} | {{ Crypto {{{2}}} }} | + | }}{{ #if: {{{2|}}} | {{ Crypto {{{2}}} }} |
| − | }}{{ #if: {{{1|}}} | {{ Crypto {{{1}}} }} | + | }}{{ #if: {{{1|}}} | {{ Crypto {{{1}}} }} |
}}{{Navbox | }}{{Navbox | ||
|name = Crypto testbox | |name = Crypto testbox | ||
|state = uncollapsed | |state = uncollapsed | ||
|title = [[Cryptography]] | |title = [[Cryptography]] | ||
| + | |listclass = hlist | ||
|bodystyle = border: none; padding: 0px; background-color: transparent; | |bodystyle = border: none; padding: 0px; background-color: transparent; | ||
| − | |list1 = | + | |list1 = |
| − | [[History of cryptography]] | + | * [[History of cryptography]] |
| − | [[Cryptanalysis]] | + | * [[Cryptanalysis]] |
| − | [[Portal:Cryptography|Cryptography portal]] | + | * [[Portal:Cryptography|Cryptography portal]] |
| − | [[Outline of cryptography|Topics in cryptography]] | + | * [[Outline of cryptography|Topics in cryptography]] |
| − | |||
| − | |list2 = | + | |list2 = |
| − | [[Symmetric-key algorithm]] | + | * [[Symmetric-key algorithm]] |
| − | [[Block cipher]] | + | * [[Block cipher]] |
| − | [[Stream cipher]] | + | * [[Stream cipher]] |
| − | [[Public-key cryptography]] | + | * [[Public-key cryptography]] |
| − | [[Cryptographic hash function]] | + | * [[Cryptographic hash function]] |
| − | [[Message authentication code]] | + | * [[Message authentication code]] |
| − | [[Cryptographically secure pseudorandom number generator|Random numbers]] | + | * [[Cryptographically secure pseudorandom number generator|Random numbers]] |
| − | |||
}} | }} | ||
| Line 31: | Line 30: | ||
=== The crypto navigation testbox === | === The crypto navigation testbox === | ||
| − | This template is a test area for "crypto navigation boxes". It should NEVER be added to an article. | + | This template is a test area for "crypto navigation boxes". It should NEVER be added to an article. |
This template can be used to test the [[Template:Crypto navbox|main crypto navigation box]]. It has the same naming as the other crypto navigation boxes (starts with "Template:Crypto ") thus it works together with them. | This template can be used to test the [[Template:Crypto navbox|main crypto navigation box]]. It has the same naming as the other crypto navigation boxes (starts with "Template:Crypto ") thus it works together with them. | ||
| − | To test code for the main crypto navigation box here, then use this code on some test page: | + | To test code for the main crypto navigation box here, then use this code on some test page: |
:<code><nowiki>{{crypto testbox | stream | stream}}</nowiki></code> | :<code><nowiki>{{crypto testbox | stream | stream}}</nowiki></code> | ||
| − | To test this code together with the [[Template:Crypto testbox2|second crypto navigation testbox]] use this code on some test page: | + | To test this code together with the [[Template:Crypto testbox2|second crypto navigation testbox]] use this code on some test page: |
:<code><nowiki>{{crypto testbox | testbox2 | testbox2}}</nowiki></code> | :<code><nowiki>{{crypto testbox | testbox2 | testbox2}}</nowiki></code> | ||
| Line 45: | Line 44: | ||
For more details about these navigation boxes please see the instructions at the [[Template:Crypto navbox|main crypto navigation box]] and at the [[Wikipedia:WikiProject Cryptography#Navigational_templates|WikiProject Cryptography]]. | For more details about these navigation boxes please see the instructions at the [[Template:Crypto navbox|main crypto navigation box]] and at the [[Wikipedia:WikiProject Cryptography#Navigational_templates|WikiProject Cryptography]]. | ||
| − | [[Category:Cryptography templates | + | [[Category:Cryptography templates]] |
</noinclude> | </noinclude> | ||
Revision as of 02:55, 26 August 2012
This template is a test area for "crypto navigation boxes". It should NEVER be added to an article.
This template can be used to test the main crypto navigation box. It has the same naming as the other crypto navigation boxes (starts with "Template:Crypto ") thus it works together with them.
To test code for the main crypto navigation box here, then use this code on some test page:
{{crypto testbox | stream | stream}}
To test this code together with the second crypto navigation testbox use this code on some test page:
{{crypto testbox | testbox2 | testbox2}}
For more details about these navigation boxes please see the instructions at the main crypto navigation box and at the WikiProject Cryptography.