Difference between revisions of "Template:Font"
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | no description | Unknown | optional |
| no description | Unknown | optional | |
| Font | font | type of font | String | optional |
| size | size size | Size for the font in px
| Unknown | optional |
| color | color colour | color for the font | String | optional |
| Bgcolor | bgcolor | background color for font | String | optional |
| Title | title | no description | Unknown | optional |
| Css | css | no description | Unknown | optional |
| Text | text | no description | Unknown | optional |