Jump to content

Template:Text tile: Difference between revisions

From Resco's Wiki
No edit summary
Tag: Manual revert
Line 19: Line 19:


== CODE ==
== CODE ==
</noinclude>{| style="background-color: {{{bc|#F7F7F7}}}; width: {{{w|300}}}px; height: {{{h|100}}}px; display: inline-table; margin: 0 10px 10px 0; "
</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>
| style="text-align: center; color: {{{fc|Blue}}} !IMPORTANT; font-size: {{{fs|16px}}}; line-height: 1.2;" | '''{{{1|Lorem ipsum}}}'''
|}
</span>

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