ผลต่างระหว่างรุ่นของ "แม่แบบ:Str ≥ len/doc"

เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Antelope (คุย | ส่วนร่วม)
หน้าใหม่: {{Documentation subpage}} {{high-risk| 140,000+ }} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|str ≥ len}} meta-template...
 
ไม่มีความย่อการแก้ไข
 
บรรทัด 1:
{{Documentation subpage}}
{{high-risk| 140,000+ }}
{{lua|Module:String}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
เส้น 55 ⟶ 56:
<pre>
{{str ≥ len
| 1 = A string, 0-500 characters long.
| 2 = 0A - 500length
| 3 = Data to return/render when "longer than or equally long".
| 4 = Data to return/render when "shorter than".
เส้น 62 ⟶ 63:
</pre>
 
Empty or undefined strings are considered to be of 0 length. Strings longer than 500 are not truncated to 500.
 
Length values below 0 are considered to be 0. Length values above 500 are considered to be 500.
 
Thus a string of 500 length or more are always considered to be "longer than or equally long", no matter what length value it is compared with.
 
=== Technical details ===
เส้น 77 ⟶ 76:
=== See also ===
 
{{navbox string templateshandling see alsotemplates}}
 
<includeonly>
เส้น 83 ⟶ 82:
[[Category:String manipulation templates|{{PAGENAME}}]]
 
[[de:Vorlage:Str ≥ len]]
[[es:Plantilla:Str ≥ len]]
[[id:Templat:Str ≥ len]]
[[ja:Template:Str ≥ len]]
[[ka:თარგი:Str ≥ len]]
[[ko:틀:Str ≥ len]]
[[pt:Predefinição:Str ≥ len]]
[[ru:Шаблон:Str ≥ len]]
[[simple:Template:Str ≤ len]]
[[sl:Predloga:Str ≥ len]]
[[ur:Template:Str ≥ len]]
</includeonly>