Template:Color sample: Difference between revisions
Jump to navigation
Jump to search
Extractum11 (talk | contribs) For previewing dyes |
Extractum11 (talk | contribs) Added a bit of documentation |
||
| Line 1: | Line 1: | ||
<span style="display:inline-block; width:2em; height:2em; border:2px solid {{{border|black}}}; background:{{{1}}};" title="{{{2}}}"> </span><noinclude> | <span style="display:inline-block; width:2em; height:2em; border:2px solid {{{border|black}}}; background:{{{1}}};" title="{{{2}}}"> </span><noinclude> | ||
==Parameters== | |||
;{{{1}}} | |||
:Chooses the color of the box. | |||
;{{{2}}} | |||
:Changes the title of the box (will display on hover). | |||
==Examples== | |||
<pre> | |||
{{Color sample|#0000FF|Blue}} | |||
</pre> | |||
{{Color sample|#0000FF|Blue}} | |||
<pre> | |||
{{Color sample|#25FE2F|Random description}} | |||
</pre> | |||
{{Color sample|#25FE2F|Random description}} | |||
</noinclude> | </noinclude> | ||
Revision as of 03:52, 19 January 2016
Parameters
- {{{1}}}
- Chooses the color of the box.
- {{{2}}}
- Changes the title of the box (will display on hover).
Examples
{{Color sample|#0000FF|Blue}}
{{Color sample|#25FE2F|Random description}}