För att be om redigering av rättigheter på Wiki, klicka här.

Mall:Tlsp/doc

Från FamilySearch Wiki
Hoppa till navigering Hoppa till sök

<img class="FCK__MWIncludeonly" src="spacer.gif" _fckfakelement="true" _fckrealelement="8" _fck_mw_includeonly="true">

[[Kategori:Mall dokumentation<img class="FCK__MWNoinclude" src="spacer.gif" _fckfakelement="true" _fckrealelement="7" _fck_mw_noinclude="true">]]<img class="FCK__MWIncludeonly" src="spacer.gif" _fckfakelement="true" _fckrealelement="6" _fck_mw_includeonly="true"><img class="FCK__MWNoinclude" src="spacer.gif" _fckfakelement="true" _fckrealelement="5" _fck_mw_noinclude="true">

{{Tlsp/doc}} is used in template lists. Unlike {{Tlp}} it includes "ers". Till skillnad från {{Tls}} tillåter den att specificera en prameter. These features are hints how to use the specified template.

Usage[redigera wikitext]

Up to five placeholders for parameters of the specified template name
{{Tlsp/doc|template name}}
{{Tlsp/doc|template name|param}}
{{Tlsp/doc|template name|1|2|3|4|5}}
{{Tlsp/doc|template name|param&#61;value}}
For templates supporting optional substitution just add subst=subst:
{{Tlsp/doc|template name|1|2|3|subst=subst:}}

Example[redigera wikitext]

Code Result
{{tlsp|template}} {{ers:template}}
{{tlsp|template|1st|2nd|3rd|4th|5th}} {{ers:template|1st|2nd|3rd|4th|5th}}
{{tlsp|template|param&#61;value}} {{ers:template|param=value}}
{{tlsp|template|1|2|3&#124;okay}} {{ers:template|1|2|3|okay}}
{{tlsp|template|1|2|3|4|5|too many}} {{ers:template|1|2|3|4|5}}Mall:Error
{{tlsp|template|1|2|3|4|5|subst=subst:}} {{ers:template|1|2|3|4|5}}

For similar examples see Tlx.

Comparison[redigera wikitext]

Code Result
{{tl|x0}} {{x0}}
{{tlp|x1|param}} {{x1|param}}
{{tls|x0}} {{subst:x0}}
{{tlsp|x3|1st|2nd|3rd|4th|5th}} {{ers:x3|1st|2nd|3rd|4th|5th}}
{{tlu|template:x3|1st|2nd|3rd}}   Mall:Tlu
{{tlx|x3|1st|2nd|3rd}} {{x3|1st|2nd|3rd}}


See also[redigera wikitext]