Difference between revisions of "Template:Infobox religious building/affil-id-to-democell"
Jump to navigation
Jump to search
imported>DePiep |
imported>DePiep |
||
Line 1: | Line 1: | ||
<div style="background:#{{{rgb|}}}"><!-- | <div style="background:#{{{rgb|}}}"><!-- | ||
− | + | Cell with bg-color & color number | |
--> #{{{rgb|}}} </div><!-- | --> #{{{rgb|}}} </div><!-- | ||
-->||<!-- | -->||<!-- | ||
− | + | Cell with hue number (0-360) | |
--><div style="background-color:#{{HSVtoHEX|{{RGBtoHSL.H|1={{RGBparse|rgb={{{rgb|}}}|c=R|number=dec}}/100 |2={{RGBparse|rgb={{{rgb|}}}|c=G|number=dec}}/100 |3={{RGBparse|rgb={{{rgb|}}}|c=B|number=dec}}/100}}|2=1|3=1}};"><!-- | --><div style="background-color:#{{HSVtoHEX|{{RGBtoHSL.H|1={{RGBparse|rgb={{{rgb|}}}|c=R|number=dec}}/100 |2={{RGBparse|rgb={{{rgb|}}}|c=G|number=dec}}/100 |3={{RGBparse|rgb={{{rgb|}}}|c=B|number=dec}}/100}}|2=1|3=1}};"><!-- | ||
--> {{val|1={{RGBtoHSL.H|1={{RGBparse|rgb={{{rgb|}}}|c=R|number=dec}}|2={{RGBparse|rgb={{{rgb|}}}|c=G|number=dec}}|3={{RGBparse|rgb={{{rgb|}}}|c=B|number=dec}}}}}} </div><!-- | --> {{val|1={{RGBtoHSL.H|1={{RGBparse|rgb={{{rgb|}}}|c=R|number=dec}}|2={{RGBparse|rgb={{{rgb|}}}|c=G|number=dec}}|3={{RGBparse|rgb={{{rgb|}}}|c=B|number=dec}}}}}} </div><!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
--><noinclude>{{documentation}}</noinclude> | --><noinclude>{{documentation}}</noinclude> |
Revision as of 09:04, 29 March 2019
#
||<div style="background-color:#expressionerror: Unexpected < operator.expressionerror: Unrecognized punctuation character "[".expressionerror: Unexpected < operator.expressionerror: Unrecognized punctuation character "[".expressionerror: Unexpected < operator.expressionerror: Unrecognized punctuation character "[".;"> Template:Val
This template produces wikitable code for two cells (two columns): color demo as background, and the hue (0–360°):
{| |- {{Infobox religious building/affil-id-to-democell|rgb=EBB0DE}} |}
#EBB0DE |
<div style="background-color:#expressionerror: Unexpected < operator.expressionerror: Unrecognized punctuation character "[".expressionerror: Unexpected < operator.expressionerror: Unrecognized punctuation character "[".expressionerror: Unexpected < operator.expressionerror: Unrecognized punctuation character "[".;"> Template:Val |
<div style="background:#EBB0DE"> #EBB0DE </div>||<div style="background-color:#FF00C6;"> <span class="nowrap"><span data-sort-value="7002313200000000000♠"></span>313.2</span> </div>
Usage
|rgb=EBB0DE
(no #)
The above documentation is transcluded from Template:Infobox religious building/affil-id-to-democell/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |