| Pagewidget format | |
|---|---|
| Widget for embedded page content | |
| Collection | |
| Further Information | |
| Provided by: | Extension "Semantic Result Formats" |
| Added: | 1.8.0 |
| Removed: | still supported |
| Requirements: | none |
| Format name: | pagewidget |
| Enabled? Indicates whether the result format is enabled by default upon installation of the respective extension. | yes |
| Authors: | James Hong Kong |
| Categories: | misc |
| Table of Contents | |
A widget that generates a navigation control on embedded page content allowing for grained control as to which embedded content is being displayed (much like that of a slideshow or PowerPoint/Impress presentation).
Parameters[edit]
| Parameter | Type | Default | Description |
|---|---|---|---|
| embedformat | text | ul | The HTML tag used to define headings |
| embedonly | yes/no | no | Display no headings |
| class | text | empty | Specify an additional cascading style sheet class |
| widget | text | carousel | Available widget |
Usage[edit]
{{#ask: ...
|format=pagewidget
|link=all
|embedformat=ul
|widget=carousel
}}
Styling[edit]
Styling can be influenced using the class parameter and some examples below will demonstrate on how a "normal" wiki page can be transformed into a presentation platform.
.smw-presentation .slide h1 {
color: #006699;
font-size: 38px;
...
}
Source[edit]
If you want to hide the page source in your presentation, you need to change the following setting to:
... |embedonly=1 ...
[edit]
Both mouse and right/left arrow key navigation are supported.
Examples[edit]
Example presentation
- Jeroen De Dauw/Single Responsibility Principle
- Jeroen De Dauw/Static: The S in STUPID
- SMWCon Fall 2012/Developing SMW (extensions)/Presentation
- SMWCon Fall 2012/Improvements in SQLStore3/Presentation
- SMWCon Fall 2012/New features in Semantic Result Formats/Presentation
- SMWCon Fall 2012/Semantic-MediaWiki.org/Presentation
- SMWCon Spring 2013/Semantic Result Formats/Presentation
This documentation page applies to all SMW versions from 1.8.0 to the most current version.