« 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: | ||
< | <syntaxhighlight lang="php"> | ||
$smtgTagsProperties = array( | $smtgTagsProperties = array( | ||
'keywords' => 'Meta-element keywords', | 'keywords' => 'Meta-element keywords', | ||
'description' => 'Meta-element description' | 'description' => 'Meta-element description' | ||
); | ); | ||
</ | </syntaxhighlight> | ||
The following annotations are to generate additional | The following annotations are to generate additional meta elements: | ||
< | <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]] | ||
</ | </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"> | ||
[[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> | ||
[[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.]]