Difference between revisions of "Template:Infobox religious building/affil-id-to-democell"

From blackwiki
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
+
  Cell with bg-color & color number
 
-->&thinsp;#{{{rgb|}}}&nbsp;</div><!--
 
-->&thinsp;#{{{rgb|}}}&nbsp;</div><!--
 
-->||<!--
 
-->||<!--
  
  cell with hue number (0-360)
+
  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}};"><!--
  
 
-->&thinsp;{{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}}}}}}&thinsp;</div><!--
 
-->&thinsp;{{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}}}}}}&thinsp;</div><!--
 
not used, testing
 
-xxx-> /{{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}}/<!--
 
 
-xxx-><br>1. {{RGBparse|rgb={{{rgb|}}}|c=R|number=dec}}<br>2. {{RGBparse|rgb={{{rgb|}}}|c=G|number=dec}}<br>3. {{RGBparse|rgb={{{rgb|}}}|c=B|number=dec}} ({{{rgb|}}})<!--
 
NO test-compare-live now
 
-xxx->{{!}}{{!}}<!--
 
-xxx-><div style="{{replace|1=background-color:{{Infobox religious building/color/sandbox|1={{{1|}}}}}|2=#|3=&#x23;}}"><!--
 
-xxx->&nbsp;{{replace|1={{Infobox religious building/color/sandbox|1={{{1|}}}}}|2=#|3=&#x23;}}&nbsp;</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

Template documentation[view] [edit] [history] [purge]

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 #)
{{Infobox religious building/affil/testcases}}