Template:Code/doc

From Zoophilia Wiki
Jump to navigationJump to search

{{Documentation subpage bar, const std::vector<long double*>& baz);}} iscode |lang=javascript |code=var }}

Included templates

Embedded templates do not function as expected inside {{code}}; for longer, free-form blocks of code, whichwrapper instead of this template.

Templates used inside {{code}} expose the rendered HTML— this can be useful. For example:

Markup Renders as
{{code|
{{cite web |title=Title |url=http://example.org}}
}}

<syntaxhighlight lang="text" class="" id="" style="" inline="1"> "Title". </syntaxhighlight>

The above example shows the HTML rendered by the citation template, including the hidden metadata.

See also