« Meta elements (variable) » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications |
m (Remplacement de texte — « Semantic MetaTags » par « Semantic Meta Tags ») |
||
(6 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
For the given | For the given setting on this wiki: | ||
< | <syntaxhighlight lang="php"> | ||
$smtgTagsProperties = array( | $smtgTagsProperties = array( | ||
'keywords' => 'Meta | 'keywords' => 'Meta element keywords', | ||
'description' => 'Meta | 'description' => 'Meta element description' | ||
); | ); | ||
</ | </syntaxhighlight> | ||
The following annotations are to generate additional | The following annotations are to generate additional meta elements: | ||
< | <syntaxhighlight lang="text" enclose="div"> | ||
[[Meta | [[Meta element keywords::SMW Project]], [[Meta element keywords::Semantic MediaWiki]], [[Meta element keywords::scratchpad]], [[Meta element keywords::sandbox]], [[Meta element keywords::testsite]] | ||
</ | </syntaxhighlight> | ||
[[Meta | [[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"> | ||
[[Meta | [[Meta element description::This is the sandbox wiki of the SMW Project and allows you to carry out edit experiments with the software.]] | ||
</ | </syntaxhighlight> | ||
[[Meta | [[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 | [[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.