Help:F.print.section
From Semantic Portal Wiki
| Help:F.print.section | Template:F.print.section |
- author: Li Ding
- version: 0.2
- description: Print the begin,end, row of a section in table format
- lastmodified: 9 September 2009 19:56:27
- package: help:smwbp_foundation_templates
IMPORTANT NOTICE:
- This set of templates are created by Li Ding .
- for current version: go to http://tw.rpi.edu/portal/Help:F.print.section
Contents |
Usage
syntax
{{f.print.section
|format= 'tr' or other
|mode= 'begin', 'end', 'sub'
|text= the text of subtitle, only valid when mode= 'sub'
|text-align= only valid when mode= 'sub', 'begin'
|background= only valid when mode= 'sub', 'begin'
|width= only valid when mode= 'begin'
|float= only valid when mode= 'begin'
}}
Examples
List in section using default option "format=ul"
<!--
-->{{f.print.section |mode=begin }}<!--
-->{{f.print.section |text=Section 1 }}<!--
-->{{f.tag |test property|test page }}<!--
-->{{f.tag |test property|test page }}<!--
-->{{f.print.section |text=Section 2 }}<!--
-->{{f.tag |test property|test page }}<!--
-->{{f.tag |test property|test page }}<!--
-->{{f.print.section |text=Section 3 }}<!--
-->{{f.print.section |text=Section 4 }}<!--
-->{{f.print.section |mode=end }}<!--
-->
| Section 1 |
| Section 2 |
| Section 3 |
| Section 4 |
section using "format=tr"
<!--
-->{{f.print.section |mode=begin }}<!--
-->{{f.print.section |text=Section 1 |format=tr }}<!--
-->{{f.tag |test property|test page |format=tr }}<!--
-->{{f.tag |test property|test page |format=tr }}<!--
-->{{f.print.section |text=Section 2 |format=tr }}<!--
-->{{f.tag |test property|test page |format=tr }}<!--
-->{{f.tag |test property|test page |format=tr }}<!--
-->{{f.print.section |text=Section 3 |format=tr }}<!--
-->{{f.print.section |text=Section 4 |format=tr }}<!--
-->{{f.print.section |mode=end }}<!--
-->
| Section 1 | |
| test property | test page |
| test property | test page |
| Section 2 | |
| test property | test page |
| test property | test page |
| Section 3 | |
| Section 4 | |
section using "format=tr", "float=right", "width=20em"
<!--
-->{{f.print.section |mode=begin |float=right |width=20em}}<!--
-->{{f.print.section |text=Section 1 |format=tr }}<!--
-->{{f.tag |test property|test page |format=tr }}<!--
-->{{f.tag |test property|test page |format=tr }}<!--
-->{{f.print.section |mode=end }}<!--
-->
| Section 1 | |
| test property | test page |
| test property | test page |
Infobox (tips)
{{f.print.section |mode=begin |format=tr |float=right |width=20em }}
{{f.print.section |format=tr |background=#CCF |text=
<!-- title begin -->
'''Persons'''
<!-- title end --> }}
{{f.print.section |format=tr |background=#EEE; |text-align=left |text=
<!-- content begin -->
{{#ask: [[Category:Person]][[:+]] |format=ul |limit=3}}
* Other Person 1
* Other Person 2
<!-- content end--> }}
{{f.print.section |mode=end |format=tr }}
| Persons
| |
|
Text Box (width=100%)
{{f.print.section |mode=begin |format=tr |float=right |width=100% }}
{{f.print.section |format=tr |background=#CCF |text-align=left |text=
'''Persons'''
}}
{{f.print.section |format=tr |background=#EEE; |text-align=left |text=
{{#ask: [[Category:Person]][[:+]] |format=ul |limit=3}}
----
* Other Person 1
* Other Person 2
}}
{{f.print.section |mode=end |format=tr}}
| Persons
| |
|
Facts about F.print.sectionRDF feed
| Author | Li Ding + |
| Description | Print the begin,end, row of a section in table format |
| Lastmodified | 9 September 2009 19:56:27 + |
| Package | Smwbp foundation templates + |
| Test property | Test page + |
| Version | 0.2 + |

