This high-risk template is indefinitely protected from editing to prevent vandalism.

Template:ASST/weight

From Wikibooks, open books for an open world
Jump to navigation Jump to search

{{{1}}}

Template documentation[view] [edit] [history] [purge]

This subtemplate of {{ASST}} uses an option to decide whether to put given text in boldface. Meant to be used at option by other templates, not just by {{ASST}} and its subtemplates.

Usage

Specify the string as unnamed parameter. Specify non-blank parameter bold to put the string in boldface.

This template can be substituted (via subst:) as well as transcluded.

Internals

This is a convenient way to use a parameter to determine whether or not to bold something, without writing the whole markup twice, {{#if:{{{bold|}}}|'''...stuff...'''|...stuff...}}.

At this writing, this template is not used by {{ASST}} or any of its (other) subtemplates; though it is used by some templates that also use {{ASST}}.