7.mw-parser-output .documentation,.mw-parser-output .documentation-metadata{border:1px solid var(--border-color-base,#a2a9b1);background-color:#ecfcf4;color:inh…
7
The Template:Strlen_quick gives the length of parameter 1, as a text string, with a count of 0-80 characters, using a simple, quick method. This markup template was designed to run quickly and use only 5 levels of MediaWiki expansion depth, rather than 9-13 or more levels as in other string-length templates.
The optional parameter "extra= -1" can be used to return a specific value when a text string exceeds the 80-character limit. The default result is -1 to indicate a string longer than 80 characters.
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.