Différences entre versions de « Help/Transclusion »
De Rich Annotator System
(Page créée avec « '''Transclusion''' is the inclusion of the content of a document into another document by reference. ====Syntax==== If the source is a template, just use the name itself,… ») |
|||
| Ligne 6 : | Ligne 6 : | ||
* <code><nowiki>{{Image}}</nowiki></code> (See [[Help/Image pages|Image pages]]) | * <code><nowiki>{{Image}}</nowiki></code> (See [[Help/Image pages|Image pages]]) | ||
| − | If the source is in not a template, a colon (<code>:</code>) must be added in front of the name. | + | If the source is in not a template, a colon (<code>:</code>) must be added in front of the name. This is the case when you assemble [[Help/Texts#Full_text_divided_into_multiple_parts|multiple parts]] of a full text into one page. For example, the page [[Du côté de chez Swann/Texte intégral]] assemble three pages: <nowiki>{{Du côté de chez Swann/Partie 1}}, {{Du côté de chez Swann/Partie 2}} and {{Du côté de chez Swann/Partie 3}}</nowiki>. |
| + | |||
Version du 3 novembre 2020 à 10:07
Transclusion is the inclusion of the content of a document into another document by reference.
Syntax
If the source is a template, just use the name itself, alone:
{{Infobox-fr}}or{{Infobox-hu}}(See Texts and Authors){{Image}}(See Image pages)
If the source is in not a template, a colon (:) must be added in front of the name. This is the case when you assemble multiple parts of a full text into one page. For example, the page Du côté de chez Swann/Texte intégral assemble three pages: {{Du côté de chez Swann/Partie 1}}, {{Du côté de chez Swann/Partie 2}} and {{Du côté de chez Swann/Partie 3}}.