Difference between revisions of "Template:Zcls"

From Complexity Zoo
Jump to navigation Jump to search
m (1 revision: Complexity zoo import.)
 
(No difference)

Latest revision as of 03:10, 18 November 2012


Template Documentation

Provides a compact and robust way of linking to complexity classes.

Parameters

Order/Name Description
1 Starting letter under which the complexity class is to be filed. Provided to allow for classes like ⊕P to be filed correctly. If the starting letter is a symbol, then the word symbols.
2 ID given to the class within its page.
3 (optional) Specifies the text to be used in the link.

Example

Code Renders As
{{zcls|n|np}} NP
{{zcls|p|ppcc|PP<sup>cc</sup>}} PPcc
{{zcls|symbols|parityp|⊕P}} ⊕P


Raw Template

[[Complexity Zoo:{{{1}}}#{{{2}}}|{{{2}}}]]