Template:WikilogTemplate2: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
m (Created page with '<noinclude> This template allows to include blog entries from a wikilog (bliki). Substitute "Blog:_blogname_" by the name of your blog, e.g. ''Blog:DKS'' <nowiki>{{Special:Wiki...')
 
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This template allows to include blog entries from a wikilog (bliki).
This template allows to include blog entries from a wikilog (bliki). It will list all items that you could include with a "Wikilog template".


Substitute "Blog:_blogname_" by the name of your blog, e.g. ''Blog:DKS''
;Sytax of use:
:<nowiki>{{Special:Wikilog/Blog:_blogname_;Template:_Wikilogtemplate2_;5}}</nowiki>


<nowiki>{{Special:Wikilog/Blog:_blogname_;Template:WikilogTemplate1;5}}</nowiki>
;Arguments
:_blogname_ = Name of your Blog, e.g. DKS
:_Wikilogtemplate_ = Name of the template, e.g. BlikiTitlePageTemplate
: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):
<pre>
[[{{{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 />
</pre>
[[Category:Templates]]
</noinclude><includeonly>
</noinclude><includeonly>
<hr />
[[{{{page}}}|'''{{{title}}}''']]
<ul>
<ul>
<li>'class' = {{{class}}}</li>
<li>'class' = {{{class}}}</li>
Line 21: Line 52:
<li>'comments' = {{{comments}}}</li>
<li>'comments' = {{{comments}}}</li>
</ul>
</ul>
<hr />
</includeonly>
</includeonly>

Latest revision as of 16:59, 11 July 2009

This template allows to include blog entries from a wikilog (bliki). It will list all items that you could include with a "Wikilog template".

Sytax of use
{{Special:Wikilog/Blog:_blogname_;Template:_Wikilogtemplate2_;5}}
Arguments
_blogname_ = Name of your Blog, e.g. DKS
_Wikilogtemplate_ = Name of the template, e.g. BlikiTitlePageTemplate
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 />