Template:Text tile: Difference between revisions
Appearance
No edit summary Tag: Manual revert |
|||
| Line 19: | Line 19: | ||
== CODE == | == CODE == | ||
</noinclude> | </noinclude><div style="display: flex;margin:.5em; background-color: {{{bc|#F7F7F7}}}; width: {{{w|300}}}px; height: {{{h|100}}}px; "><div class="clickablecell" style="text-align: center; color: {{{fc|Blue}}} !IMPORTANT; font-size: {{{fs|16px}}}; line-height: 1.2;">{{{1|Main Page}}}</div></div> | ||
</ | |||
Revision as of 08:16, 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
Hello world.
Another text
CATEGORIZATION
This template belongs to Category:Templates.
CODE
Main Page