Difference between revisions of "Template:ShortenString"

From FollowTheScore
Jump to: navigation, search
(New page: <noinclude>This shortens strings. ;Usage <pre>{{ShortenString |string = |count = |suffix = }}</pre> ;Example http://de.wikipedia.org/wiki/Mediawiki </noinclude> <includeonly>{{#ifexpr:{{#...)
 
(Replacing page with 'DELETE ME')
 
Line 1: Line 1:
<noinclude>This shortens strings.
+
DELETE ME
;Usage
 
<pre>{{ShortenString
 
|string =
 
|count  =
 
|suffix =
 
}}</pre>
 
;Example
 
http://de.wikipedia.org/wiki/Mediawiki
 
</noinclude>
 
<includeonly>{{#ifexpr:{{#len: {{{string}}} }} > {{#expr:{{{count|25}}}+5}}|{{#sub:{{{string}}}|0|{{{count|25}}}}}{{{suffix|...}}}|{{{string}}}}}</includeonly>
 

Latest revision as of 18:01, 23 July 2009

DELETE ME