Difference between revisions of "Template:newin (Русский)/sandbox/doc"

(Użycie)
Line 1: Line 1:
 
<noinclude>{{documentation subpage}}</noinclude>
 
<noinclude>{{documentation subpage}}</noinclude>
Ten szablon jest używany przy elementach dodanych w nowych wersjach.
+
This template is used on things that are added in newer versions.
  
== Użycie ==
+
== Usage ==
{{newin_(Русский)/sandbox|Link do wersji czytelnej dla ludzi|wersja w wewnętrznym formacie (liczba)|type=opcjonalny typ dodanego elementu|plural=opcjonalnie jeśli liczba mnoga|text=dodatkowy tekst do pokazania}}
+
<pre>
 +
{{newin|Human-friendly version number|Machine-friendly version number|type=optional type of thing added|text=optional text to display}}
 +
</pre>
  
== Argumenty ==
+
== Parameters ==
 
; 1
 
; 1
: Czytelny link z numerem wersji, n.p. "<nowiki>[[0.10.0 (Русский)|0.10.0]]</nowiki>".
+
: A readable version number, like "0.8.0".
 
; 2
 
; 2
: Numer wersji w wewnętrznym formacie, n.p. "110" (dla wersji love 11.0).
+
: A machine-readable version number, like "080".
 
; type
 
; type
: Służy do wyspecyfikowania co zostało dodane.
+
: If you'd like, you can specify what it is that has been added.
: Zazwyczaj pole to powinno zawierać: <code>function</code>, <code>type</code> lub <code>variant</code>.
+
: This should usually be "function", "type" or "variant".
:: Tylko typy: <code>callback</code>, <code>enum</code>, <code>function</code>, <code>module</code> lub <code>type</code>
+
:: Only types that are set to callback, enum, function, module or type will
:: będą miały ustawione parametry ?Since i ?PrettySince .
+
:: set their ?Since and ?PrettySince parameters.
; plural
 
: true jeśli liczba mnoga
 
 
; text
 
; text
: Wyświetl tekst inny niż standardowy.
+
: Bring out the big guns, and display a totally different text.
  
== Zobacz również==
+
== See also ==
* [[Template:oldin (Русский)|oldin]]
+
* [[Template:oldin|oldin]]
 +
 
 +
[[Category:Templates_documentation]]
 +
[[Category:Templates]]

Revision as of 10:22, 28 January 2020

This template is used on things that are added in newer versions.

Usage

{{newin|Human-friendly version number|Machine-friendly version number|type=optional type of thing added|text=optional text to display}}

Parameters

1
A readable version number, like "0.8.0".
2
A machine-readable version number, like "080".
type
If you'd like, you can specify what it is that has been added.
This should usually be "function", "type" or "variant".
Only types that are set to callback, enum, function, module or type will
set their ?Since and ?PrettySince parameters.
text
Bring out the big guns, and display a totally different text.

See also