« Meta elements (variable) » : différence entre les versions

De Semantic MediaWiki - Sandbox

m (Kghbln moved page MetaTags to Meta elements (variable) without leaving a redirect: namechg)
m (Remplacement de texte — « Semantic MetaTags » par « Semantic Meta Tags »)
 
(Une version intermédiaire par le même utilisateur non affichée)
Ligne 1 : Ligne 1 :
For the given settings on this wiki:
For the given setting on this wiki:


<syntaxhighlight lang="php">
<syntaxhighlight lang="php">
$smtgTagsProperties = array(
$smtgTagsProperties = array(
         'keywords' => 'Meta-element keywords',
         'keywords' => 'Meta element keywords',
         'description' => 'Meta-element description'
         'description' => 'Meta element description'
);
);
</syntaxhighlight>
</syntaxhighlight>
Ligne 10 : Ligne 10 :
The following annotations are to generate additional meta elements:
The following annotations are to generate additional meta elements:
<syntaxhighlight lang="text" enclose="div">
<syntaxhighlight lang="text" enclose="div">
[[Meta-element keywords::SMW Project]], [[Meta-element keywords::Semantic MediaWiki]], [[Meta-element keywords::scratchpad]], [[Meta-element keywords::sandbox]], [[Meta-element keywords::testsite]]
[[Meta element keywords::SMW Project]], [[Meta element keywords::Semantic MediaWiki]], [[Meta element keywords::scratchpad]], [[Meta element keywords::sandbox]], [[Meta element keywords::testsite]]
</syntaxhighlight>
</syntaxhighlight>
[[Meta-element keywords::SMW Project]],[[Meta-element keywords::Semantic MediaWiki]], [[Meta-element keywords::scratchpad]], [[Meta-element keywords::sandbox]], [[Meta-element keywords::testsite]]
[[Meta element keywords::SMW Project]],[[Meta element keywords::Semantic MediaWiki]], [[Meta element keywords::scratchpad]], [[Meta element keywords::sandbox]], [[Meta element keywords::testsite]]
<syntaxhighlight lang="text" enclose="div">
<syntaxhighlight lang="text" enclose="div">
[[Meta-element description::This is the sandbox wiki of the SMW Project and allows you to carry out edit experiments with the software.]]
[[Meta element description::This is the sandbox wiki of the SMW Project and allows you to carry out edit experiments with the software.]]
</syntaxhighlight>
</syntaxhighlight>
[[Meta-element description::This is the sandbox wiki of the SMW Project and allows you to carry out edit experiments with the software.]]
[[Meta element description::This is the sandbox wiki of the SMW Project and allows you to carry out edit experiments with the software.]]


[[Category:Semantic MetaTags example]]
[[Category:Semantic Meta Tags example]]

Dernière version du 8 octobre 2020 à 10:30

For the given setting on this wiki:

$smtgTagsProperties = array(
        'keywords' => 'Meta element keywords',
        'description' => 'Meta element description'
);

The following annotations are to generate additional meta elements:

[[Meta element keywords::SMW Project]], [[Meta element keywords::Semantic MediaWiki]], [[Meta element keywords::scratchpad]], [[Meta element keywords::sandbox]], [[Meta element keywords::testsite]]

SMW Project,Semantic MediaWiki, scratchpad, sandbox, testsite

[[Meta element description::This is the sandbox wiki of the SMW Project and allows you to carry out edit experiments with the software.]]

This is the sandbox wiki of the SMW Project and allows you to carry out edit experiments with the software.

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.