| Extension | |
|---|---|
| Nom | JO's Models |
| Joomla Extension |
|
| Github |
|
| Download |
|
This plugin allows you to use "models" in the same way as on Mediawiki, Subpage templates can be instantiated with parameters.
Model configuration:
The first thing is to create a model
- Go to the Component Menu JO Models/Models
- click on New

- fill in the name fields
- indicate the type
- Full => the model will be of the form <model:name parameters>content</model:name>
- Normal => the model will be of the form <model:name parameters>
- fill in the content of the template e.g.:
- Parameters are of the form %{parameter_name} they are replaced at inclusion in an article.
- It is also possible to have a default value: Example:
%{date|29/11/24}
Then we'll use it in an article
ex:
{model:jdate date="28/12/24"}
Examples:
| {model:bracket} | { | ||
| {model:img |src=images/joomla/components/com_attachments.gif|width=50px} | ![]() |
||
| {model:intralink |link=/actualites|text= News} |
|
||
| {model:weblink |link=https://www.lemonde.fr/|text=Le Monde} | |
||
| {model:file |file=test.txt} | |
||
| {model:info}this is information{/model:info}} |
|
||
| {model:warning}this is information{/model:warning}} |
|
||
| {model:readmorewiki |article=Rational_Clearcase|text=Rational Clearcase} | Lire la suite... Rational Clearcase | ||
| {model:wikilink |link=Rational_Clearcase|text=Rational Clearcase} |
|
||
| {model:githublink |link=jmcameron/attachments|text=attachments} | |
||
| {model:jdate |date=28/12/24} | |||
| {model: extension name=JO's Models|link=authoring-a-content/content-construction/jo-s-models/|githublink=JLTRY/jomodels|githubdownload=JLTRY/jomodels/releases/download/v1.0.3/jomodels-1.0.3.zip} | See above |

