Changes
From Open Educational Resources
566 bytes added
, 14:56, 28 February 2017
| 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> |