Template:GlobalFlag: Difference between revisions

From Ephinea PSO Wiki
m (Undo revision 10769 by Twilight (talk))
Tag: Undo
(Template rewrite)
Line 19: Line 19:
{{#if:{{{fhex|}}}|
{{#if:{{{fhex|}}}|
<tr>
<tr>
<th style="text-align: left;"><div style="display: inline;" align="left">Flag (Hex)</div><div style="float: right;">:</div></th>
<th style="text-align: left;"><div style="display: inline;" align="left">Flag {{Note|Clicking a hexadecimal value will reveal its decimal value, if necessary.|(Hex)}}</div><div style="float: right;">:</div></th>
<td style="text-align: right;">{{{fhex}}}</td>
<td style="text-align: right;">{{{fhex}}}</td>
</tr>
}}
{{#if:{{{fdec|}}}|
<tr>
<th style="text-align: left;"><div style="display: inline;" align="left">Flag (Dec)</div><div style="float: right;">:</div></th>
<td style="text-align: right;">{{{fdec}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{bmhex|}}}|
{{#if:{{{bmhex|}}}|
<tr>
<tr>
<th style="text-align: left;"><div style="display: inline;" align="left">Bitmask (Hex)</div><div style="float: right;">:</div></th>
<th style="text-align: left;"><div style="display: inline;" align="left">Bitmask {{Note|Clicking a hexadecimal value will reveal its decimal value, if necessary.|(Hex)}}</div><div style="float: right;">:</div></th>
<td style="text-align: right;">{{{bmhex}}}</td>
<td style="text-align: right;">{{{bmhex}}}</td>
</tr>
}}
{{#if:{{{bmdec|}}}|
<tr>
<th style="text-align: left;"><div style="display: inline;" align="left">Bitmask (Dec)</div><div style="float: right;">:</div></th>
<td style="text-align: right;">{{{bmdec}}}</td>
</tr>}}</table></table><noinclude>
</tr>}}</table></table><noinclude>
==Usage and Example==
==Usage and Example==
Line 46: Line 34:
|type = Currency
|type = Currency
|max = 100
|max = 100
|fhex = B
|fhex = {{Note|Flag (Dec): 11|B}}
|fdec = 11
|bmhex = {{Note|Bitmask (Dec): 508|000001FC}}
|bmhex = 000001FC
|bmdec = 508
}}
}}
</pre>
</pre>
<br>
{{GlobalFlag
{{GlobalFlag
|title = Lucky Coins
|title = Lucky Coins
|type = Currency
|type = Currency
|max = 100
|max = 100
|fhex = B
|fhex = {{Note|Flag (Dec): 11|B}}
|fdec = 11
|bmhex = {{Note|Bitmask (Dec): 508|000001FC}}
|bmhex = 000001FC
|bmdec = 508
}}
}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 19:40, 21 December 2021

GlobalFlag

Usage and Example

{{GlobalFlag
|title = Lucky Coins
|type = Currency
|max = 100
|fhex = {{Note|Flag (Dec): 11|B}}
|bmhex = {{Note|Bitmask (Dec): 508|000001FC}}
}}
Lucky Coins
Type
:
Currency
Max Amount
:
100
Flag (Hex)
:
B
Bitmask (Hex)
:
000001FC