Help:SBP FIT
From Tetherless World Wiki
Contents |
Description
| Help:SBP FIT | Template:SBP FIT |
- description: Overall Introduction of SBP FIT.
- module: SBP FIT
- version: SBP 0.2
- status: unstable
- author: Li Ding
SBP FIT refers to Foundation Information Templates for content generation on SMW . We currently focus on a few templates for generating and rendering semantic content at the same time.
Install
1. we require the following wiki extensions
2. copy wiki pages in either way
- copy and paste the all pages in the Category:SBP FIT
- import the packaged file Image:Template.fit.xml.zip (require sysop privilege)
Quick Introduction
FIT offers some convenient templates for people to work on SMW.
Add Structured Annotation Using fit.tag
example (a bullet list)
- editor: Li Ding
- date lastmodified: 2008-11-30
source code
{{fit.tag|editor|Li Ding}}
{{fit.tag|date lastmodified|2008-11-30}}
Build Infobox Using fit.section
Example: an Infobox (see the table float to the right)
| Infobox - Software | |
| Section 1 | |
| title | SBP FIT |
| Section 2 | |
| editor | Li Ding |
| date lastmodified | 2008-11-30
|
source code
<!--
-->{{fit.section |mode=begin |width=20em |float=right}}<!--
-->{{fit.section |text=Infobox - Software |background=#99F |format=tr}}<!--
-->{{fit.section |text=Section 1 |format=tr}}<!--
-->{{fit.tag|title|{{PAGENAME}} |format=tr}}<!--
-->{{fit.section |text=Section 2 |format=tr}}<!--
-->{{fit.tag|editor|Li Ding |format=tr}}<!--
-->{{fit.tag|date lastmodified|2008-11-30 |format=tr}}<!--
// this row does not show because relation is not known
-->{{fit.tag|relation|{{{relation|}}}|format=tr}}<!--
-->
{{fit.section |mode=end }}<!--
-->
More to Read
We have built 5 help pages which serves as the manual for the template.
Since SMW does not generate semantic annotation for Templates by default, only help pages will show up in the following list:
| Author | Version | Status | Description | |
|---|---|---|---|---|
| Fit.sbp | Li Ding | SBP 0.2 | unstable | Annotate SBP Wiki Pages |
| Fit.section | Li Ding | SBP 0.2 | unstable | Print the begin,end, row of a section in table format |
| Fit.tag | Li Ding | SBP 0.2 | unstable | Add semantic tag (triple/triples) to a wiki page with display option |
| Fit.vbar | Li Ding | SBP 0.2 | stable | Print a vertical bar character. Typically used in the argument section of a template call. |
| SBP FIT | Li Ding | SBP 0.2 | unstable | Overall Introduction of SBP FIT. |
