创建你自己的博客
{{blog}}
In comparison to the
news
action with the blog
action you can create a blog in any namespace you like.To use the blog action, you must have
write
and create
permissions for that predefined namespace.Syntax
{{blog [page=cluster] [mode=latest|week|from] [date=YYYY-MM-DD] [max=Number] [title=1] [noxml=1]}}
It creates blog entries as sub-pages inside the current or predefined namespace and shows them in the blog action.
page
- define the cluster, by default it uses the current namespacemax
- how many posts are showntitle
- 0
shows the original page title, 1
sets modified page title (default)Don't forget to remove the square brackets
[ ]
from the optional parameters when you use them to make it work.