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

De Semantic MediaWiki - Sandbox

(chg)
(chg)
Ligne 1 : Ligne 1 :
For the given settings on this wiki:
For the given settings on this wiki:


<pre>
<syntaxhighlight lang="php">
$smtgTagsProperties = array(
$smtgTagsProperties = array(
         'keywords' => 'Meta-element keywords',
         'keywords' => 'Meta-element keywords',
         'description' => 'Meta-element description'
         'description' => 'Meta-element description'
);
);
</pre>
</syntaxhighlight>


The following annotations are to generate additional metatags:
The following annotations are to generate additional meta elements:
<pre>
<syntaxhighlight lang="text">
[[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]]
</pre>
</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]]
<pre>
<syntaxhighlight lang="text">
[[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.]]
</pre>
</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 MetaTags example]]

Version du 25 octobre 2015 à 01:16

For the given settings 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.