Template:TNIHR: Difference between revisions

From EarthMC
Jump to navigation Jump to search
(Test template)
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{size|{{{2|}}}}}}|<span style="display:inline-block; position:relative; vertical-align:middle; width:{{#expr: {{{size|{{{2|16}}}}}}}}px; height:{{#expr: {{{size|{{{2|16}}}}}}}}px; border:{{#expr: {{{size|{{{2|16}}}}}} * 3 / 16}}px solid #{{#switch: {{{1}}}|1=00d4aa|2=ff0000|2A=ff0000|2B=ff0000|3=7f2aff|3A=7f2aff|4=ff7f2a|4A=ff7f2a|5=003380|E=b3b3b3|H=b3b3b3|888888}}; border-radius:20%; background:white; text-align:center; color:black; font-weight:Bold; font-size:{{#expr: {{{size|{{{2|16}}}}}} * 5 / 8}}px;"><span style="position: absolute; white-space:nowrap; width:{{#expr: {{{size|{{{2|16}}}}}}}}px; height:{{#expr: {{{size|{{{2|16}}}}}} * 5 / 8}}px; line-height:{{#expr: {{{size|{{{2|16}}}}}} * 5 / 8}}px; top:{{#expr: {{{size|{{{2|16}}}}}} * 16 / 3}}px; left:0; text-align:center;">{{{1|?}}}</span></span>}}
<span style="display:inline-block; position:relative; vertical-align:middle; width:16px; height:16px; border:3px solid #{{#switch: {{{1}}}|BC=FF0000|BK=88A700|UZ=008CB0|TJ=006600|LD=00D4AA|DA=5AA02C|GJ=FF6600|MV=FFCC00|LH=AA0044|HC=214478|EV=D7E3F4|NC=AA00D4|CB=FF5599|AR=00CCFF|888888}}; border-radius:20%; background:{{#switch: {{{1}}}|AR=#006680|white}}; text-align:center; color:{{#switch: {{{1}}}|AR=white|black}}; font-weight:Bold; font-size:10px;"><span style="position: absolute; white-space:nowrap; width:16px; height:10px; line-height:10px; top:3px; left:0; text-align:center;">{{{1|?}}}</span></span>

Latest revision as of 15:37, 30 March 2025

?