Help:Using LST: Difference between revisions

From P2P Foundation
Jump to navigation Jump to search
m (moved P2P Foundation Wiki LST to Help:Using LST: moving to help)
(Blanked the page)
 
Line 1: Line 1:
LST = Labeled Section Transclusion.  LST is an extension installed on this wiki.  It allows wiki editors to re-use important sections of pages within other pages.


You can read the details about the extension here: http://www.mediawiki.org/wiki/Extension:Labeled_Section_Transclusion
Basically, you add special markup to the original page.  Let's say we edit [[Transparency]] and write a section on Transparency in a P2P Politics.  We label it thusly:
<pre><nowiki><section begin=P2PPolitics />chapter content on Transparency and P2P Politics<section end=P2PPolitcs /></nowiki></pre>
Now, if you are on a different page and want to include this section on Transparency in Politics you can do the following:
<pre><nowiki>{{#lst:Transparency|TransparencyP2PPolitics}}</nowiki></pre>
Now you can see an example of the transcluded section from the [[Transparency]] page here:
{{#lst:Transparency|TransparencyP2PPolitics}}
You can choose whatever name you like for the sections, and, the more logical the name the more orderly your future editing tasks will be.
For example, this is labeled "P2PPolitics" because it is in the page [[Transparency]] and deals with a [[P2P Network]] model in the subject of Politics.
Naming Convention:
*P2P Persective (Peer (Individual Holon), P2P (Network Holon), and CS (Linking Systems, Collaboration Systems, Internsubjective Subsystems)
*Subject/Concept
This should work for the bulk of the pages on the wiki, as most such article sections will be embedded within one subject like Transparency, and then transcluded to more complex articles like P2P Politics.
==Easy Template for Including Sections==
You can use an easy template to include sections once they are created:
<pre><nowiki>
{{section|1|2}}
</nowiki></pre>
# is the page name
# is the section name
Here's what it looks like completed:
<pre><nowiki>
{{section|Transparency|Intro}}
</nowiki></pre>
This will tell the wiki to look at the [[Transparency]] page and fetch the "Intro" section.
For more information visit [[Template:Section]].
[[Category:P2P Foundation Wiki How-To]]

Latest revision as of 10:13, 13 February 2017