Template:Tlx ਪੰਜਾਬੀ/doc
{{tlx ਪੰਜਾਬੀ|template|first parameter|second|third|fourth|etc}}
becomes → {{template|first parameter|second|third|fourth|etc}}
Purpose and naming: Mnemonically 'Template list expanded'... named after {{tl}}
'Template list'
ਵਰਤੋਂ
edit- {{Tlx ਪੰਜਾਬੀ/doc|template name}}
- {{Tlx ਪੰਜਾਬੀ/doc|template name|param}}
- {{Tlx ਪੰਜਾਬੀ/doc|template name|param=value}}
- This template takes a template-name and up to 128 optional number of associated parameters (or 'pass parameters'), and aggregates them into an 'example demonstration' of how the template might be used. It's primary use is in instruction and documentation such as this passage.
- Additionally, tlx ਪੰਜਾਬੀ can be used to demonstrate templates on other sister projects.
- If more than 128 associated parameters are given the remainder will be truncated to "...".
ਉਦਾਹਰਨਾਂ
editMarkup | Displays | Remarks |
---|---|---|
{{tlx ਪੰਜਾਬੀ|tlx ਪੰਜਾਬੀ}}
|
{{tlx ਪੰਜਾਬੀ}}
|
|
{{tlx ਪੰਜਾਬੀ|tlx ਪੰਜਾਬੀ|SISTER=w:}}
|
{{tlx ਪੰਜਾਬੀ}}
|
= won't work |
{{tlx ਪੰਜਾਬੀ|tlx ਪੰਜਾਬੀ|1|2|3|4}}
|
{{tlx ਪੰਜਾਬੀ|1|2|3|4}}
|
you can use | to get around the 128 limitation |
{{tlx ਪੰਜਾਬੀ|tlx ਪੰਜਾਬੀ|1|2|3
|
{{tlx ਪੰਜਾਬੀ|1|2|3|4}}
|
{{!}} also works
|
{{tlx ਪੰਜਾਬੀ|tlx ਪੰਜਾਬੀ|SISTER=w:}}
|
{{tlx ਪੰਜਾਬੀ|SISTER=w:}}
|
you can use = to display named parameters |
{{tlx ਪੰਜਾਬੀ|tlx ਪੰਜਾਬੀ|<nowiki>SISTER=w:</nowiki>}}
|
{{tlx ਪੰਜਾਬੀ|SISTER=w:}}
|
sticky nowiki also works |
{{tlx ਪੰਜਾਬੀ|tlx ਪੰਜਾਬੀ| |two}}
|
{{tlx ਪੰਜਾਬੀ|two}}
|
empty parameters work |
{{tlx ਪੰਜਾਬੀ|tlx ਪੰਜਾਬੀ|2=one|two}}
|
{{tlx ਪੰਜਾਬੀ|two}}
|
two clobbers 2=one |
{{tlx ਪੰਜਾਬੀ|tlx ਪੰਜਾਬੀ|3=two|2=one}}
|
{{tlx ਪੰਜਾਬੀ|one|two}}
|
right to left okay |
ਇਹ ਵੀ ਦੇਖੋ
edit
|