Difference between revisions of "Template:Color sample"
From Project: Gorgon Wiki
Extractum11 (talk | contribs) (For previewing dyes) |
m (Added category.) |
||
| (One intermediate revision by one other user not shown) | |||
| 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). | ||
| − | </noinclude> | + | ==Examples== |
| + | <pre> | ||
| + | {{Color sample|#0000FF|Blue}} | ||
| + | </pre> | ||
| + | |||
| + | {{Color sample|#0000FF|Blue}} | ||
| + | |||
| + | |||
| + | <pre> | ||
| + | {{Color sample|#25FE2F|Random description}} | ||
| + | </pre> | ||
| + | |||
| + | {{Color sample|#25FE2F|Random description}} | ||
| + | |||
| + | |||
| + | [[Category:Formatting templates]]</noinclude> | ||
Latest revision as of 10:20, 18 January 2020
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}}