Template:ASST/weight/doc
Appearance
< Template:ASST | weight
This is a documentation subpage for Template:ASST/weight It may contain 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
[edit source]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
[edit source]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}}.