Template:Test: Difference between revisions
Jump to navigation
Jump to search
(Test de template) |
(TP template) |
||
Line 1: | Line 1: | ||
<includeonly> | |||
'''Algorithm Name:''' {{{name|Unknown}}} | |||
'''Author/Developer:''' {{{author|Not provided}}} | |||
'''Date of Creation/Version:''' {{{date|Not provided}}} | |||
'''Purpose:''' {{{purpose|Not specified}}} | |||
'''Input Parameters:''' | |||
{{#if:{{{input|}}}|{{{input}}}|Not provided}} | |||
'''Output/Results:''' | |||
{{#if:{{{output|}}}|{{{output}}}|Not provided}} | |||
'''Pseudocode:''' | |||
<pre> | |||
{{#if:{{{pseudocode|}}}|{{{pseudocode}}}|Pseudocode not available}} | |||
</pre> | |||
'''Complexity:''' {{{complexity|Not specified}}} | |||
'''Dependencies/Requirements:''' | |||
{{#if:{{{dependencies|}}}|{{{dependencies}}}|None specified}} | |||
'''Notes:''' | |||
{{#if:{{{notes|}}}|{{{notes}}}|No additional notes}} | |||
'''References:''' | |||
{{#if:{{{references|}}}|{{{references}}}|None provided}} | |||
</includeonly> | |||
<noinclude> | |||
== Usage == | |||
To use this template in articles, you can insert: | |||
<pre> | |||
{{TP | |||
|name= Algorithm Name | |||
|author= Author/Developer Name | |||
|date= Date/Version | |||
|purpose= Purpose of the Algorithm | |||
|input= Description of Input Parameters | |||
|output= Description of Output/Results | |||
|pseudocode= The pseudocode for the algorithm | |||
|complexity= Time or Space Complexity | |||
|dependencies= Dependencies or Requirements | |||
|notes= Any relevant notes | |||
|references= Related articles, books, or papers | |||
}} | |||
</pre> | |||
[[Category:Algorithm Templates]] | |||
</noinclude> |
Revision as of 09:53, 31 August 2023
Usage
To use this template in articles, you can insert:
{{TP |name= Algorithm Name |author= Author/Developer Name |date= Date/Version |purpose= Purpose of the Algorithm |input= Description of Input Parameters |output= Description of Output/Results |pseudocode= The pseudocode for the algorithm |complexity= Time or Space Complexity |dependencies= Dependencies or Requirements |notes= Any relevant notes |references= Related articles, books, or papers }}