Template:Code2
This template is equivalent to {{Code}}, but with different default values, namely {{{preset||2}}}. Both templates accept the same parameters.
This means that {{Code|preset=2|Text}} is equivalent to {{Code2|Text}}
, but longer.
Example | Preview |
---|---|
{{Code|Hello World!}}
|
Hello World!
|
{{Code2|Hello World!}}
|
Hello World!
|