Help: Difference between revisions

From RCATs
No edit summary
No edit summary
Line 4: Line 4:
Transclusion
Transclusion


Transclusion adds a section of one page to another page.  
Transclusion adds a section of one page to another page. <syntaxhighlight lang="powershell">
Step1. Add <section begin="chapter1" />this is a chapter 1<section end="chapter1" /> to the beginning and ending of the section you want to transclude.


Step1. Add <code><nowiki><section begin="chapter1" /></nowiki>this is a chapter 1<nowiki><section end="chapter1" /></nowiki></code> to the beggining and ending of the section you want to transclude.
Step2. Add this {{#lst:articleX|chapter1}} to the page that you want the information to show on.
 
</syntaxhighlight>
Step2. Add this <nowiki>{{#lst:articleX|chapter1}}</nowiki> to the page that you want the information to show on.

Revision as of 13:26, 18 May 2023

RCAT's Help Doc

Transclusion

Transclusion adds a section of one page to another page.

Step1. Add <section begin="chapter1" />this is a chapter 1<section end="chapter1" /> to the beginning and ending of the section you want to transclude.

Step2. Add this {{#lst:articleX|chapter1}} to the page that you want the information to show on.