Mlink-rodrigue (talk | contribs)
Created page with "PageExcerpts allows users to reuse content from any wiki page on another wiki page. == Define page excerpts == A page excerpt is created on a page with the Content droplet '''Include page excerpt'''. {{ContentDropletSelect|excerpt|Select the "Insert page excerpt" Content droplet.}} This inserts a container for a page excerpt. Next, you can edit the excerpt: # Select the inserted excerpt and provide a mandatory name. # Add your content into the excerpt. Add additio..."
 
Mlink-rodrigue (talk | contribs)
No edit summary
 
Line 2: Line 2:


== Define page excerpts ==
== Define page excerpts ==
A page excerpt is created on a page with the Content droplet '''Include page excerpt'''.  
A page excerpt is created on a page with the Content droplet P'''age excerpt'''.  


{{ContentDropletSelect|excerpt|Select the "Insert page excerpt" Content droplet.}}
{{ContentDropletSelect|excerpt|Select the "Page excerpt" Content droplet.}}


This inserts a container for a page excerpt. Next, you can edit the excerpt:
This inserts a container for a page excerpt. Next, you can edit the excerpt:
Line 11: Line 11:
# Add your content into the excerpt.
# Add your content into the excerpt.


Add additional excerpts with unique names on this page as needed.
Add additional excerpts with unique names on this page as needed.  


{{Textbox|boxtype=note|header=Hidden excerpts:|text=If you mark an excerpt as hidden, it will not appear in view mode of the excerpt page or the page that includes the excerpt.|icon=yes}}
{{Textbox|boxtype=note|header=Hide excerpts:|text=If you mark an excerpt as "hidden", it will not appear in view mode of the excerpt page or the page that includes the excerpt.|icon=yes}}
 
== Complex excerpts ==
 
If excerpts contain more than just wikitext, you can switch to source edit mode, to move the start and end tags of your excerpt.
 
# Insert the '''Page excerpt''' Content droplet where you want to start the excerpt and give it a name.
# Switch to source edit mode.
# Locate the tags <code><nowiki><excerpt-block name="myexcerpt" hidden="false"></excerpt-block></nowiki></code>. Move the end tag <code><nowiki></excerpt-block></nowiki></code>  where the excerpt should end.


== Adding existing page excerpts to a page ==
== Adding existing page excerpts to a page ==

Latest revision as of 11:00, 23 November 2026

PageExcerpts allows users to reuse content from any wiki page on another wiki page.

Define page excerpts

A page excerpt is created on a page with the Content droplet Page excerpt.


Content droplets menu
Selecting a Content droplet
  1. Open the Content droplets menu.
  2. Search for "excerpt". Select the "Page excerpt" Content droplet.
  3. Insert the Content droplet on the page.

This inserts a container for a page excerpt. Next, you can edit the excerpt:

  1. Select the inserted excerpt and provide a mandatory name.
  2. Add your content into the excerpt.

Add additional excerpts with unique names on this page as needed.

Hide excerpts:If you mark an excerpt as "hidden", it will not appear in view mode of the excerpt page or the page that includes the excerpt.


Complex excerpts

If excerpts contain more than just wikitext, you can switch to source edit mode, to move the start and end tags of your excerpt.

  1. Insert the Page excerpt Content droplet where you want to start the excerpt and give it a name.
  2. Switch to source edit mode.
  3. Locate the tags <excerpt-block name="myexcerpt" hidden="false"></excerpt-block>. Move the end tag </excerpt-block> where the excerpt should end.

Adding existing page excerpts to a page

  1. In the Content droplets menu, search for "excerpt".
  2. Select Include page excerpt.
  3. Enter the page name where the excerpt is defined.
  4. Provide the excerpt name.
  5. Click Done. If you activate Show panel, the excerpt will be shown with its panel name and border.