Différences entre les versions de « Transclusion »
De Semantic MediaWiki - Sandbox
Ligne 5 : | Ligne 5 : | ||
Demo some transclusions: | Demo some transclusions: | ||
* Normal transclusion from [[semantic-mw:Help:Embedded_format]] (Interwiki disabled): {{semantic-mw:Help:Embedded_format}} | * Normal transclusion from [[semantic-mw:Help:Embedded_format]] (Interwiki disabled): {{semantic-mw:Help:Embedded_format}} | ||
− | * Normal transclusion from [[London]]: {{:London}} | + | <!--* Normal transclusion from [[London]]: {{:London}} --> |
− | + | * Transclusion with "embedded" format: {{#ask:[[London]]|format=embedded|embedonly=yes|default=No result!}} | |
[[Category:Sandbox]] | [[Category:Sandbox]] |
Version du 8 janvier 2016 à 15:47
Transclusion in MediaWiki refers to template transclusion and subpage transclusion. In SemanticMediaWiki, transclusion can be done with display format "embedded" on query results.
Demo some transclusions:
- Normal transclusion from semantic-mw:Help:Embedded_format (Interwiki disabled): {{semantic-mw:Help:Embedded_format}}
- Transclusion with "embedded" format: London is the capital city of England and of the United Kingdom. It is located in England. As of 2010, the total resident population of London was estimated 8 673 713. Greater London covers an area of 1,706.80 km²659,013 sqmi <br />1 706 800 m² <br />421 759,497 acre <br />1 687 037,816 rood <br /> and has the coordinates 51° 30' 26.40" N, 0° 7' 39.66" W. It rains on 145 days per year on average.