This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.
Template:Tl/documentation: Difference between revisions
imported>Electron m moved Template:S/documentation to Template:Tl/documentation: integration |
imported>Electron sm. |
||
| Line 10: | Line 10: | ||
=== Usage === | === Usage === | ||
<pre>{{ | <pre>{{tl|template name}}</pre> | ||
gives: | gives: | ||
{{ | {{tl|template name}} | ||
Also, you can add up to 5 parameters to it: | Also, you can add up to 5 parameters to it: | ||
<pre>{{ | <pre>{{tl|template name|first|second|third|fourth|fifth}}</pre> | ||
gives the effect: {{ | gives the effect: {{tl|template name|first|second|third|fourth|fifth}} | ||
If the arguments will contain an equals sign, they should be given in a special way: | If the arguments will contain an equals sign, they should be given in a special way: | ||
<pre>{{ | <pre>{{tl|szablon|2=this=something|3=that=something|4=ble=bla}}</pre> | ||
What gives the result: {{ | What gives the result: {{tl|szablon|2=this=something|3=that=something|4=ble=bla}} | ||
| Line 33: | Line 33: | ||
=== Sposób użycia === | === Sposób użycia === | ||
<pre>{{ | <pre>{{tl|template name}}</pre> | ||
pokazuje się jako: | pokazuje się jako: | ||
{{ | {{tl|nazwa szablonu}} | ||
Można też podać do 5 argumentów dla szablonu: | Można też podać do 5 argumentów dla szablonu: | ||
<pre>{{ | <pre>{{tl|nazwa szablonu|pierwszy|drugi|trzeci|czwarty|piąty}}</pre> | ||
Efekt: {{ | Efekt: {{tl|nazwa szablonu|pierwszy|drugi|trzeci|czwarty|piąty}} | ||
Jeśli argumenty będą zawierały znak równości, należy je podać w specjalny sposób: | Jeśli argumenty będą zawierały znak równości, należy je podać w specjalny sposób: | ||
<pre>{{ | <pre>{{tl|szablon|2=to=coś|3=tamto=inny|4=ble=bla}}</pre> | ||
Co da wynik: {{ | Co da wynik: {{tl|szablon|2=to=coś|3=tamto=inny|4=ble=bla}} | ||
<includeonly> | <includeonly> | ||
[[Category:Templates for Polish section|{{PAGENAME}}]] | [[Category:Templates for Polish section|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
Revision as of 15:56, 20 February 2013
Documentation
This template can be used to show links to templates.
In English
Usage
{{tl|template name}}
gives: {{template name}}
Also, you can add up to 5 parameters to it:
{{tl|template name|first|second|third|fourth|fifth}}
gives the effect: {{template name|first|second|third|fourth|fifth}}
If the arguments will contain an equals sign, they should be given in a special way:
{{tl|szablon|2=this=something|3=that=something|4=ble=bla}}
What gives the result: {{szablon|this=something|that=something|ble=bla}}
In Polish
Dokumentacja
Szablon służy do wyświetlania linków do szablonów.
Sposób użycia
{{tl|template name}}
pokazuje się jako: {{nazwa szablonu}}
Można też podać do 5 argumentów dla szablonu:
{{tl|nazwa szablonu|pierwszy|drugi|trzeci|czwarty|piąty}}
Efekt: {{nazwa szablonu|pierwszy|drugi|trzeci|czwarty|piąty}}
Jeśli argumenty będą zawierały znak równości, należy je podać w specjalny sposób:
{{tl|szablon|2=to=coś|3=tamto=inny|4=ble=bla}}
Co da wynik: {{szablon|to=coś|tamto=inny|ble=bla}}