Template:Text tile: Difference between revisions
Appearance
| Line 19: | Line 19: | ||
== CODE == | == CODE == | ||
</noinclude><div style="display: inline-flex; background-color: {{{bc|#F7F7F7}}}; width: {{{w|300}}}px; height: {{{h|100}}}px; | </noinclude><div class="clickablecell2" style="display: inline-flex; background-color: {{{bc|#F7F7F7}}}; width: {{{w|300}}}px; height: {{{h|100}}}px; text-align: center; color: {{{fc|Blue}}} !IMPORTANT; font-size: {{{fs|16px}}}; line-height: 1.2;">'''{{{1|Main Page}}}'''</div></div> | ||
Revision as of 12:59, 6 June 2024
Text tile with color.
USAGE
{{Text tile| ''text'' | w= | h= | bc= | fc= | fs=}}
- text is any text.
- w and h are dimensions in pixels; for example,
|w=100 - bc and fc are colors; background and text; for example,
|bc=#AA11FF|fc=White - fs is font size; for example,
|fs=25px
EXAMPLES
CATEGORIZATION
This template belongs to Category:Templates.
CODE
Main Page