Changes

Jump to: navigation, search

Recycled WikiContent

295 bytes added, 09:31, 19 December 2019
m
Insert reference commands for transclude & substitute
However, too many templates create a filing mess. An alternative to ripping out a potentially re-useable chunk of text occurs when the original document has only a single re-useable subsection. In that case, you can mark off the desirable subsection and use the original page like a template.
The following subsection under the divider bar is a [https://www.mediawiki.org/wiki/Transclusion Transclusion] (''transcribed inclusion'') from the [[Gramps_5.1_Wiki_Manual_-_Preface|Gramps 5.1 Wiki Manual - Preface]] page. (The <onlyinclude>...</onlyinclude> tags were added the original page around the re-useable subsection.)
It remains 'transcluded' with a single line:
<nowiki>{{:Gramps_5.1_Wiki_Manual_-_Preface}}</nowiki>
 
But all that same content could just as easily been duplicated (like a a 'copy&amp;paste') with the line:
<nowiki>{{subst:Gramps_5.1_Wiki_Manual_-_Preface}}</nowiki>
----
{{:Gramps_5.1_Wiki_Manual_-_Preface}}
<!--
4,608
edits

Navigation menu