{{toc tag=”ul” depth=”3”}}
This web page consists of linked data enabled resources. Each resource has a specific HTML5 representation (besides its RDF representation). This HTML representation is rendered by using a template and fill its variable parts with the content from these sources:
The following attributes and classes are used by the templates.
Currently, there are templates for the following classes of resources:
These properties can be applied to all resources:
In addition to the general properties, these class specific properties can be used:
The suggested markup language to write pages is Markdown. Markdown is a text-to-HTML conversion language for web writers. Markdown is intended to be as easy-to-read and easy-to-write as is feasible.
All details on Markdown syntax are available on the syntax page. Besides its readability, one main advantage of Markdown is its integration with HTML. Wherever you need HTML markup, you can use it without any quote or special syntax as inline HTML. Have a look at the sources of this document to copy/paste specific style elements which you want to reuse, or add new stuff and share it.
The main content of each resource is saved as a Literal object with the attribute [[site:content]]. See the description of this property for details about its usage. In general: All attributes and classes have a proper documentation, so you just need to click on them inside of OntoWiki for more details.
Helper markup is used in the same way as wiki actions.
The general syntax of a helper tag is: {{tagname p1="value1" ... "pX"="valueX"}}
.
The following helper exists so far.
The toc
helper creates an javascript generated table of contents at the position where the helper tag was written.
The following options can be used
tag
: the toc type can be ol
, ul
or div
, default is ol
startlevel
: which heading level to start? default is 1
depth
: how many TOC levels you want? default is 2
Examples (use a single =
instead of ==
):
{{toc depth=="2"}}
The link
helper creates an internal page link to a specific resource.
If you need to link to an aksw.org resource, you should use this helper instead of using plain HTML-links or Markdown link syntax.
Possible parameters are:
literal
: search for this literal and link to its resource (the first found).
l
r
property
: search only for literals of the given property.
p
text
: instead of using the resource title, use the given string as link text.
t
Examples (use a single =
instead of ==
):
{{link uri=="http://aksw.org/About"}}
{{link r=="foaf:Person"}}
{{link literal=="Projects"}}
{{link text=="our projects" literal="Projects"}}
{{link property=="site:menuLabel" literal="About"}}
{{link literal=="MyPage"}}
{{link uri=="no/uri"}}
{{link p=="foaf:nick" l="Seebi" t="my page"}}
There are specific style elements as two column sections or tables which you can add to your documents by using HTML markup.
...
...
second column...
...
Use standard HTML tables with table head and cell tags to achieve a look like this
Tabelle Head | Tabelle Head |
---|---|
Development | methods, tools and applications |
applications | adaptive Knowledge Engineering |
Menus are [[rdf:Seq]] resources of type [[aksw:Navigation]].
The rdf properties rdf:_1
till rdf:_x
are used to arrange an ordererd list of resources which a used to render a navigation menu.
Currently, we have these navigation resources: