Template:ASST/weight/doc
< Template:ASST | weight
This is a documentation subpage for Template:ASST/weight (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
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
editSpecify 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
editThis 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}}.