Difference between revisions of "Template:Font"

From Open Educational Resources
Jump to navigation Jump to search
(Created page with "<includeonly><span style="font-family:{{ {{{|safesubst:}}}#if: {{{font|}}} |{{{font}}}|sans-serif}};font-size:{{ {{{|safesubst:}}}#if: {{{size|}}} |{{{size}}}|100%}};color:{{...")
 
 
Line 1: Line 1:
 
<includeonly><span style="font-family:{{ {{{|safesubst:}}}#if: {{{font|}}} |{{{font}}}|sans-serif}};font-size:{{ {{{|safesubst:}}}#if: {{{size|}}} |{{{size}}}|100%}};color:{{ {{{|safesubst:}}}#if: {{{color|}}} |{{{color}}}|black}};background-color:{{ {{{|safesubst:}}}#if: {{{bgcolor|}}} |{{{bgcolor}}}|transparent}};{{ {{{|safesubst:}}}#if: {{{title|}}} |title:{{{title}}}|}};{{ {{{|safesubst:}}}#if: {{{css|}}} |{{{css}}}|}}">{{ {{{|safesubst:}}}#if: {{{1|}}} |{{{1}}}|{{{text}}}}}</span></includeonly>
 
<includeonly><span style="font-family:{{ {{{|safesubst:}}}#if: {{{font|}}} |{{{font}}}|sans-serif}};font-size:{{ {{{|safesubst:}}}#if: {{{size|}}} |{{{size}}}|100%}};color:{{ {{{|safesubst:}}}#if: {{{color|}}} |{{{color}}}|black}};background-color:{{ {{{|safesubst:}}}#if: {{{bgcolor|}}} |{{{bgcolor}}}|transparent}};{{ {{{|safesubst:}}}#if: {{{title|}}} |title:{{{title}}}|}};{{ {{{|safesubst:}}}#if: {{{css|}}} |{{{css}}}|}}">{{ {{{|safesubst:}}}#if: {{{1|}}} |{{{1}}}|{{{text}}}}}</span></includeonly>
 +
<noinclude>
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {},
 +
"": {},
 +
"font": {
 +
"description": "type of font",
 +
"type": "string"
 +
},
 +
"size": {
 +
"aliases": [
 +
"size"
 +
],
 +
"label": "size",
 +
"description": "Size for the font in px",
 +
"example": "20px"
 +
},
 +
"color": {
 +
"aliases": [
 +
"colour"
 +
],
 +
"label": "color",
 +
"description": "color for the font",
 +
"type": "string"
 +
},
 +
"bgcolor": {
 +
"description": "background color for font",
 +
"type": "string"
 +
},
 +
"title": {},
 +
"css": {},
 +
"text": {}
 +
}
 +
}
 +
</templatedata>
 +
</noinclude>

Latest revision as of 14:56, 28 February 2017


No description.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional

no description

Unknownoptional
Fontfont

type of font

Stringoptional
sizesize size

Size for the font in px

Example
20px
Unknownoptional
colorcolor colour

color for the font

Stringoptional
Bgcolorbgcolor

background color for font

Stringoptional
Titletitle

no description

Unknownoptional
Csscss

no description

Unknownoptional
Texttext

no description

Unknownoptional