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

Free texts and images.
Jump to navigation Jump to search
imported>Electron
imported>Electron
sm.
Line 10: Line 10:


=== Usage ===
=== Usage ===
<pre>{{s|template name}}</pre>
<pre>{{tl|template name}}</pre>


gives:  
gives:  
{{s|template name}}
{{tl|template name}}


Also, you can add up to 5 parameters to it:
Also, you can add up to 5 parameters to it:


<pre>{{s|template name|first|second|third|fourth|fifth}}</pre>
<pre>{{tl|template name|first|second|third|fourth|fifth}}</pre>


gives the effect: {{s|template name|first|second|third|fourth|fifth}}
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>{{s|szablon|2=this=something|3=that=something|4=ble=bla}}</pre>
<pre>{{tl|szablon|2=this=something|3=that=something|4=ble=bla}}</pre>


What gives the result: {{s|szablon|2=this=something|3=that=something|4=ble=bla}}
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>{{s|template name}}</pre>
<pre>{{tl|template name}}</pre>


pokazuje się jako:  
pokazuje się jako:  
{{s|nazwa szablonu}}
{{tl|nazwa szablonu}}


Można też podać do 5 argumentów dla szablonu:
Można też podać do 5 argumentów dla szablonu:


<pre>{{s|nazwa szablonu|pierwszy|drugi|trzeci|czwarty|piąty}}</pre>
<pre>{{tl|nazwa szablonu|pierwszy|drugi|trzeci|czwarty|piąty}}</pre>


Efekt: {{s|nazwa szablonu|pierwszy|drugi|trzeci|czwarty|piąty}}
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>{{s|szablon|2=to=coś|3=tamto=inny|4=ble=bla}}</pre>
<pre>{{tl|szablon|2=to=coś|3=tamto=inny|4=ble=bla}}</pre>


Co da wynik: {{s|szablon|2=to=coś|3=tamto=inny|4=ble=bla}}
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}}