Difference between revisions of "Template:Nobold/doc"

From Second Life Wiki
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

{

{{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 "Wikipedia logo"TemplateData for this template used by TemplateWizard, "Wikipedia logo"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