« Semantic Title 2 » : différence entre les versions
De Semantic MediaWiki - Sandbox
(chg) |
(chg) |
||
Ligne 1 : | Ligne 1 : | ||
Hit "Edit" to see the wikitext source of this page. | The actual name of this page is "{{PAGENAME}}". Hit "Edit" to see the wikitext source of this page. | ||
<!-- setting the semantic title for the page using in-text annotation --> | |||
[[Has pagetitle::Another example of the Semantic Title extension at work.]] | |||
<!-- make the page sort at T containing this page as the title suggest instead of the name of the page which would sort at S. Also do this automatically using a variable. --> | |||
{{#vardefine: Pagetitle |{{#show: {{PAGENAME}} |?Has pagetitle }} }} | {{#vardefine: Pagetitle |{{#show: {{PAGENAME}} |?Has pagetitle }} }} | ||
Dernière version du 7 novembre 2015 à 00:52
The actual name of this page is "Semantic Title 2". Hit "Edit" to see the wikitext source of this page.
Another example of the Semantic Title extension at work.