Jump to content

Template:Text tile: Difference between revisions

From Resco's Wiki
No edit summary
Line 12: Line 12:
{{Text tile|Hello world.}}
{{Text tile|Hello world.}}
{{Text tile|[[Resco Power Components|Power Components]]|w=130|h=130|bc=#AA11FF|fc=White|fs=25px}}
{{Text tile|[[Resco Power Components|Power Components]]|w=130|h=130|bc=#AA11FF|fc=White|fs=25px}}
{{Text tile|[[Mobile Solutions]]|w=130|h=130|bc=#AA11FF|fc=White|fs=25px}}
{{Text tile|[[Mobile Solutions]]|w=130|h=130|bc=#00FFFF|fc=White|fs=25px}}
{{Text tile|Another text|w=130|h=130|bc=#AA11FF|fc=White|fs=25px}}
{{Text tile|Another text|w=130|h=130|bc=Pink|fc=White|fs=25px}}


== CATEGORIZATION ==
== CATEGORIZATION ==
Line 19: Line 19:


== CODE ==
== CODE ==
</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>
</noinclude><div style="display: inline-block; background-color: {{{bc|#F7F7F7}}}; width: {{{w|300}}}px; height: {{{h|100}}}px; "><div class="clickablecell2" 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:25, 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