Szablon:Decimal to hexadecimal converter/opis: Różnice pomiędzy wersjami

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja nieprzejrzana][wersja przejrzana]
d Utworzył nową stronę „{{doc/start}} This is a simple to use tool for dynamically converting decimal values to hexadecimal values. It outputs in a 6 character hex format and so can take decim...”
 
interwiki i link do podszablonu
 
(Nie pokazano 4 wersji utworzonych przez 3 użytkowników)
Linia 1: Linia 1:
{{doc/start}}
{{Dokumentacja/Nagłówek}}
This is a simple to use tool for dynamically converting decimal values to hexadecimal values. It outputs in a 6 character hex format and so can take decimal numbers up to 16777215. The currently system implemented for truncating preceding 0's allows for outputs in 2, 3, and 6 character hex format based on the imput.
 
=== Code ===
To proste narzędzie dynamicznie konwertuje wartości dziesiętne do szesnastkowych, za pośrednictwem podstrony {{s|Decimal to hexadecimal converter/Switch}}. Na wyjściu daje 6 znaków w formacie szesnastkowym oraz może wziąć dziesiętne liczby do 16777215. Aktualny system implementacji skraca poprzedzające zera na wyjściu.
In full the template code is as follows:
 
=== Kod ===
By użyć, wystarczy wpisać np.:
<pre>
<pre>
{{Decimal to hexadecimal converter|1234}}
{{Decimal to hexadecimal converter|1234}}
</pre>
</pre>
But it is much easier to use it through the redirect dec-hex which allows it to be written out as:
Alias:
<pre>{{Dec-hex|1234}}
<pre>{{Dec-hex|1234}}
</pre>
</pre>
Both of which will output 4D2.
Obydwa dadzą wynik 4D2.
{{doc/end}}
 
<includeonly>
[[Kategoria:Szablony formatujące]]
 
[[cs:Šablona:Decimal to hexadecimal converter]]
[[de:Vorlage:Dezimal zu Hexadezimal]]
[[en:Template:Hexadecimal]]
[[es:Plantilla:Hexadecimal]]
[[fr:Modèle:Dec-hex]]
[[it:Template:Decimal to hexadecimal converter]]
[[ja:テンプレート:Decimal to hexadecimal converter]]
[[ko:틀:Decimal to hexadecimal converter]]
[[lzh:模板:Decimal to hexadecimal converter]]
[[nl:Sjabloon:Decimal to hexadecimal converter]]
[[pt:Predefinição:Decimal to hexadecimal converter]]
[[ru:Шаблон:Шестнадцатеричное значение]]
[[th:แม่แบบ:Decimal to hexadecimal converter]]
[[uk:Шаблон:Decimal to hexadecimal converter]]
[[zh:Template:Decimal to hexadecimal converter]]
</includeonly><noinclude>
[[cs:Šablona:Decimal to hexadecimal converter/doc]]
[[de:Vorlage:Dezimal zu Hexadezimal/Dokumentation]]
[[en:Template:Hexadecimal/doc]]
[[es:Plantilla:Hexadecimal/doc]]
[[fr:Modèle:Dec-hex/doc]]
[[it:Template:Decimal to hexadecimal converter/doc]]
[[ja:テンプレート:Decimal to hexadecimal converter/doc]]
[[ko:틀:Decimal to hexadecimal converter/doc]]
[[lzh:模板:Decimal to hexadecimal converter/doc]]
[[nl:Sjabloon:Decimal to hexadecimal converter/doc]]
[[pt:Predefinição:Decimal to hexadecimal converter/doc]]
[[ru:Шаблон:Шестнадцатеричное значение/док]]
[[th:แม่แบบ:Decimal to hexadecimal converter/doc]]
[[uk:Шаблон:Decimal to hexadecimal converter/док]]
[[zh:Template:Decimal to hexadecimal converter/doc]]
</noinclude>

Aktualna wersja na dzień 19:43, 22 maj 2026

To jest strona dokumentacji, powinna ona być dołączona na stronie głównej. Aby uzyskać więcej informacji sprawdź Szablon:Dokumentacja.

To proste narzędzie dynamicznie konwertuje wartości dziesiętne do szesnastkowych, za pośrednictwem podstrony {{Decimal to hexadecimal converter/Switch}}. Na wyjściu daje 6 znaków w formacie szesnastkowym oraz może wziąć dziesiętne liczby do 16777215. Aktualny system implementacji skraca poprzedzające zera na wyjściu.

Kod[edytuj kod]

By użyć, wystarczy wpisać np.:

{{Decimal to hexadecimal converter|1234}}

Alias:

{{Dec-hex|1234}}

Obydwa dadzą wynik 4D2.