Difference between revisions of "Template:Nobold/doc"
Jump to navigation
Jump to search
(Shamelessly copied from wikipedia.org) |
(Fixed to deal with the lack of TemplateStyles on the SL Wiki) |
||
Line 1: | Line 1: | ||
<noinclude>{{documentation subpage}}</noinclude> | <noinclude>{{documentation subpage}}</noinclude> | ||
{<!--{COinS safe|n}}--> | {<!--{COinS safe|n}}--> | ||
{{High-risk|155,000+}} | <!--{{High-risk|155,000+}} | ||
{{Uses TemplateStyles|Template:Nobold/styles.css}} | {{Uses TemplateStyles|Template:Nobold/styles.css}}--> | ||
: <code><nowiki>{{nobold|</nowiki>''text-string''}}</code> | : <code><nowiki>{{nobold|</nowiki>''text-string''}}</code> | ||
To display text (''text-string'') at normal font-weight within a context where the default font-weight is '''bold''', e.g. header cells in tables. | To display text (''text-string'') at normal font-weight within a context where the default font-weight is '''bold''', e.g. header cells in tables. | ||
Line 8: | Line 8: | ||
==TemplateData== | ==TemplateData== | ||
{{TemplateData header}} | {{TemplateData header}} | ||
<templatedata> | <!--<templatedata>--> | ||
<syntaxhighlight lang="JSON"> | |||
{ | { | ||
"params": { | "params": { | ||
Line 20: | Line 21: | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata> | </syntaxhighlight> | ||
<!--</templatedata>--> | |||
==See also== | ==See also== | ||
* [[Template:No selflink]] (prevents selflinks from bolding, something this template does not do) | * [[Template:No selflink]] (prevents selflinks from bolding, something this template does not do) |
Revision as of 02:30, 17 September 2022
This is a documentation subpage for Template:Nobold. It contains usage information, categories and other content or metadata that is not part of the original template. |
{
{{nobold|text-string}}
To display text (text-string) at normal font-weight within a context where the default font-weight is bold, e.g. header cells in tables.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Nobold
{
"params": {
"1": {
"label": "Input text",
"description": "Text to present not bolded",
"type": "string",
"required": true
}
},
"format": "inline"
}
See also
- Template:No selflink (prevents selflinks from bolding, something this template does not do)
- Template:Noitalic
- Template:Nocaps