Template:WikilogTemplate2: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
This template will list all items that you could include in a Wikilog template: | This template will list all items that you could include in a Wikilog template: | ||
Sytax of use: | ;Sytax of use: | ||
:<nowiki>{{Special:Wikilog/Blog:_blogname_;Template:_Wikilogtemplate2_;5}}</nowiki> | |||
;Arguments | |||
:_blogname_ = Name of your Blog | |||
:_Wikilogtemplate_ = Name of the template | |||
:5 = number of items to display | |||
: | ;Additional hints | ||
: | : You can use the <nowiki><summary>...</summary></nowiki> to define what goes into the body of the entry. By default (as of v. 0.7.0) this extension will take all text before a title "==...==" or else the full text. | ||
: | : In my Wiki (MW 1.14), using this template after titles will include extra gibberish in the rendering of titles and the TOC. So use it before or use HTML tags. (this seems to be a little bug) | ||
: Install this template for testing :) | |||
The template "includeonly" code has been defined as follows (look at the source): | The template "includeonly" code has been defined as follows (look at the source): |
Revision as of 13:22, 26 June 2009
This template allows to include blog entries from a wikilog (bliki).
This template will list all items that you could include in a Wikilog template:
- Sytax of use
- {{Special:Wikilog/Blog:_blogname_;Template:_Wikilogtemplate2_;5}}
- Arguments
- _blogname_ = Name of your Blog
- _Wikilogtemplate_ = Name of the template
- 5 = number of items to display
- Additional hints
- You can use the <summary>...</summary> to define what goes into the body of the entry. By default (as of v. 0.7.0) this extension will take all text before a title "==...==" or else the full text.
- In my Wiki (MW 1.14), using this template after titles will include extra gibberish in the rendering of titles and the TOC. So use it before or use HTML tags. (this seems to be a little bug)
- Install this template for testing :)
The template "includeonly" code has been defined as follows (look at the source):
[[{{{page}}}|'''{{{title}}}''']] <ul> <li>'class' = {{{class}}}</li> <li>'wikilogTitle' = {{{wikilogTitle}}}</li> <li>'wikilogPage' = {{{wikilogPage}}}</li> <li>'title' = {{{title}}}</li> <li>'page' = {{{page}}}</li> <li>'authors' = {{{authors}}}</li> <li>'tags' = {{{tags}}}</li> <li>'published' = {{{published}}}</li> <li>'pubdate' = {{{pubdate}}}</li> <li>'updated' = {{{updated}}}</li> <li>'summary' = {{{summary}}}</li> <li>'comments' = {{{comments}}}</li> </ul> <hr />