Template:Sbp.smw.link
From Semantic Portal Wiki
Description
| Help:Sbp.smw.link | Template:Sbp.smw.link |
- description: Print a SMW annotation with length limit .
- module: Help:SMW FIT
- version: 0.1
- status: unstable
- author: Li Ding
Usage:
{{sbp.smw.link
|p= # property
|v= # value
|v_label= # customized label for value
|length= # length of displayed link. 0: do not show, default: show all
}}
will print a SMW link
[[<p>::<v>|<v_label> or <v>]]
and if p is empty and v has 'Category:' as prefix, add type declaration
[[<v>]]

