Template:Trim/doc: Difference between revisions

Template page
(Adding tr.)
No edit summary
Line 1: Line 1:
{{Documentation subpage}}
<includeonly>{{Languages|Template:Trim}}</includeonly>{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
<templatedata>
<templatedata>

Revision as of 06:05, 29 May 2021

{{#invoke:Message box|mbox}} <templatedata> { "description": { "en": "This template returns its parameter without leading or trailing whitespace. It’s primarily for other templates to remove unwanted whitespace passed around an unnamed parameter (named parameters are automatically trimmed by MediaWiki).", "tr": "Bu şablon parametresini başında veya sonunda boşluk olmadan döndürür. Adsız bir parametrenin etrafına aktarılan istenmeyen beyaz boşlukları kaldırmak öncelikle diğer şablonlar içindir (adlandırılmış parametreler MediaWiki tarafından otomatik olarak kırpılır)." }, "format": "inline", "params": { "1": { "label": { "en": "Parameter", "tr": "Parametre" }, "description": { "en": "The parameter to trim.", "tr": "Kırpılacak parametre." }, "required": true, "type": "content" } } } </templatedata>

Usage

{{trim| {{{1}}} }}