Jump to content

Template:ASST/weight/doc

From Wikinews, the free news source you can write!

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]

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]

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}}.