Template:Sbp.print.length

From Semantic Portal Wiki

Jump to: navigation, search

Description

Help:Sbp.print.length Template:Sbp.print.length
  • description: Print a string with a length limit, replace extra text with '...'
  • module: Help:SMW FIT
  • version: 0.1
  • status: unstable
  • author: Li Ding

Usage

{{sbp.print.length
 |TEXT  # the text to be processed {{{1}}}
 |length= # The max length limit of the TEXT. 
            Allowed values: integer
                0 (do not show)
                positive integer (with length limit)
                negative integer or value not assigned (no limit)
  }}
}}


Personal tools
Semantic Web Community
Tetherless World constellation
maintenance