Plugin Article
This wiki plugin, available since Tiki1, includes an article field in a wiki page. To include many, use PluginArticles instead.
Parameters
Display a field of an articleIntroduced in Tiki 1.
Go to the source code
Preferences required: feature_articles, wikiplugin_article
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
Field |
word | The article field (component) to display. The default field is "Heading". | heading | 1 |
Id |
digits | The article to display. If no value is provided, the most recent article will be used. | 1 |
Available Fields
The plugin now supports displaying any of the following article fields:
- Title - Article title
- Heading - Article heading/subtitle
- Body - Main article content
- Topline - Top line text
- Subtitle - Article subtitle
- Author Name - Author's display name
- Author - Author's username
- Publication Date - When the article was published
- Rating - Article rating
- Topic Name - The topic/category name
- Type - Article type
- Language - Article language
Examples
Let's say you wish to display the contents of an article with the Id of 10 from your site (http://doc.tiki.org/art10 taken as example) inside a Wiki page. Simply, include this type of code in your page:
Title
This code:
{article Id="10" Field="title"}
would produce on this site:
Documentation Status Page Updated to new tagging system
Heading
This code:
{article Id="10" Field="heading"}
would produce on this site:

Body
This code:
{article Id="10" Field="body"}
would produce on this site:
Over that last several weeks, we've moved the Documentation Status page to a new system. We're now using backlinks to index to show pages that need attention. We've created a new Documentation Lifecycle document that explains the new status tags, and a How To Tag reference page that will show you how to use tags to help documents move to final production status. This idea was conceived and created by mlpvolt, and dthacker pitched on the supporting documents. Please take a few moments to review these documents and start applying tags as you find opportunities to improve the docs. If you have any questions, please drop me an internal message or catch me on irc. Thanks for your help.
Author Name
This code:
{article Id="10" Field="authorName"}
would produce on this site:
dthacker
Publication Date
This code:
{article Id="10" Field="publishDate"}
would produce on this site:
Topic Name
This code:
{article Id="10" Field="topicName"}
would produce on this site:
Help Wanted
Rating
This code:
{article Id="10" Field="rating"}
would produce on this site:
7.00
Language
This code:
{article Id="10" Field="lang"}
would produce on this site:
en
Type
This code:
{article Id="10" Field="type"}
would produce on this site:
Article
Topline
This code:
{article Id="10" Field="topline"}
would produce on this site:
Subtitle
This code:
{article Id="10" Field="subtitle"}
would produce on this site:
Author
This code:
{article Id="10" Field="author"}
would produce on this site:
marclaporte